public abstract static class OceanMonumentGenerator.Piece extends StructurePiece
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
protected static BlockState |
DARK_PRISMARINE |
protected static BlockState |
field_14470 |
protected static int |
FOUR_ONE_ZERO_INDEX |
protected static Set<Block> |
ICE_BLOCKS |
protected static BlockState |
PRISMARINE |
protected static BlockState |
PRISMARINE_BRICKS |
protected static BlockState |
SEA_LANTERN |
protected OceanMonumentGenerator.PieceSetting |
setting |
protected static int |
TWO_TWO_ZERO_INDEX |
protected static int |
TWO_ZERO_ZERO_INDEX |
protected static BlockState |
WATER |
protected static int |
ZERO_ONE_ZERO_INDEX |
AIR, boundingBox, chainLength
Modifier | Constructor and Description |
---|---|
|
Piece(StructurePieceType type,
CompoundTag tag) |
|
Piece(StructurePieceType structurePieceType,
Direction direction,
BlockBox blockBox) |
|
Piece(StructurePieceType type,
int length) |
protected |
Piece(StructurePieceType structurePieceType,
int int2,
Direction direction,
OceanMonumentGenerator.PieceSetting pieceSetting,
int int3,
int int4,
int int5) |
Modifier and Type | Method and Description |
---|---|
protected static int |
getIndex(int x,
int y,
int z) |
protected void |
method_14771(StructureWorldAccess structureWorldAccess,
BlockBox blockBox,
int int2,
int int3,
int int4,
int int5,
int int6,
int int7,
BlockState blockState) |
protected boolean |
method_14772(StructureWorldAccess structureWorldAccess,
BlockBox blockBox,
int int2,
int int3,
int int4) |
protected void |
method_14774(StructureWorldAccess structureWorldAccess,
BlockBox blockBox,
int int2,
int int3,
boolean bool) |
protected boolean |
method_14775(BlockBox blockBox,
int int2,
int int3,
int int4,
int int5) |
protected void |
setAirAndWater(StructureWorldAccess structureWorldAccess,
BlockBox blockBox,
int x,
int y,
int z,
int width,
int height,
int depth) |
protected void |
toNbt(CompoundTag tag) |
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
protected static final BlockState PRISMARINE
protected static final BlockState PRISMARINE_BRICKS
protected static final BlockState DARK_PRISMARINE
protected static final BlockState field_14470
protected static final BlockState SEA_LANTERN
protected static final BlockState WATER
protected static final int TWO_ZERO_ZERO_INDEX
protected static final int TWO_TWO_ZERO_INDEX
protected static final int ZERO_ONE_ZERO_INDEX
protected static final int FOUR_ONE_ZERO_INDEX
protected OceanMonumentGenerator.PieceSetting setting
public Piece(StructurePieceType type, int length)
public Piece(StructurePieceType structurePieceType, Direction direction, BlockBox blockBox)
protected Piece(StructurePieceType structurePieceType, int int2, Direction direction, OceanMonumentGenerator.PieceSetting pieceSetting, int int3, int int4, int int5)
public Piece(StructurePieceType type, CompoundTag tag)
protected static final int getIndex(int x, int y, int z)
protected void toNbt(CompoundTag tag)
toNbt
in class StructurePiece
protected void setAirAndWater(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int x, int y, int z, int width, int height, int depth)
protected void method_14774(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, boolean bool)
protected void method_14771(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4, int int5, int int6, int int7, BlockState blockState)
protected boolean method_14775(BlockBox blockBox, int int2, int int3, int int4, int int5)
protected boolean method_14772(StructureWorldAccess structureWorldAccess, BlockBox blockBox, int int2, int int3, int int4)