Class StrongholdPieces.StraightStairsDown
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.StraightStairsDown
- 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 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
ConstructorDescriptionStraightStairsDown(int p_73276_, Random p_73277_, BoundingBox p_73278_, Direction p_73279_)
StraightStairsDown(ServerLevel p_163478_, CompoundTag p_163479_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren(StructurePiece p_163481_, StructurePieceAccessor p_163482_, Random p_163483_)
createPiece(StructurePieceAccessor p_163485_, Random p_163486_, int p_163487_, int p_163488_, int p_163489_, Direction p_163490_, int p_163491_)
boolean
postProcess(WorldGenLevel p_73284_, StructureFeatureManager p_73285_, ChunkGenerator p_73286_, Random p_73287_, BoundingBox p_73288_, ChunkPos p_73289_, BlockPos p_73290_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
addAdditionalSaveData, 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
-
-
Constructor Details
-
StraightStairsDown
-
StraightStairsDown
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_163481_, StructurePieceAccessor p_163482_, Random p_163483_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.StraightStairsDown createPiece(StructurePieceAccessor p_163485_, Random p_163486_, int p_163487_, int p_163488_, int p_163489_, Direction p_163490_, int p_163491_) -
postProcess
public boolean postProcess(WorldGenLevel p_73284_, StructureFeatureManager p_73285_, ChunkGenerator p_73286_, Random p_73287_, BoundingBox p_73288_, ChunkPos p_73289_, BlockPos p_73290_)- Specified by:
postProcess
in classStructurePiece
-