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 final int
protected static final int
private final boolean
protected static final int
protected static final 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
(CompoundTag p_192538_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192548_, CompoundTag p_192549_) 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_) void
postProcess
(WorldGenLevel p_192540_, StructureFeatureManager p_192541_, ChunkGenerator p_192542_, Random p_192543_, BoundingBox p_192544_, ChunkPos p_192545_, BlockPos p_192546_) 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, 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, setOrientation
-
Field Details
-
WIDTH
protected static final int WIDTH- See Also:
-
HEIGHT
protected static final int HEIGHT- See Also:
-
TALL_HEIGHT
protected static final int TALL_HEIGHT- See Also:
-
DEPTH
protected static final int DEPTH- See Also:
-
isTall
private final boolean isTall
-
-
Constructor Details
-
Library
-
Library
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192548_, CompoundTag p_192549_) - 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 void postProcess(WorldGenLevel p_192540_, StructureFeatureManager p_192541_, ChunkGenerator p_192542_, Random p_192543_, BoundingBox p_192544_, ChunkPos p_192545_, BlockPos p_192546_) - Specified by:
postProcess
in classStructurePiece
-