Class NetherFortressPieces.BridgeCrossing
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.BridgeCrossing
- Direct Known Subclasses:
NetherFortressPieces.StartPiece
- Enclosing class:
NetherFortressPieces
public static class NetherFortressPieces.BridgeCrossing
extends NetherFortressPieces.NetherBridgePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class StructurePiece
StructurePiece.BlockSelector -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intFields inherited from class StructurePiece
boundingBox, CAVE_AIR, genDepth -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBridgeCrossing(int west, int north, Direction direction) BridgeCrossing(int genDepth, BoundingBox boundingBox, Direction direction) protectedBridgeCrossing(StructurePieceType type, CompoundTag tag) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) static @Nullable NetherFortressPieces.BridgeCrossingcreatePiece(StructurePieceAccessor structurePieceAccessor, int footX, int footY, int footZ, Direction direction, int genDepth) voidpostProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) Methods inherited from class NetherFortressPieces.NetherBridgePiece
addAdditionalSaveData, generateChildForward, generateChildLeft, generateChildRight, isOkBoxMethods inherited from class 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
-
BridgeCrossing
-
BridgeCrossing
-
BridgeCrossing
-
BridgeCrossing
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece startPiece, StructurePieceAccessor structurePieceAccessor, RandomSource random) - Overrides:
addChildrenin classStructurePiece
-
createPiece
public static @Nullable NetherFortressPieces.BridgeCrossing createPiece(StructurePieceAccessor structurePieceAccessor, int footX, int footY, int footZ, Direction direction, int genDepth) -
postProcess
public void postProcess(WorldGenLevel level, StructureManager structureManager, ChunkGenerator generator, RandomSource random, BoundingBox chunkBB, ChunkPos chunkPos, BlockPos referencePos) - Specified by:
postProcessin classStructurePiece
-