Class OceanMonumentPieces.OceanMonumentPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.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 final BlockState
protected static final BlockState
protected static final BlockState
protected static final boolean
protected static final BlockState
protected static final BlockState
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final BlockState
protected static final int
protected static final int
protected static final 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_228828_, int p_228829_, Direction p_228830_, OceanMonumentPieces.RoomDefinition p_228831_, int p_228832_, int p_228833_, int p_228834_) OceanMonumentPiece
(StructurePieceType p_228836_, Direction p_228837_, int p_228838_, BoundingBox p_228839_) OceanMonumentPiece
(StructurePieceType p_228841_, CompoundTag p_228842_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_228872_, CompoundTag p_228873_) protected boolean
chunkIntersects
(BoundingBox p_228866_, int p_228867_, int p_228868_, int p_228869_, int p_228870_) protected void
generateBoxOnFillOnly
(WorldGenLevel p_228850_, BoundingBox p_228851_, int p_228852_, int p_228853_, int p_228854_, int p_228855_, int p_228856_, int p_228857_, BlockState p_228858_) protected void
generateDefaultFloor
(WorldGenLevel p_228860_, BoundingBox p_228861_, int p_228862_, int p_228863_, boolean p_228864_) protected void
generateWaterBox
(WorldGenLevel p_228881_, BoundingBox p_228882_, int p_228883_, int p_228884_, int p_228885_, int p_228886_, int p_228887_, int p_228888_) protected static int
getRoomIndex
(int p_228890_, int p_228891_, int p_228892_) private static BoundingBox
makeBoundingBox
(Direction p_228875_, OceanMonumentPieces.RoomDefinition p_228876_, int p_228877_, int p_228878_, int p_228879_) protected boolean
spawnElder
(WorldGenLevel p_228844_, BoundingBox p_228845_, int p_228846_, int p_228847_, int p_228848_) Methods inherited from class net.minecraft.world.level.levelgen.structure.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
-
BASE_GRAY
-
BASE_LIGHT
-
BASE_BLACK
-
DOT_DECO_DATA
-
LAMP_BLOCK
-
DO_FILL
protected static final boolean DO_FILL- See Also:
-
FILL_BLOCK
-
FILL_KEEP
-
GRIDROOM_WIDTH
protected static final int GRIDROOM_WIDTH- See Also:
-
GRIDROOM_DEPTH
protected static final int GRIDROOM_DEPTH- See Also:
-
GRIDROOM_HEIGHT
protected static final int GRIDROOM_HEIGHT- See Also:
-
GRID_WIDTH
protected static final int GRID_WIDTH- See Also:
-
GRID_DEPTH
protected static final int GRID_DEPTH- See Also:
-
GRID_HEIGHT
protected static final int GRID_HEIGHT- See Also:
-
GRID_FLOOR_COUNT
protected static final int GRID_FLOOR_COUNT- See Also:
-
GRID_SIZE
protected static final int GRID_SIZE- See Also:
-
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:
-
RIGHTWING_INDEX
protected static final int RIGHTWING_INDEX- See Also:
-
PENTHOUSE_INDEX
protected static final int PENTHOUSE_INDEX- See Also:
-
roomDefinition
-
-
Constructor Details
-
OceanMonumentPiece
public OceanMonumentPiece(StructurePieceType p_228836_, Direction p_228837_, int p_228838_, BoundingBox p_228839_) -
OceanMonumentPiece
protected OceanMonumentPiece(StructurePieceType p_228828_, int p_228829_, Direction p_228830_, OceanMonumentPieces.RoomDefinition p_228831_, int p_228832_, int p_228833_, int p_228834_) -
OceanMonumentPiece
-
-
Method Details
-
getRoomIndex
protected static int getRoomIndex(int p_228890_, int p_228891_, int p_228892_) -
makeBoundingBox
private static BoundingBox makeBoundingBox(Direction p_228875_, OceanMonumentPieces.RoomDefinition p_228876_, int p_228877_, int p_228878_, int p_228879_) -
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_228872_, CompoundTag p_228873_) - Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateWaterBox
protected void generateWaterBox(WorldGenLevel p_228881_, BoundingBox p_228882_, int p_228883_, int p_228884_, int p_228885_, int p_228886_, int p_228887_, int p_228888_) -
generateDefaultFloor
protected void generateDefaultFloor(WorldGenLevel p_228860_, BoundingBox p_228861_, int p_228862_, int p_228863_, boolean p_228864_) -
generateBoxOnFillOnly
protected void generateBoxOnFillOnly(WorldGenLevel p_228850_, BoundingBox p_228851_, int p_228852_, int p_228853_, int p_228854_, int p_228855_, int p_228856_, int p_228857_, BlockState p_228858_) -
chunkIntersects
protected boolean chunkIntersects(BoundingBox p_228866_, int p_228867_, int p_228868_, int p_228869_, int p_228870_) -
spawnElder
protected boolean spawnElder(WorldGenLevel p_228844_, BoundingBox p_228845_, int p_228846_, int p_228847_, int p_228848_)
-