public static interface VillagerRegistry.IVillageCreationHandler
StructureVillagePieces
array controlling new village
creation so you can insert your own new village piecesModifier and Type | Method and Description |
---|---|
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 |
StructureVillagePieceWeight getVillagePieceWeight(Random random, int i)
MapGenVillage
is creating a new villagerandom
- 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
-