Class StrongholdPieces.StairsDown
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
net.minecraft.world.level.levelgen.structure.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.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 int
private static int
private boolean
private static int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
entryDoor
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionStairsDown(int p_73195_, Random p_73196_, BoundingBox p_73197_, Direction p_73198_)
StairsDown(ServerLevel p_163424_, CompoundTag p_163425_)
StairsDown(StructurePieceType p_163427_, int p_163428_, int p_163429_, int p_163430_, Direction p_163431_)
StairsDown(StructurePieceType p_73206_, CompoundTag p_73207_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163433_, CompoundTag p_163434_)
void
addChildren(StructurePiece p_163436_, StructurePieceAccessor p_163437_, Random p_163438_)
static StrongholdPieces.StairsDown
createPiece(StructurePieceAccessor p_163440_, Random p_163441_, int p_163442_, int p_163443_, int p_163444_, Direction p_163445_, int p_163446_)
boolean
postProcess(WorldGenLevel p_73212_, StructureFeatureManager p_73213_, ChunkGenerator p_73214_, Random p_73215_, BoundingBox p_73216_, ChunkPos p_73217_, BlockPos p_73218_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
generateSmallDoor, generateSmallDoorChildForward, generateSmallDoorChildLeft, generateSmallDoorChildRight, getNoiseEffect, isOkBox, randomSmallDoor
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
canBeReplaced, createChest, createChest, createDispenser, createTag, fillColumnDown, 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, setOrientation
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
- Constant Field Values
-
HEIGHT
private static final int HEIGHT- See Also:
- Constant Field Values
-
DEPTH
private static final int DEPTH- See Also:
- Constant Field Values
-
isSource
private final boolean isSource
-
-
Constructor Details
-
StairsDown
public StairsDown(StructurePieceType p_163427_, int p_163428_, int p_163429_, int p_163430_, Direction p_163431_) -
StairsDown
-
StairsDown
-
StairsDown
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
addChildren
public void addChildren(StructurePiece p_163436_, StructurePieceAccessor p_163437_, Random p_163438_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.StairsDown createPiece(StructurePieceAccessor p_163440_, Random p_163441_, int p_163442_, int p_163443_, int p_163444_, Direction p_163445_, int p_163446_) -
postProcess
public boolean postProcess(WorldGenLevel p_73212_, StructureFeatureManager p_73213_, ChunkGenerator p_73214_, Random p_73215_, BoundingBox p_73216_, ChunkPos p_73217_, BlockPos p_73218_)- Specified by:
postProcess
in classStructurePiece
-