Class NetherBridgePieces.BridgeEndFiller
java.lang.Object
cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
cn.nukkit.level.generator.populator.impl.structure.netherfortress.structure.NetherBridgePieces.BridgeEndFiller
- Enclosing class:
- NetherBridgePieces
-
Nested Class Summary
Nested classes/interfaces inherited from class cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
boundingBox, genDepth, level
-
Constructor Summary
ConstructorDescriptionBridgeEndFiller
(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createPiece
(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) protected StructurePiece
generateChildForward
(NetherBridgePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int horizontalOffset, int yOffset, boolean isCastle) protected StructurePiece
generateChildLeft
(NetherBridgePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int yOffset, int horizontalOffset, boolean isCastle) protected StructurePiece
generateChildRight
(NetherBridgePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int yOffset, int horizontalOffset, boolean isCastle) getType()
protected static boolean
isOkBox
(BoundingBox boundingBox) boolean
postProcess
(ChunkManager level, NukkitRandom random, BoundingBox boundingBox, int chunkX, int chunkZ) Methods inherited from class cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
addChildren, createTag, edgesLiquid, fillAirColumnUp, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateDoor, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getWorldX, getWorldY, getWorldZ, isInterior, isLiquid, maybeGenerateBlock, move, placeBlock, setOrientation
-
Constructor Details
-
BridgeEndFiller
public BridgeEndFiller(int genDepth, NukkitRandom random, BoundingBox boundingBox, BlockFace orientation) -
BridgeEndFiller
-
-
Method Details
-
createPiece
public static NetherBridgePieces.BridgeEndFiller createPiece(List<StructurePiece> pieces, NukkitRandom random, int x, int y, int z, BlockFace orientation, int genDepth) -
getType
- Specified by:
getType
in classStructurePiece
-
addAdditionalSaveData
-
postProcess
public boolean postProcess(ChunkManager level, NukkitRandom random, BoundingBox boundingBox, int chunkX, int chunkZ) - Specified by:
postProcess
in classStructurePiece
-
isOkBox
-
generateChildForward
@Nullable protected StructurePiece generateChildForward(NetherBridgePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int horizontalOffset, int yOffset, boolean isCastle) -
generateChildLeft
@Nullable protected StructurePiece generateChildLeft(NetherBridgePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int yOffset, int horizontalOffset, boolean isCastle) -
generateChildRight
@Nullable protected StructurePiece generateChildRight(NetherBridgePieces.StartPiece start, List<StructurePiece> pieces, NukkitRandom random, int yOffset, int horizontalOffset, boolean isCastle)
-