Class StrongholdPieces.Turn
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.StrongholdPiece
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.Turn
- Direct Known Subclasses:
StrongholdPieces.LeftTurn, StrongholdPieces.RightTurn
- Enclosing class:
StrongholdPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class StrongholdPieces.StrongholdPiece
StrongholdPieces.StrongholdPiece.SmallDoorTypeNested classes/interfaces inherited from class StructurePiece
StructurePiece.BlockSelector -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected static final intFields inherited from class StrongholdPieces.StrongholdPiece
entryDoorFields inherited from class StructurePiece
boundingBox, CAVE_AIR, genDepth -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTurn(StructurePieceType type, int genDepth, BoundingBox boundingBox) Turn(StructurePieceType type, CompoundTag tag) -
Method Summary
Methods inherited from class StrongholdPieces.StrongholdPiece
addAdditionalSaveData, generateSmallDoor, generateSmallDoorChildForward, generateSmallDoorChildLeft, generateSmallDoorChildRight, isOkBox, randomSmallDoorMethods inherited from class StructurePiece
addChildren, 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, postProcess, reorient, setGenDepth, setOrientation
-
Field Details
-
WIDTH
protected static final int WIDTH- See Also:
-
HEIGHT
protected static final int HEIGHT- See Also:
-
DEPTH
protected static final int DEPTH- See Also:
-
-
Constructor Details
-
Turn
-
Turn
-