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
-
Constructor Summary
Constructors Constructor Description MineshaftStairs(int int2, BlockBox blockBox, Direction direction, MineshaftFeature.Type type)MineshaftStairs(StructureManager structureManager, CompoundTag compoundTag) -
Method Summary
Modifier and Type Method Description booleangenerate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)static BlockBoxgetBoundingBox(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction)voidplaceJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)Methods inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPart
getFenceType, getPlanksType, method_14719, toNbtMethods inherited from class net.minecraft.structure.StructurePiece
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
-
Constructor Details
-
MineshaftStairs
public MineshaftStairs(int int2, BlockBox blockBox, Direction direction, MineshaftFeature.Type type) -
MineshaftStairs
-
-
Method Details
-
getBoundingBox
public static BlockBox getBoundingBox(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction) -
placeJigsaw
- Overrides:
placeJigsawin classStructurePiece
-
generate
public boolean generate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generatein classStructurePiece
-