Class OceanMonumentPieces.OceanMonumentPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.OceanMonumentPieces.OceanMonumentPiece
- Direct Known Subclasses:
OceanMonumentPieces.MonumentBuilding
,OceanMonumentPieces.OceanMonumentCoreRoom
,OceanMonumentPieces.OceanMonumentDoubleXRoom
,OceanMonumentPieces.OceanMonumentDoubleXYRoom
,OceanMonumentPieces.OceanMonumentDoubleYRoom
,OceanMonumentPieces.OceanMonumentDoubleYZRoom
,OceanMonumentPieces.OceanMonumentDoubleZRoom
,OceanMonumentPieces.OceanMonumentEntryRoom
,OceanMonumentPieces.OceanMonumentPenthouse
,OceanMonumentPieces.OceanMonumentSimpleRoom
,OceanMonumentPieces.OceanMonumentSimpleTopRoom
,OceanMonumentPieces.OceanMonumentWingRoom
- Enclosing class:
- OceanMonumentPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprotected static BlockState
protected static BlockState
protected static BlockState
protected static boolean
protected static BlockState
protected static BlockState
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
protected static BlockState
protected static int
protected static int
protected static int
protected OceanMonumentPieces.RoomDefinition
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
OceanMonumentPiece(StructurePieceType p_72340_, int p_72341_, Direction p_72342_, OceanMonumentPieces.RoomDefinition p_72343_, int p_72344_, int p_72345_, int p_72346_)
OceanMonumentPiece(StructurePieceType p_163033_, Direction p_163034_, int p_163035_, BoundingBox p_163036_)
OceanMonumentPiece(StructurePieceType p_72352_, CompoundTag p_72353_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163038_, CompoundTag p_163039_)
protected boolean
chunkIntersects(BoundingBox p_72386_, int p_72387_, int p_72388_, int p_72389_, int p_72390_)
protected void
generateBoxOnFillOnly(WorldGenLevel p_72370_, BoundingBox p_72371_, int p_72372_, int p_72373_, int p_72374_, int p_72375_, int p_72376_, int p_72377_, BlockState p_72378_)
protected void
generateDefaultFloor(WorldGenLevel p_72380_, BoundingBox p_72381_, int p_72382_, int p_72383_, boolean p_72384_)
protected void
generateWaterBox(WorldGenLevel p_72361_, BoundingBox p_72362_, int p_72363_, int p_72364_, int p_72365_, int p_72366_, int p_72367_, int p_72368_)
protected static int
getRoomIndex(int p_72394_, int p_72395_, int p_72396_)
private static BoundingBox
makeBoundingBox(Direction p_163041_, OceanMonumentPieces.RoomDefinition p_163042_, int p_163043_, int p_163044_, int p_163045_)
protected boolean
spawnElder(WorldGenLevel p_72355_, BoundingBox p_72356_, int p_72357_, int p_72358_, int p_72359_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, 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, postProcess, reorient, setOrientation
-
Field Details
-
BASE_GRAY
-
BASE_LIGHT
-
BASE_BLACK
-
DOT_DECO_DATA
-
LAMP_BLOCK
-
DO_FILL
protected static final boolean DO_FILL- See Also:
- Constant Field Values
-
FILL_BLOCK
-
FILL_KEEP
-
GRIDROOM_WIDTH
protected static final int GRIDROOM_WIDTH- See Also:
- Constant Field Values
-
GRIDROOM_DEPTH
protected static final int GRIDROOM_DEPTH- See Also:
- Constant Field Values
-
GRIDROOM_HEIGHT
protected static final int GRIDROOM_HEIGHT- See Also:
- Constant Field Values
-
GRID_WIDTH
protected static final int GRID_WIDTH- See Also:
- Constant Field Values
-
GRID_DEPTH
protected static final int GRID_DEPTH- See Also:
- Constant Field Values
-
GRID_HEIGHT
protected static final int GRID_HEIGHT- See Also:
- Constant Field Values
-
GRID_FLOOR_COUNT
protected static final int GRID_FLOOR_COUNT- See Also:
- Constant Field Values
-
GRID_SIZE
protected static final int GRID_SIZE- See Also:
- Constant Field Values
-
GRIDROOM_SOURCE_INDEX
protected static final int GRIDROOM_SOURCE_INDEX -
GRIDROOM_TOP_CONNECT_INDEX
protected static final int GRIDROOM_TOP_CONNECT_INDEX -
GRIDROOM_LEFTWING_CONNECT_INDEX
protected static final int GRIDROOM_LEFTWING_CONNECT_INDEX -
GRIDROOM_RIGHTWING_CONNECT_INDEX
protected static final int GRIDROOM_RIGHTWING_CONNECT_INDEX -
LEFTWING_INDEX
protected static final int LEFTWING_INDEX- See Also:
- Constant Field Values
-
RIGHTWING_INDEX
protected static final int RIGHTWING_INDEX- See Also:
- Constant Field Values
-
PENTHOUSE_INDEX
protected static final int PENTHOUSE_INDEX- See Also:
- Constant Field Values
-
roomDefinition
-
-
Constructor Details
-
OceanMonumentPiece
public OceanMonumentPiece(StructurePieceType p_163033_, Direction p_163034_, int p_163035_, BoundingBox p_163036_) -
OceanMonumentPiece
protected OceanMonumentPiece(StructurePieceType p_72340_, int p_72341_, Direction p_72342_, OceanMonumentPieces.RoomDefinition p_72343_, int p_72344_, int p_72345_, int p_72346_) -
OceanMonumentPiece
-
-
Method Details
-
getRoomIndex
protected static int getRoomIndex(int p_72394_, int p_72395_, int p_72396_) -
makeBoundingBox
private static BoundingBox makeBoundingBox(Direction p_163041_, OceanMonumentPieces.RoomDefinition p_163042_, int p_163043_, int p_163044_, int p_163045_) -
addAdditionalSaveData
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateWaterBox
protected void generateWaterBox(WorldGenLevel p_72361_, BoundingBox p_72362_, int p_72363_, int p_72364_, int p_72365_, int p_72366_, int p_72367_, int p_72368_) -
generateDefaultFloor
protected void generateDefaultFloor(WorldGenLevel p_72380_, BoundingBox p_72381_, int p_72382_, int p_72383_, boolean p_72384_) -
generateBoxOnFillOnly
protected void generateBoxOnFillOnly(WorldGenLevel p_72370_, BoundingBox p_72371_, int p_72372_, int p_72373_, int p_72374_, int p_72375_, int p_72376_, int p_72377_, BlockState p_72378_) -
chunkIntersects
protected boolean chunkIntersects(BoundingBox p_72386_, int p_72387_, int p_72388_, int p_72389_, int p_72390_) -
spawnElder
protected boolean spawnElder(WorldGenLevel p_72355_, BoundingBox p_72356_, int p_72357_, int p_72358_, int p_72359_)
-