public static class StrongholdGenerator.Stairs extends StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceTypeStructurePiece.BlockRandomizerentryDoorAIR, boundingBox, chainLength| Constructor and Description |
|---|
Stairs(int chainLength,
Random random,
BlockBox boundingBox,
Direction orientation) |
Stairs(StructureManager structureManager,
CompoundTag compoundTag) |
| Modifier and Type | Method and Description |
|---|---|
static StrongholdGenerator.Stairs |
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) |
fillForwardOpening, fillNWOpening, fillSEOpening, generateEntrance, getRandomEntrance, isInbounds, toNbtaddBlock, 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, translatepublic Stairs(StructureManager structureManager, CompoundTag compoundTag)
public void fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
fillOpenings in class StructurePiecepublic static StrongholdGenerator.Stairs 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