Class NetherBridgePieces.BridgeCrossing
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.NetherBridgePieces.NetherBridgePiece
net.minecraft.world.level.levelgen.structure.NetherBridgePieces.BridgeCrossing
- Direct Known Subclasses:
NetherBridgePieces.StartPiece
- Enclosing class:
- NetherBridgePieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int
private static int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
BridgeCrossing(int p_162637_, int p_162638_, Direction p_162639_)
BridgeCrossing(int p_71565_, BoundingBox p_71566_, Direction p_71567_)
BridgeCrossing(ServerLevel p_162641_, CompoundTag p_162642_)
protected
BridgeCrossing(StructurePieceType p_71569_, CompoundTag p_71570_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren(StructurePiece p_162644_, StructurePieceAccessor p_162645_, Random p_162646_)
createPiece(StructurePieceAccessor p_162648_, int p_162649_, int p_162650_, int p_162651_, Direction p_162652_, int p_162653_)
boolean
postProcess(WorldGenLevel p_71579_, StructureFeatureManager p_71580_, ChunkGenerator p_71581_, Random p_71582_, BoundingBox p_71583_, ChunkPos p_71584_, BlockPos p_71585_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.NetherBridgePieces.NetherBridgePiece
addAdditionalSaveData, generateChildForward, generateChildLeft, generateChildRight, isOkBox
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
canBeReplaced, createChest, createChest, createDispenser, createTag, fillColumnDown, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
- Constant Field Values
-
HEIGHT
private static final int HEIGHT- See Also:
- Constant Field Values
-
DEPTH
private static final int DEPTH- See Also:
- Constant Field Values
-
-
Constructor Details
-
BridgeCrossing
-
BridgeCrossing
-
BridgeCrossing
-
BridgeCrossing
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_162644_, StructurePieceAccessor p_162645_, Random p_162646_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static NetherBridgePieces.BridgeCrossing createPiece(StructurePieceAccessor p_162648_, int p_162649_, int p_162650_, int p_162651_, Direction p_162652_, int p_162653_) -
postProcess
public boolean postProcess(WorldGenLevel p_71579_, StructureFeatureManager p_71580_, ChunkGenerator p_71581_, Random p_71582_, BoundingBox p_71583_, ChunkPos p_71584_, BlockPos p_71585_)- Specified by:
postProcess
in classStructurePiece
-