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 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_209894_, int p_209895_, Direction p_209896_, OceanMonumentPieces.RoomDefinition p_209897_, int p_209898_, int p_209899_, int p_209900_) OceanMonumentPiece
(StructurePieceType p_209902_, Direction p_209903_, int p_209904_, BoundingBox p_209905_) OceanMonumentPiece
(StructurePieceType p_209907_, CompoundTag p_209908_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192355_, CompoundTag p_192356_) 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, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, 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:
-
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_209902_, Direction p_209903_, int p_209904_, BoundingBox p_209905_) -
OceanMonumentPiece
protected OceanMonumentPiece(StructurePieceType p_209894_, int p_209895_, Direction p_209896_, OceanMonumentPieces.RoomDefinition p_209897_, int p_209898_, int p_209899_, int p_209900_) -
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
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192355_, CompoundTag p_192356_) - 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_)
-