Class OceanMonumentPieces.Piece
java.lang.Object
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.world.gen.feature.structure.OceanMonumentPieces.Piece
- Direct Known Subclasses:
OceanMonumentPieces.DoubleXRoom
,OceanMonumentPieces.DoubleXYRoom
,OceanMonumentPieces.DoubleYRoom
,OceanMonumentPieces.DoubleYZRoom
,OceanMonumentPieces.DoubleZRoom
,OceanMonumentPieces.EntryRoom
,OceanMonumentPieces.MonumentBuilding
,OceanMonumentPieces.MonumentCoreRoom
,OceanMonumentPieces.Penthouse
,OceanMonumentPieces.SimpleRoom
,OceanMonumentPieces.SimpleTopRoom
,OceanMonumentPieces.WingRoom
- Enclosing class:
- OceanMonumentPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final BlockState
protected static final BlockState
protected static final BlockState
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 BlockState
protected OceanMonumentPieces.RoomDefinition
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionPiece
(IStructurePieceType p_i50647_1_, int p_i50647_2_) protected
Piece
(IStructurePieceType p_i50649_1_, int p_i50649_2_, Direction p_i50649_3_, OceanMonumentPieces.RoomDefinition p_i50649_4_, int p_i50649_5_, int p_i50649_6_, int p_i50649_7_) Piece
(IStructurePieceType p_i50650_1_, CompoundNBT p_i50650_2_) Piece
(IStructurePieceType p_i50648_1_, Direction p_i50648_2_, MutableBoundingBox p_i50648_3_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(CompoundNBT p_143011_1_) protected boolean
chunkIntersects
(MutableBoundingBox p_175818_1_, int p_175818_2_, int p_175818_3_, int p_175818_4_, int p_175818_5_) protected void
generateBoxOnFillOnly
(ISeedReader p_175819_1_, MutableBoundingBox p_175819_2_, int p_175819_3_, int p_175819_4_, int p_175819_5_, int p_175819_6_, int p_175819_7_, int p_175819_8_, BlockState p_175819_9_) protected void
generateDefaultFloor
(ISeedReader p_175821_1_, MutableBoundingBox p_175821_2_, int p_175821_3_, int p_175821_4_, boolean p_175821_5_) protected void
generateWaterBox
(ISeedReader p_209179_1_, MutableBoundingBox p_209179_2_, int p_209179_3_, int p_209179_4_, int p_209179_5_, int p_209179_6_, int p_209179_7_, int p_209179_8_) protected static final int
getRoomIndex
(int p_175820_0_, int p_175820_1_, int p_175820_2_) protected boolean
spawnElder
(ISeedReader p_175817_1_, MutableBoundingBox p_175817_2_, int p_175817_3_, int p_175817_4_, int p_175817_5_) Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
addChildren, createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, move, placeBlock, postProcess, reorient, setOrientation
-
Field Details
-
BASE_GRAY
-
BASE_LIGHT
-
BASE_BLACK
-
DOT_DECO_DATA
-
LAMP_BLOCK
-
FILL_BLOCK
-
FILL_KEEP
-
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 -
roomDefinition
-
-
Constructor Details
-
Piece
-
Piece
public Piece(IStructurePieceType p_i50648_1_, Direction p_i50648_2_, MutableBoundingBox p_i50648_3_) -
Piece
protected Piece(IStructurePieceType p_i50649_1_, int p_i50649_2_, Direction p_i50649_3_, OceanMonumentPieces.RoomDefinition p_i50649_4_, int p_i50649_5_, int p_i50649_6_, int p_i50649_7_) -
Piece
-
-
Method Details
-
getRoomIndex
protected static final int getRoomIndex(int p_175820_0_, int p_175820_1_, int p_175820_2_) -
addAdditionalSaveData
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateWaterBox
protected void generateWaterBox(ISeedReader p_209179_1_, MutableBoundingBox p_209179_2_, int p_209179_3_, int p_209179_4_, int p_209179_5_, int p_209179_6_, int p_209179_7_, int p_209179_8_) -
generateDefaultFloor
protected void generateDefaultFloor(ISeedReader p_175821_1_, MutableBoundingBox p_175821_2_, int p_175821_3_, int p_175821_4_, boolean p_175821_5_) -
generateBoxOnFillOnly
protected void generateBoxOnFillOnly(ISeedReader p_175819_1_, MutableBoundingBox p_175819_2_, int p_175819_3_, int p_175819_4_, int p_175819_5_, int p_175819_6_, int p_175819_7_, int p_175819_8_, BlockState p_175819_9_) -
chunkIntersects
protected boolean chunkIntersects(MutableBoundingBox p_175818_1_, int p_175818_2_, int p_175818_3_, int p_175818_4_, int p_175818_5_) -
spawnElder
protected boolean spawnElder(ISeedReader p_175817_1_, MutableBoundingBox p_175817_2_, int p_175817_3_, int p_175817_4_, int p_175817_5_)
-