Class MineShaftPieces.MineShaftStairs
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.MineShaftPieces.MineShaftPiece
net.minecraft.world.level.levelgen.structure.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.MineShaftPieces.MineShaftPiece
type
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMineShaftStairs(int p_71513_, BoundingBox p_71514_, Direction p_71515_, MineshaftFeature.Type p_71516_)
MineShaftStairs(ServerLevel p_162608_, CompoundTag p_162609_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren(StructurePiece p_162611_, StructurePieceAccessor p_162612_, Random p_162613_)
static BoundingBox
findStairs(StructurePieceAccessor p_162615_, Random p_162616_, int p_162617_, int p_162618_, int p_162619_, Direction p_162620_)
boolean
postProcess(WorldGenLevel p_71521_, StructureFeatureManager p_71522_, ChunkGenerator p_71523_, Random p_71524_, BoundingBox p_71525_, ChunkPos p_71526_, BlockPos p_71527_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.MineShaftPieces.MineShaftPiece
addAdditionalSaveData, canBeReplaced, edgesLiquid, isSupportingBox, setPlanksBlock
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
createChest, createChest, createDispenser, createTag, fillColumnDown, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Constructor Details
-
MineShaftStairs
public MineShaftStairs(int p_71513_, BoundingBox p_71514_, Direction p_71515_, MineshaftFeature.Type p_71516_) -
MineShaftStairs
-
-
Method Details
-
findStairs
@Nullable public static BoundingBox findStairs(StructurePieceAccessor p_162615_, Random p_162616_, int p_162617_, int p_162618_, int p_162619_, Direction p_162620_) -
addChildren
public void addChildren(StructurePiece p_162611_, StructurePieceAccessor p_162612_, Random p_162613_)- Overrides:
addChildren
in classStructurePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_71521_, StructureFeatureManager p_71522_, ChunkGenerator p_71523_, Random p_71524_, BoundingBox p_71525_, ChunkPos p_71526_, BlockPos p_71527_)- Specified by:
postProcess
in classStructurePiece
-