public class StrongholdGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StrongholdGenerator.ChestCorridor |
static class |
StrongholdGenerator.Corridor |
static class |
StrongholdGenerator.FiveWayCrossing |
static class |
StrongholdGenerator.LeftTurn |
static class |
StrongholdGenerator.Library |
(package private) static class |
StrongholdGenerator.Piece |
(package private) static class |
StrongholdGenerator.PieceData |
static class |
StrongholdGenerator.PortalRoom |
static class |
StrongholdGenerator.PrisonHall |
static class |
StrongholdGenerator.RightTurn |
static class |
StrongholdGenerator.SmallCorridor |
static class |
StrongholdGenerator.SpiralStaircase |
static class |
StrongholdGenerator.SquareRoom |
static class |
StrongholdGenerator.Stairs |
static class |
StrongholdGenerator.Start |
(package private) static class |
StrongholdGenerator.StoneBrickRandomizer |
static class |
StrongholdGenerator.Turn |
Modifier and Type | Field and Description |
---|---|
private static Class<? extends StrongholdGenerator.Piece> |
activePieceType |
private static StrongholdGenerator.PieceData[] |
ALL_PIECES |
private static List<StrongholdGenerator.PieceData> |
possiblePieces |
private static StrongholdGenerator.StoneBrickRandomizer |
STONE_BRICK_RANDOMIZER |
private static int |
totalWeight |
Constructor and Description |
---|
StrongholdGenerator() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
checkRemainingPieces() |
private static StrongholdGenerator.Piece |
createPiece(Class<? extends StrongholdGenerator.Piece> pieceType,
List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation,
int chainLength) |
static void |
init() |
private static StrongholdGenerator.Piece |
pickPiece(StrongholdGenerator.Start start,
List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation,
int chainLength) |
private static StructurePiece |
pieceGenerator(StrongholdGenerator.Start start,
List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation,
int chainLength) |
private static final StrongholdGenerator.PieceData[] ALL_PIECES
private static List<StrongholdGenerator.PieceData> possiblePieces
private static Class<? extends StrongholdGenerator.Piece> activePieceType
private static int totalWeight
private static final StrongholdGenerator.StoneBrickRandomizer STONE_BRICK_RANDOMIZER
public static void init()
private static boolean checkRemainingPieces()
private static StrongholdGenerator.Piece createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, List<StructurePiece> pieces, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength)
private static StrongholdGenerator.Piece pickPiece(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
private static StructurePiece pieceGenerator(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength)