public static class MineshaftGenerator.MineshaftStairs extends MineshaftGenerator.MineshaftPart
StructurePiece.BlockRandomizermineshaftTypeAIR, boundingBox, chainLength| Constructor and Description |
|---|
MineshaftStairs(int chainLength,
BlockBox boundingBox,
Direction orientation,
MineshaftFeature.Type type) |
MineshaftStairs(StructureManager structureManager,
CompoundTag compoundTag) |
| Modifier and Type | Method and Description |
|---|---|
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) |
static BlockBox |
getBoundingBox(List<StructurePiece> pieces,
Random random,
int x,
int y,
int z,
Direction orientation) |
getFenceType, getPlanksType, isSolidCeiling, 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 MineshaftStairs(int chainLength,
BlockBox boundingBox,
Direction orientation,
MineshaftFeature.Type type)
public MineshaftStairs(StructureManager structureManager, CompoundTag compoundTag)
public static BlockBox getBoundingBox(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation)
public void fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
fillOpenings in class StructurePiecepublic boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece