Class StrongholdPieces.Turn
java.lang.Object
cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.Turn
- Direct Known Subclasses:
StrongholdPieces.LeftTurn
,StrongholdPieces.RightTurn
- Enclosing class:
- StrongholdPieces
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType
Nested classes/interfaces inherited from class cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprotected cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType
Fields inherited from class cn.nukkit.level.generator.populator.impl.structure.utils.structure.StructurePiece
boundingBox, genDepth, level
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
generateSmallDoor
(ChunkManager level, NukkitRandom random, BoundingBox boundingBox, cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType type, int x, int y, int z) protected StructurePiece
generateSmallDoorChildForward
(StrongholdPieces.StartPiece piece, List<StructurePiece> pieces, NukkitRandom random, int x, int y) protected StructurePiece
generateSmallDoorChildLeft
(StrongholdPieces.StartPiece piece, List<StructurePiece> pieces, NukkitRandom random, int y, int z) protected StructurePiece
generateSmallDoorChildRight
(StrongholdPieces.StartPiece piece, List<StructurePiece> pieces, NukkitRandom random, int y, int z) getType()
protected static boolean
isOkBox
(BoundingBox boundingBox) protected cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType
randomSmallDoor
(NukkitRandom random) 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, postProcess, setOrientation
-
Field Details
-
entryDoor
protected cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType entryDoor
-
-
Constructor Details
-
Turn
protected Turn(int genDepth) -
Turn
-
-
Method Details
-
isOkBox
-
getType
- Specified by:
getType
in classStructurePiece
-
addAdditionalSaveData
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateSmallDoor
protected void generateSmallDoor(ChunkManager level, NukkitRandom random, BoundingBox boundingBox, cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType type, int x, int y, int z) -
randomSmallDoor
protected cn.nukkit.level.generator.populator.impl.structure.stronghold.structure.StrongholdPieces.StrongholdPiece.SmallDoorType randomSmallDoor(NukkitRandom random) -
generateSmallDoorChildForward
@Nullable protected StructurePiece generateSmallDoorChildForward(StrongholdPieces.StartPiece piece, List<StructurePiece> pieces, NukkitRandom random, int x, int y) -
generateSmallDoorChildLeft
@Nullable protected StructurePiece generateSmallDoorChildLeft(StrongholdPieces.StartPiece piece, List<StructurePiece> pieces, NukkitRandom random, int y, int z) -
generateSmallDoorChildRight
@Nullable protected StructurePiece generateSmallDoorChildRight(StrongholdPieces.StartPiece piece, List<StructurePiece> pieces, NukkitRandom random, int y, int z)
-