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, length
Constructor and Description |
---|
SpiralStaircase(int int2,
Random random,
BlockBox blockBox,
Direction direction) |
SpiralStaircase(StructureManager structureManager,
CompoundTag compoundTag) |
SpiralStaircase(StructurePieceType type,
CompoundTag tag) |
SpiralStaircase(StructurePieceType structurePieceType,
int int2,
Random random,
int int3,
int int4) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(IWorld world,
StructureAccessor structureAccessor,
ChunkGenerator<?> chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
static StrongholdGenerator.SpiralStaircase |
method_14866(List<StructurePiece> list,
Random random,
int int2,
int int3,
int int4,
Direction direction,
int int5) |
void |
placeJigsaw(StructurePiece structurePiece,
List<StructurePiece> list,
Random random) |
protected void |
toNbt(CompoundTag tag) |
generateEntrance, getRandomEntrance, method_14870, method_14871, method_14873, method_14874
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, setOrientation, translate
public SpiralStaircase(StructurePieceType structurePieceType, int int2, Random random, int int3, int int4)
public SpiralStaircase(int int2, Random random, BlockBox blockBox, Direction direction)
public SpiralStaircase(StructurePieceType type, CompoundTag tag)
public SpiralStaircase(StructureManager structureManager, CompoundTag compoundTag)
protected void toNbt(CompoundTag tag)
toNbt
in class StrongholdGenerator.Piece
public void placeJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)
placeJigsaw
in class StructurePiece
public static StrongholdGenerator.SpiralStaircase method_14866(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction, int int5)
public boolean generate(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece