Package net.minecraft.structure
Class MineshaftGenerator.MineshaftStairs
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.MineshaftGenerator.MineshaftPart
net.minecraft.structure.MineshaftGenerator.MineshaftStairs
- Enclosing class:
- MineshaftGenerator
public static class MineshaftGenerator.MineshaftStairs extends MineshaftGenerator.MineshaftPart
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
Fields inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPart
mineshaftTypeFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
Constructors Constructor Description MineshaftStairs(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftFeature.Type type)MineshaftStairs(StructureManager structureManager, NbtCompound nbtCompound) -
Method Summary
Modifier and Type Method Description voidfillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)booleangenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)static BlockBoxgetBoundingBox(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation)Methods inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPart
getFenceType, getPlanksType, isSolidCeiling, toNbtMethods inherited from class net.minecraft.structure.StructurePiece
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
-
Constructor Details
-
MineshaftStairs
public MineshaftStairs(int chainLength, BlockBox boundingBox, Direction orientation, MineshaftFeature.Type type) -
MineshaftStairs
-
-
Method Details
-
getBoundingBox
public static BlockBox getBoundingBox(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation) -
fillOpenings
- Overrides:
fillOpeningsin classStructurePiece
-
generate
public boolean generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)- Specified by:
generatein classStructurePiece
-