public static class StrongholdGenerator.SpiralStaircase extends StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceType
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private boolean |
isStructureStart |
entryDoor
AIR, boundingBox, chainLength
Constructor and Description |
---|
SpiralStaircase(int chainLength,
Random random,
BlockBox boundingBox,
Direction orientation) |
SpiralStaircase(StructureManager structureManager,
CompoundTag compoundTag) |
SpiralStaircase(StructurePieceType type,
CompoundTag tag) |
SpiralStaircase(StructurePieceType structurePieceType,
int chainLength,
Random random,
int x,
int z) |
Modifier and Type | Method and Description |
---|---|
static StrongholdGenerator.SpiralStaircase |
create(List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation,
int chainLength) |
void |
fillOpenings(StructurePiece start,
List<StructurePiece> pieces,
Random random) |
boolean |
generate(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
protected void |
toNbt(CompoundTag tag) |
fillForwardOpening, fillNWOpening, fillSEOpening, generateEntrance, getRandomEntrance, isInbounds
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
public SpiralStaircase(StructurePieceType structurePieceType, int chainLength, Random random, int x, int z)
public SpiralStaircase(int chainLength, Random random, BlockBox boundingBox, Direction orientation)
public SpiralStaircase(StructurePieceType type, CompoundTag tag)
public SpiralStaircase(StructureManager structureManager, CompoundTag compoundTag)
protected void toNbt(CompoundTag tag)
toNbt
in class StrongholdGenerator.Piece
public void fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
fillOpenings
in class StructurePiece
public static StrongholdGenerator.SpiralStaircase create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece