Package net.minecraft.structure
Class EndCityGenerator
java.lang.Object
net.minecraft.structure.EndCityGenerator
public class EndCityGenerator extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceEndCityGenerator.Partstatic classEndCityGenerator.Piece -
Field Summary
Fields Modifier and Type Field Description private static EndCityGenerator.PartBRIDGE_PIECEprivate static EndCityGenerator.PartBUILDINGprivate static EndCityGenerator.PartFAT_TOWERprivate static List<Pair<BlockRotation,BlockPos>>FAT_TOWER_BRIDGE_ATTACHMENTSprivate static StructurePlacementDataIGNORE_AIR_PLACEMENT_DATAprivate static StructurePlacementDataPLACEMENT_DATAprivate static EndCityGenerator.PartSMALL_TOWERprivate static List<Pair<BlockRotation,BlockPos>>SMALL_TOWER_BRIDGE_ATTACHMENTS -
Constructor Summary
Constructors Constructor Description EndCityGenerator() -
Method Summary
Modifier and Type Method Description private static EndCityGenerator.PieceaddPiece(List<StructurePiece> pieces, EndCityGenerator.Piece piece)static voidaddPieces(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random)private static booleancreatePart(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random)private static EndCityGenerator.PiececreatePiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir)
-
Field Details
-
PLACEMENT_DATA
-
IGNORE_AIR_PLACEMENT_DATA
-
BUILDING
-
SMALL_TOWER_BRIDGE_ATTACHMENTS
-
SMALL_TOWER
-
BRIDGE_PIECE
-
FAT_TOWER_BRIDGE_ATTACHMENTS
-
FAT_TOWER
-
-
Constructor Details
-
EndCityGenerator
public EndCityGenerator()
-
-
Method Details
-
createPiece
private static EndCityGenerator.Piece createPiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir) -
addPieces
public static void addPieces(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random) -
addPiece
private static EndCityGenerator.Piece addPiece(List<StructurePiece> pieces, EndCityGenerator.Piece piece) -
createPart
private static boolean createPart(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random)
-