|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface VillagerRegistry.IVillageCreationHandler
Allow access to the StructureVillagePieces array controlling new village
creation so you can insert your own new village pieces
| Method Summary | |
|---|---|
Object |
buildComponent(StructureVillagePieceWeight villagePiece,
ComponentVillageStartPiece startPiece,
List pieces,
Random random,
int p1,
int p2,
int p3,
int p4,
int p5)
Build an instance of the village component StructureVillagePieces |
Class<?> |
getComponentClass()
The class of the root structure component to add to the village |
StructureVillagePieceWeight |
getVillagePieceWeight(Random random,
int i)
Called when MapGenVillage is creating a new village |
| Method Detail |
|---|
StructureVillagePieceWeight getVillagePieceWeight(Random random,
int i)
MapGenVillage is creating a new village
random - i - Class<?> getComponentClass()
Object buildComponent(StructureVillagePieceWeight villagePiece,
ComponentVillageStartPiece startPiece,
List pieces,
Random random,
int p1,
int p2,
int p3,
int p4,
int p5)
StructureVillagePieces
villagePiece - startPiece - pieces - random - p1 - p2 - p3 - p4 - p5 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||