Class MineshaftPieces.MineShaftStairs
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.MineshaftPieces.MineShaftPiece
net.minecraft.world.level.levelgen.structure.structures.MineshaftPieces.MineShaftStairs
- Enclosing class:
MineshaftPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.structures.MineshaftPieces.MineShaftPiece
type
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMineShaftStairs
(int p_227932_, BoundingBox p_227933_, Direction p_227934_, MineshaftStructure.Type p_227935_) MineShaftStairs
(CompoundTag p_227937_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren
(StructurePiece p_227947_, StructurePieceAccessor p_227948_, RandomSource p_227949_) static BoundingBox
findStairs
(StructurePieceAccessor p_227951_, RandomSource p_227952_, int p_227953_, int p_227954_, int p_227955_, Direction p_227956_) void
postProcess
(WorldGenLevel p_227939_, StructureManager p_227940_, ChunkGenerator p_227941_, RandomSource p_227942_, BoundingBox p_227943_, ChunkPos p_227944_, BlockPos p_227945_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.MineshaftPieces.MineShaftPiece
addAdditionalSaveData, canBeReplaced, isInInvalidLocation, isSupportingBox, setPlanksBlock
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setGenDepth, setOrientation
-
Constructor Details
-
MineShaftStairs
public MineShaftStairs(int p_227932_, BoundingBox p_227933_, Direction p_227934_, MineshaftStructure.Type p_227935_) -
MineShaftStairs
-
-
Method Details
-
findStairs
@Nullable public static BoundingBox findStairs(StructurePieceAccessor p_227951_, RandomSource p_227952_, int p_227953_, int p_227954_, int p_227955_, Direction p_227956_) -
addChildren
public void addChildren(StructurePiece p_227947_, StructurePieceAccessor p_227948_, RandomSource p_227949_) - Overrides:
addChildren
in classStructurePiece
-
postProcess
public void postProcess(WorldGenLevel p_227939_, StructureManager p_227940_, ChunkGenerator p_227941_, RandomSource p_227942_, BoundingBox p_227943_, ChunkPos p_227944_, BlockPos p_227945_) - Specified by:
postProcess
in classStructurePiece
-