Class NetherBridgePieces.BridgeStraight
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.BridgeStraight
- 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
ConstructorDescriptionBridgeStraight(int p_71625_, Random p_71626_, BoundingBox p_71627_, Direction p_71628_)
BridgeStraight(ServerLevel p_162675_, CompoundTag p_162676_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren(StructurePiece p_162678_, StructurePieceAccessor p_162679_, Random p_162680_)
createPiece(StructurePieceAccessor p_162682_, Random p_162683_, int p_162684_, int p_162685_, int p_162686_, Direction p_162687_, int p_162688_)
boolean
postProcess(WorldGenLevel p_71633_, StructureFeatureManager p_71634_, ChunkGenerator p_71635_, Random p_71636_, BoundingBox p_71637_, ChunkPos p_71638_, BlockPos p_71639_)
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
-
BridgeStraight
-
BridgeStraight
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_162678_, StructurePieceAccessor p_162679_, Random p_162680_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static NetherBridgePieces.BridgeStraight createPiece(StructurePieceAccessor p_162682_, Random p_162683_, int p_162684_, int p_162685_, int p_162686_, Direction p_162687_, int p_162688_) -
postProcess
public boolean postProcess(WorldGenLevel p_71633_, StructureFeatureManager p_71634_, ChunkGenerator p_71635_, Random p_71636_, BoundingBox p_71637_, ChunkPos p_71638_, BlockPos p_71639_)- Specified by:
postProcess
in classStructurePiece
-