public class EndCityGenerator extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
EndCityGenerator.Part |
static class |
EndCityGenerator.Piece |
Modifier and Type | Field and Description |
---|---|
private static EndCityGenerator.Part |
BRIDGE_PIECE |
private static EndCityGenerator.Part |
BUILDING |
private static EndCityGenerator.Part |
FAT_TOWER |
private static List<Pair<BlockRotation,BlockPos>> |
FAT_TOWER_BRIDGE_ATTACHMENTS |
private static StructurePlacementData |
IGNORE_AIR_PLACEMENT_DATA |
private static StructurePlacementData |
PLACEMENT_DATA |
private static EndCityGenerator.Part |
SMALL_TOWER |
private static List<Pair<BlockRotation,BlockPos>> |
SMALL_TOWER_BRIDGE_ATTACHMENTS |
Constructor and Description |
---|
EndCityGenerator() |
Modifier and Type | Method and Description |
---|---|
private static EndCityGenerator.Piece |
addPiece(List<StructurePiece> pieces,
EndCityGenerator.Piece piece) |
static void |
addPieces(StructureManager structureManager,
BlockPos pos,
BlockRotation rotation,
List<StructurePiece> pieces,
Random random) |
private static boolean |
createPart(StructureManager manager,
EndCityGenerator.Part piece,
int depth,
EndCityGenerator.Piece parent,
BlockPos pos,
List<StructurePiece> pieces,
Random random) |
private static EndCityGenerator.Piece |
createPiece(StructureManager structureManager,
EndCityGenerator.Piece lastPiece,
BlockPos relativePosition,
String template,
BlockRotation rotation,
boolean ignoreAir) |
private static final StructurePlacementData PLACEMENT_DATA
private static final StructurePlacementData IGNORE_AIR_PLACEMENT_DATA
private static final EndCityGenerator.Part BUILDING
private static final List<Pair<BlockRotation,BlockPos>> SMALL_TOWER_BRIDGE_ATTACHMENTS
private static final EndCityGenerator.Part SMALL_TOWER
private static final EndCityGenerator.Part BRIDGE_PIECE
private static final List<Pair<BlockRotation,BlockPos>> FAT_TOWER_BRIDGE_ATTACHMENTS
private static final EndCityGenerator.Part FAT_TOWER
private static EndCityGenerator.Piece createPiece(StructureManager structureManager, EndCityGenerator.Piece lastPiece, BlockPos relativePosition, String template, BlockRotation rotation, boolean ignoreAir)
public static void addPieces(StructureManager structureManager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random)
private static EndCityGenerator.Piece addPiece(List<StructurePiece> pieces, EndCityGenerator.Piece piece)
private static boolean createPart(StructureManager manager, EndCityGenerator.Part piece, int depth, EndCityGenerator.Piece parent, BlockPos pos, List<StructurePiece> pieces, Random random)