Class StrongholdPieces.FiveCrossing
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.FiveCrossing
- 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
private final boolean
private final boolean
private final boolean
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
ConstructorDescriptionFiveCrossing
(int p_72974_, Random p_72975_, BoundingBox p_72976_, Direction p_72977_) FiveCrossing
(CompoundTag p_192515_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192525_, CompoundTag p_192526_) void
addChildren
(StructurePiece p_163297_, StructurePieceAccessor p_163298_, Random p_163299_) createPiece
(StructurePieceAccessor p_163301_, Random p_163302_, int p_163303_, int p_163304_, int p_163305_, Direction p_163306_, int p_163307_) void
postProcess
(WorldGenLevel p_192517_, StructureFeatureManager p_192518_, ChunkGenerator p_192519_, Random p_192520_, BoundingBox p_192521_, ChunkPos p_192522_, BlockPos p_192523_) 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
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:
-
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
-
FiveCrossing
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192525_, CompoundTag p_192526_) - Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
addChildren
public void addChildren(StructurePiece p_163297_, StructurePieceAccessor p_163298_, Random p_163299_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.FiveCrossing createPiece(StructurePieceAccessor p_163301_, Random p_163302_, int p_163303_, int p_163304_, int p_163305_, Direction p_163306_, int p_163307_) -
postProcess
public void postProcess(WorldGenLevel p_192517_, StructureFeatureManager p_192518_, ChunkGenerator p_192519_, Random p_192520_, BoundingBox p_192521_, ChunkPos p_192522_, BlockPos p_192523_) - Specified by:
postProcess
in classStructurePiece
-