Class StrongholdPieces.PrisonHall
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.PrisonHall
- 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 TypeFieldDescriptionprotected static int
protected static int
protected 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
ConstructorDescriptionPrisonHall(int p_73098_, Random p_73099_, BoundingBox p_73100_, Direction p_73101_)
PrisonHall(ServerLevel p_163368_, CompoundTag p_163369_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren(StructurePiece p_163371_, StructurePieceAccessor p_163372_, Random p_163373_)
static StrongholdPieces.PrisonHall
createPiece(StructurePieceAccessor p_163375_, Random p_163376_, int p_163377_, int p_163378_, int p_163379_, Direction p_163380_, int p_163381_)
boolean
postProcess(WorldGenLevel p_73106_, StructureFeatureManager p_73107_, ChunkGenerator p_73108_, Random p_73109_, BoundingBox p_73110_, ChunkPos p_73111_, BlockPos p_73112_)
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
protected static final int WIDTH- See Also:
- Constant Field Values
-
HEIGHT
protected static final int HEIGHT- See Also:
- Constant Field Values
-
DEPTH
protected static final int DEPTH- See Also:
- Constant Field Values
-
-
Constructor Details
-
PrisonHall
-
PrisonHall
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_163371_, StructurePieceAccessor p_163372_, Random p_163373_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.PrisonHall createPiece(StructurePieceAccessor p_163375_, Random p_163376_, int p_163377_, int p_163378_, int p_163379_, Direction p_163380_, int p_163381_) -
postProcess
public boolean postProcess(WorldGenLevel p_73106_, StructureFeatureManager p_73107_, ChunkGenerator p_73108_, Random p_73109_, BoundingBox p_73110_, ChunkPos p_73111_, BlockPos p_73112_)- Specified by:
postProcess
in classStructurePiece
-