public class StructureVillagePieces
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StructureVillagePieces.Church |
static class |
StructureVillagePieces.Field1 |
static class |
StructureVillagePieces.Field2 |
static class |
StructureVillagePieces.Hall |
static class |
StructureVillagePieces.House1 |
static class |
StructureVillagePieces.House2 |
static class |
StructureVillagePieces.House3 |
static class |
StructureVillagePieces.House4Garden |
static class |
StructureVillagePieces.Path |
static class |
StructureVillagePieces.PieceWeight |
static class |
StructureVillagePieces.Road |
static class |
StructureVillagePieces.Start |
static class |
StructureVillagePieces.Torch |
static class |
StructureVillagePieces.Village |
static class |
StructureVillagePieces.Well |
static class |
StructureVillagePieces.WoodHut |
Constructor and Description |
---|
StructureVillagePieces() |
Modifier and Type | Method and Description |
---|---|
private static StructureVillagePieces.Village |
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) |
private static StructureComponent |
generateAndAddComponent(StructureVillagePieces.Start start,
java.util.List<StructureComponent> structureComponents,
java.util.Random rand,
int structureMinX,
int structureMinY,
int structureMinZ,
EnumFacing facing,
int componentType) |
private static StructureComponent |
generateAndAddRoadPiece(StructureVillagePieces.Start start,
java.util.List<StructureComponent> p_176069_1_,
java.util.Random rand,
int p_176069_3_,
int p_176069_4_,
int p_176069_5_,
EnumFacing facing,
int p_176069_7_) |
private static StructureVillagePieces.Village |
generateComponent(StructureVillagePieces.Start start,
java.util.List<StructureComponent> structureComponents,
java.util.Random rand,
int structureMinX,
int structureMinY,
int structureMinZ,
EnumFacing facing,
int componentType) |
static java.util.List<StructureVillagePieces.PieceWeight> |
getStructureVillageWeightedPieceList(java.util.Random random,
int size) |
static void |
registerVillagePieces() |
private static int |
updatePieceWeight(java.util.List<StructureVillagePieces.PieceWeight> p_75079_0_) |
public static void registerVillagePieces()
public static java.util.List<StructureVillagePieces.PieceWeight> getStructureVillageWeightedPieceList(java.util.Random random, int size)
private static int updatePieceWeight(java.util.List<StructureVillagePieces.PieceWeight> p_75079_0_)
private static StructureVillagePieces.Village 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)
private static StructureVillagePieces.Village generateComponent(StructureVillagePieces.Start start, java.util.List<StructureComponent> structureComponents, java.util.Random rand, int structureMinX, int structureMinY, int structureMinZ, EnumFacing facing, int componentType)
private static StructureComponent generateAndAddComponent(StructureVillagePieces.Start start, java.util.List<StructureComponent> structureComponents, java.util.Random rand, int structureMinX, int structureMinY, int structureMinZ, EnumFacing facing, int componentType)
private static StructureComponent generateAndAddRoadPiece(StructureVillagePieces.Start start, java.util.List<StructureComponent> p_176069_1_, java.util.Random rand, int p_176069_3_, int p_176069_4_, int p_176069_5_, EnumFacing facing, int p_176069_7_)