Class StrongholdPieces.StairsDown
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StairsDown
- Direct Known Subclasses:
StrongholdPieces.StartPiece
- Enclosing class:
- StrongholdPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
StrongholdPieces.StrongholdPiece.SmallDoorType
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private final boolean
private static final int
Fields inherited from class net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
entryDoor
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionStairsDown
(int p_229759_, RandomSource p_229760_, BoundingBox p_229761_, Direction p_229762_) StairsDown
(CompoundTag p_229773_) StairsDown
(StructurePieceType p_229764_, int p_229765_, int p_229766_, int p_229767_, Direction p_229768_) StairsDown
(StructurePieceType p_229770_, CompoundTag p_229771_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_229795_, CompoundTag p_229796_) void
addChildren
(StructurePiece p_229783_, StructurePieceAccessor p_229784_, RandomSource p_229785_) static StrongholdPieces.StairsDown
createPiece
(StructurePieceAccessor p_229787_, RandomSource p_229788_, int p_229789_, int p_229790_, int p_229791_, Direction p_229792_, int p_229793_) void
postProcess
(WorldGenLevel p_229775_, StructureManager p_229776_, ChunkGenerator p_229777_, RandomSource p_229778_, BoundingBox p_229779_, ChunkPos p_229780_, BlockPos p_229781_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
generateSmallDoor, generateSmallDoorChildForward, generateSmallDoorChildLeft, generateSmallDoorChildRight, isOkBox, randomSmallDoor
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
canBeReplaced, 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
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
DEPTH
private static final int DEPTH- See Also:
-
isSource
private final boolean isSource
-
-
Constructor Details
-
StairsDown
public StairsDown(StructurePieceType p_229764_, int p_229765_, int p_229766_, int p_229767_, Direction p_229768_) -
StairsDown
public StairsDown(int p_229759_, RandomSource p_229760_, BoundingBox p_229761_, Direction p_229762_) -
StairsDown
-
StairsDown
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_229795_, CompoundTag p_229796_) - Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
addChildren
public void addChildren(StructurePiece p_229783_, StructurePieceAccessor p_229784_, RandomSource p_229785_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.StairsDown createPiece(StructurePieceAccessor p_229787_, RandomSource p_229788_, int p_229789_, int p_229790_, int p_229791_, Direction p_229792_, int p_229793_) -
postProcess
public void postProcess(WorldGenLevel p_229775_, StructureManager p_229776_, ChunkGenerator p_229777_, RandomSource p_229778_, BoundingBox p_229779_, ChunkPos p_229780_, BlockPos p_229781_) - Specified by:
postProcess
in classStructurePiece
-