public abstract static class OceanMonumentPieces.Piece extends StructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected static BlockState |
BRICKS_PRISMARINE |
protected static BlockState |
DARK_PRISMARINE |
protected static BlockState |
DOT_DECO_DATA |
protected static java.util.Set<Block> |
field_212180_g |
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 OceanMonumentPieces.RoomDefinition |
roomDefinition |
protected static BlockState |
ROUGH_PRISMARINE |
protected static BlockState |
SEA_LANTERN |
protected static BlockState |
WATER |
boundingBox, CAVE_AIR, componentType
Modifier | Constructor and Description |
---|---|
|
Piece(IStructurePieceType p_i50650_1_,
CompoundNBT p_i50650_2_) |
|
Piece(IStructurePieceType p_i50648_1_,
Direction p_i50648_2_,
MutableBoundingBox p_i50648_3_) |
|
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_) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doesChunkIntersect(MutableBoundingBox p_175818_1_,
int p_175818_2_,
int p_175818_3_,
int p_175818_4_,
int p_175818_5_) |
protected void |
generateBoxOnFillOnly(IWorld worldIn,
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(IWorld worldIn,
MutableBoundingBox p_175821_2_,
int x,
int z,
boolean hasOpeningDownwards) |
protected static int |
getRoomIndex(int p_175820_0_,
int p_175820_1_,
int p_175820_2_) |
protected void |
makeOpening(IWorld worldIn,
MutableBoundingBox boundingBoxIn,
int x1,
int y1,
int z1,
int x2,
int y2,
int z2) |
protected void |
readAdditional(CompoundNBT tagCompound) |
protected boolean |
spawnElder(IWorld worldIn,
MutableBoundingBox p_175817_2_,
int p_175817_3_,
int p_175817_4_,
int p_175817_5_) |
buildComponent, correctFacing, create, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected static final BlockState ROUGH_PRISMARINE
protected static final BlockState BRICKS_PRISMARINE
protected static final BlockState DARK_PRISMARINE
protected static final BlockState DOT_DECO_DATA
protected static final BlockState SEA_LANTERN
protected static final BlockState WATER
protected static final java.util.Set<Block> field_212180_g
protected static final int GRIDROOM_SOURCE_INDEX
protected static final int GRIDROOM_TOP_CONNECT_INDEX
protected static final int GRIDROOM_LEFTWING_CONNECT_INDEX
protected static final int GRIDROOM_RIGHTWING_CONNECT_INDEX
protected OceanMonumentPieces.RoomDefinition roomDefinition
public Piece(IStructurePieceType p_i50647_1_, int p_i50647_2_)
public Piece(IStructurePieceType p_i50648_1_, Direction p_i50648_2_, MutableBoundingBox p_i50648_3_)
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_)
public Piece(IStructurePieceType p_i50650_1_, CompoundNBT p_i50650_2_)
protected static final int getRoomIndex(int p_175820_0_, int p_175820_1_, int p_175820_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class StructurePiece
protected void makeOpening(IWorld worldIn, MutableBoundingBox boundingBoxIn, int x1, int y1, int z1, int x2, int y2, int z2)
protected void generateDefaultFloor(IWorld worldIn, MutableBoundingBox p_175821_2_, int x, int z, boolean hasOpeningDownwards)
protected void generateBoxOnFillOnly(IWorld worldIn, 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 boolean doesChunkIntersect(MutableBoundingBox p_175818_1_, int p_175818_2_, int p_175818_3_, int p_175818_4_, int p_175818_5_)
protected boolean spawnElder(IWorld worldIn, MutableBoundingBox p_175817_2_, int p_175817_3_, int p_175817_4_, int p_175817_5_)