Package | Description |
---|---|
net.minecraft.world.gen.structure | |
net.minecraftforge.fml.common.registry |
Modifier and Type | Field and Description |
---|---|
StructureVillagePieces.PieceWeight |
StructureVillagePieces.Start.lastPlaced |
Modifier and Type | Field and Description |
---|---|
java.util.List<StructureVillagePieces.PieceWeight> |
StructureVillagePieces.Start.structureVillageWeightedPieceList |
Modifier and Type | Method and Description |
---|---|
static java.util.List<StructureVillagePieces.PieceWeight> |
StructureVillagePieces.getStructureVillageWeightedPieceList(java.util.Random random,
int size) |
Modifier and Type | Method and Description |
---|---|
private static StructureVillagePieces.Village |
StructureVillagePieces.findAndCreateComponentFactory(StructureVillagePieces.Start start,
StructureVillagePieces.PieceWeight weight,
java.util.List<StructureComponent> structureComponents,
java.util.Random rand,
int structureMinX,
int structureMinY,
int structureMinZ,
EnumFacing facing,
int componentType) |
Modifier and Type | Method and Description |
---|---|
private static int |
StructureVillagePieces.updatePieceWeight(java.util.List<StructureVillagePieces.PieceWeight> p_75079_0_) |
Constructor and Description |
---|
Start(BiomeProvider biomeProviderIn,
int p_i2104_2_,
java.util.Random rand,
int p_i2104_4_,
int p_i2104_5_,
java.util.List<StructureVillagePieces.PieceWeight> p_i2104_6_,
int p_i2104_7_) |
Modifier and Type | Method and Description |
---|---|
StructureVillagePieces.PieceWeight |
VillagerRegistry.IVillageCreationHandler.getVillagePieceWeight(java.util.Random random,
int i)
Called when
MapGenVillage is creating a new village |
Modifier and Type | Method and Description |
---|---|
StructureVillagePieces.Village |
VillagerRegistry.IVillageCreationHandler.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 |
static StructureVillagePieces.Village |
VillagerRegistry.getVillageComponent(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) |
Modifier and Type | Method and Description |
---|---|
static void |
VillagerRegistry.addExtraVillageComponents(java.util.List<StructureVillagePieces.PieceWeight> list,
java.util.Random random,
int i) |