Class StrongholdPieces.FiveCrossing
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.FiveCrossing
- 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
private final boolean
private final boolean
private final boolean
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
ConstructorDescriptionFiveCrossing
(int p_229527_, RandomSource p_229528_, BoundingBox p_229529_, Direction p_229530_) FiveCrossing
(CompoundTag p_229532_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_229554_, CompoundTag p_229555_) void
addChildren
(StructurePiece p_229542_, StructurePieceAccessor p_229543_, RandomSource p_229544_) createPiece
(StructurePieceAccessor p_229546_, RandomSource p_229547_, int p_229548_, int p_229549_, int p_229550_, Direction p_229551_, int p_229552_) void
postProcess
(WorldGenLevel p_229534_, StructureManager p_229535_, ChunkGenerator p_229536_, RandomSource p_229537_, BoundingBox p_229538_, ChunkPos p_229539_, BlockPos p_229540_) 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
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:
-
DEPTH
protected static final int DEPTH- See Also:
-
leftLow
private final boolean leftLow -
leftHigh
private final boolean leftHigh -
rightLow
private final boolean rightLow -
rightHigh
private final boolean rightHigh
-
-
Constructor Details
-
FiveCrossing
public FiveCrossing(int p_229527_, RandomSource p_229528_, BoundingBox p_229529_, Direction p_229530_) -
FiveCrossing
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_229554_, CompoundTag p_229555_) - Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
addChildren
public void addChildren(StructurePiece p_229542_, StructurePieceAccessor p_229543_, RandomSource p_229544_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.FiveCrossing createPiece(StructurePieceAccessor p_229546_, RandomSource p_229547_, int p_229548_, int p_229549_, int p_229550_, Direction p_229551_, int p_229552_) -
postProcess
public void postProcess(WorldGenLevel p_229534_, StructureManager p_229535_, ChunkGenerator p_229536_, RandomSource p_229537_, BoundingBox p_229538_, ChunkPos p_229539_, BlockPos p_229540_) - Specified by:
postProcess
in classStructurePiece
-