Class StrongholdPieces.StraightStairsDown
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.StraightStairsDown
- 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 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
ConstructorDescriptionStraightStairsDown
(int p_229846_, RandomSource p_229847_, BoundingBox p_229848_, Direction p_229849_) StraightStairsDown
(CompoundTag p_229851_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren
(StructurePiece p_229861_, StructurePieceAccessor p_229862_, RandomSource p_229863_) createPiece
(StructurePieceAccessor p_229865_, RandomSource p_229866_, int p_229867_, int p_229868_, int p_229869_, Direction p_229870_, int p_229871_) void
postProcess
(WorldGenLevel p_229853_, StructureManager p_229854_, ChunkGenerator p_229855_, RandomSource p_229856_, BoundingBox p_229857_, ChunkPos p_229858_, BlockPos p_229859_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
addAdditionalSaveData, 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:
-
-
Constructor Details
-
StraightStairsDown
public StraightStairsDown(int p_229846_, RandomSource p_229847_, BoundingBox p_229848_, Direction p_229849_) -
StraightStairsDown
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_229861_, StructurePieceAccessor p_229862_, RandomSource p_229863_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.StraightStairsDown createPiece(StructurePieceAccessor p_229865_, RandomSource p_229866_, int p_229867_, int p_229868_, int p_229869_, Direction p_229870_, int p_229871_) -
postProcess
public void postProcess(WorldGenLevel p_229853_, StructureManager p_229854_, ChunkGenerator p_229855_, RandomSource p_229856_, BoundingBox p_229857_, ChunkPos p_229858_, BlockPos p_229859_) - Specified by:
postProcess
in classStructurePiece
-