Class NetherFortressPieces.BridgeStraight
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.BridgeStraight
- Enclosing class:
- NetherFortressPieces
public static class NetherFortressPieces.BridgeStraight
extends NetherFortressPieces.NetherBridgePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionBridgeStraight
(int p_228087_, RandomSource p_228088_, BoundingBox p_228089_, Direction p_228090_) BridgeStraight
(CompoundTag p_228092_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren
(StructurePiece p_228102_, StructurePieceAccessor p_228103_, RandomSource p_228104_) createPiece
(StructurePieceAccessor p_228106_, RandomSource p_228107_, int p_228108_, int p_228109_, int p_228110_, Direction p_228111_, int p_228112_) void
postProcess
(WorldGenLevel p_228094_, StructureManager p_228095_, ChunkGenerator p_228096_, RandomSource p_228097_, BoundingBox p_228098_, ChunkPos p_228099_, BlockPos p_228100_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
addAdditionalSaveData, 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:
-
-
Constructor Details
-
BridgeStraight
public BridgeStraight(int p_228087_, RandomSource p_228088_, BoundingBox p_228089_, Direction p_228090_) -
BridgeStraight
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_228102_, StructurePieceAccessor p_228103_, RandomSource p_228104_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static NetherFortressPieces.BridgeStraight createPiece(StructurePieceAccessor p_228106_, RandomSource p_228107_, int p_228108_, int p_228109_, int p_228110_, Direction p_228111_, int p_228112_) -
postProcess
public void postProcess(WorldGenLevel p_228094_, StructureManager p_228095_, ChunkGenerator p_228096_, RandomSource p_228097_, BoundingBox p_228098_, ChunkPos p_228099_, BlockPos p_228100_) - Specified by:
postProcess
in classStructurePiece
-