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
public abstract static class OceanMonumentPieces.Piece extends StructurePiece
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
-
Field Summary
Fields Modifier and Type Field Description protected static BlockState
BASE_BLACK
protected static BlockState
BASE_GRAY
protected static BlockState
BASE_LIGHT
protected static BlockState
DOT_DECO_DATA
protected static BlockState
FILL_BLOCK
protected static java.util.Set<Block>
FILL_KEEP
protected static int
GRIDROOM_LEFTWING_CONNECT_INDEX
protected static int
GRIDROOM_RIGHTWING_CONNECT_INDEX
protected static int
GRIDROOM_SOURCE_INDEX
protected static int
GRIDROOM_TOP_CONNECT_INDEX
protected static BlockState
LAMP_BLOCK
protected OceanMonumentPieces.RoomDefinition
roomDefinition
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Modifier Constructor Description Piece(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 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 Detail
-
BASE_GRAY
protected static final BlockState BASE_GRAY
-
BASE_LIGHT
protected static final BlockState BASE_LIGHT
-
BASE_BLACK
protected static final BlockState BASE_BLACK
-
DOT_DECO_DATA
protected static final BlockState DOT_DECO_DATA
-
LAMP_BLOCK
protected static final BlockState LAMP_BLOCK
-
FILL_BLOCK
protected static final BlockState FILL_BLOCK
-
FILL_KEEP
protected static final java.util.Set<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
protected OceanMonumentPieces.RoomDefinition roomDefinition
-
-
Constructor Detail
-
Piece
public Piece(IStructurePieceType p_i50647_1_, int p_i50647_2_)
-
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
public Piece(IStructurePieceType p_i50650_1_, CompoundNBT p_i50650_2_)
-
-
Method Detail
-
getRoomIndex
protected static final int getRoomIndex(int p_175820_0_, int p_175820_1_, int p_175820_2_)
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- 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_)
-
-