Class NetherFortressPieces.CastleSmallCorridorLeftTurnPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.CastleSmallCorridorLeftTurnPiece
- Enclosing class:
- NetherFortressPieces
public static class NetherFortressPieces.CastleSmallCorridorLeftTurnPiece
extends NetherFortressPieces.NetherBridgePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private boolean
private static final int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorsConstructorDescriptionCastleSmallCorridorLeftTurnPiece
(int p_228232_, RandomSource p_228233_, BoundingBox p_228234_, Direction p_228235_) CastleSmallCorridorLeftTurnPiece
(CompoundTag p_228237_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_228259_, CompoundTag p_228260_) void
addChildren
(StructurePiece p_228247_, StructurePieceAccessor p_228248_, RandomSource p_228249_) createPiece
(StructurePieceAccessor p_228251_, RandomSource p_228252_, int p_228253_, int p_228254_, int p_228255_, Direction p_228256_, int p_228257_) void
postProcess
(WorldGenLevel p_228239_, StructureManager p_228240_, ChunkGenerator p_228241_, RandomSource p_228242_, BoundingBox p_228243_, ChunkPos p_228244_, BlockPos p_228245_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
generateChildForward, generateChildLeft, generateChildRight, isOkBox
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
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
DEPTH
private static final int DEPTH- See Also:
-
isNeedingChest
private boolean isNeedingChest
-
-
Constructor Details
-
CastleSmallCorridorLeftTurnPiece
public CastleSmallCorridorLeftTurnPiece(int p_228232_, RandomSource p_228233_, BoundingBox p_228234_, Direction p_228235_) -
CastleSmallCorridorLeftTurnPiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_228259_, CompoundTag p_228260_) - Overrides:
addAdditionalSaveData
in classNetherFortressPieces.NetherBridgePiece
-
addChildren
public void addChildren(StructurePiece p_228247_, StructurePieceAccessor p_228248_, RandomSource p_228249_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static NetherFortressPieces.CastleSmallCorridorLeftTurnPiece createPiece(StructurePieceAccessor p_228251_, RandomSource p_228252_, int p_228253_, int p_228254_, int p_228255_, Direction p_228256_, int p_228257_) -
postProcess
public void postProcess(WorldGenLevel p_228239_, StructureManager p_228240_, ChunkGenerator p_228241_, RandomSource p_228242_, BoundingBox p_228243_, ChunkPos p_228244_, BlockPos p_228245_) - Specified by:
postProcess
in classStructurePiece
-