Class StrongholdPieces.Library
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.Library
- 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
private boolean
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
ConstructorDescriptionLibrary(int p_73033_, Random p_73034_, BoundingBox p_73035_, Direction p_73036_)
Library(ServerLevel p_163329_, CompoundTag p_163330_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163332_, CompoundTag p_163333_)
static StrongholdPieces.Library
createPiece(StructurePieceAccessor p_163335_, Random p_163336_, int p_163337_, int p_163338_, int p_163339_, Direction p_163340_, int p_163341_)
boolean
postProcess(WorldGenLevel p_73041_, StructureFeatureManager p_73042_, ChunkGenerator p_73043_, Random p_73044_, BoundingBox p_73045_, ChunkPos p_73046_, BlockPos p_73047_)
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
addChildren, 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
-
TALL_HEIGHT
protected static final int TALL_HEIGHT- See Also:
- Constant Field Values
-
DEPTH
protected static final int DEPTH- See Also:
- Constant Field Values
-
isTall
private final boolean isTall
-
-
Constructor Details
-
Library
-
Library
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
createPiece
public static StrongholdPieces.Library createPiece(StructurePieceAccessor p_163335_, Random p_163336_, int p_163337_, int p_163338_, int p_163339_, Direction p_163340_, int p_163341_) -
postProcess
public boolean postProcess(WorldGenLevel p_73041_, StructureFeatureManager p_73042_, ChunkGenerator p_73043_, Random p_73044_, BoundingBox p_73045_, ChunkPos p_73046_, BlockPos p_73047_)- Specified by:
postProcess
in classStructurePiece
-