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 |
---|---|
StructureVillagePieces.Village |
buildComponent(StructureVillagePieces.PieceWeight villagePiece,
StructureVillagePieces.Start startPiece,
java.util.List<StructureComponent> pieces,
java.util.Random random,
int p1,
int p2,
int p3,
EnumFacing facing,
int p5)
Build an instance of the village component
StructureVillagePieces |
java.lang.Class<?> |
getComponentClass()
The class of the root structure component to add to the village
|
StructureVillagePieces.PieceWeight |
getVillagePieceWeight(java.util.Random random,
int i)
Called when
MapGenVillage is creating a new village |
StructureVillagePieces.PieceWeight getVillagePieceWeight(java.util.Random random, int i)
MapGenVillage
is creating a new villagerandom
- i
- java.lang.Class<?> getComponentClass()
StructureVillagePieces.Village buildComponent(StructureVillagePieces.PieceWeight villagePiece, StructureVillagePieces.Start startPiece, java.util.List<StructureComponent> pieces, java.util.Random random, int p1, int p2, int p3, EnumFacing facing, int p5)
StructureVillagePieces
villagePiece
- startPiece
- pieces
- random
- p1
- p2
- p3
- facing
- p5
-