Class StrongholdPieces.Library
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.Library
- Enclosing class:
- StrongholdPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.structures.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.structures.StrongholdPieces.StrongholdPiece
entryDoor
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionLibrary
(int p_229589_, RandomSource p_229590_, BoundingBox p_229591_, Direction p_229592_) Library
(CompoundTag p_229594_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_229612_, CompoundTag p_229613_) static StrongholdPieces.Library
createPiece
(StructurePieceAccessor p_229604_, RandomSource p_229605_, int p_229606_, int p_229607_, int p_229608_, Direction p_229609_, int p_229610_) void
postProcess
(WorldGenLevel p_229596_, StructureManager p_229597_, ChunkGenerator p_229598_, RandomSource p_229599_, BoundingBox p_229600_, ChunkPos p_229601_, BlockPos p_229602_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
generateSmallDoor, generateSmallDoorChildForward, generateSmallDoorChildLeft, generateSmallDoorChildRight, 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, setGenDepth, 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_229612_, CompoundTag p_229613_) - Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
createPiece
public static StrongholdPieces.Library createPiece(StructurePieceAccessor p_229604_, RandomSource p_229605_, int p_229606_, int p_229607_, int p_229608_, Direction p_229609_, int p_229610_) -
postProcess
public void postProcess(WorldGenLevel p_229596_, StructureManager p_229597_, ChunkGenerator p_229598_, RandomSource p_229599_, BoundingBox p_229600_, ChunkPos p_229601_, BlockPos p_229602_) - Specified by:
postProcess
in classStructurePiece
-