net.minecraft.structure

public abstract class OceanMonumentGenerator$Piece

extends StructurePiece

net.minecraft.world.level.levelgen.structure.structures.OceanMonumentPieces$OceanMonumentPiece
net.minecraft.class_3366$class_3384
net.minecraft.structure.OceanMonumentGenerator$Piece

Field summary

Modifier and TypeField
protected static final BlockState
BASE_GRAY
field_14473
PRISMARINE
protected static final BlockState
BASE_LIGHT
field_14476
PRISMARINE_BRICKS
protected static final BlockState
BASE_BLACK
field_14474
DARK_PRISMARINE
protected static final BlockState
DOT_DECO_DATA
field_14470
ALSO_PRISMARINE_BRICKS
protected static final BlockState
LAMP_BLOCK
field_14471
SEA_LANTERN
protected static final boolean
DO_FILL
field_31607
field_31607
protected static final BlockState
FILL_BLOCK
field_14475
WATER
protected static final Set<Block>
FILL_KEEP
field_14472
ICE_BLOCKS
protected static final int
GRIDROOM_WIDTH
field_31608
BASE_SIZE_X
protected static final int
GRIDROOM_DEPTH
field_31609
BASE_SIZE_Z
protected static final int
GRIDROOM_HEIGHT
field_31610
BASE_SIZE_Y
protected static final int
GRID_WIDTH
field_31611
PIECE_GRID_SIZE_X
protected static final int
GRID_DEPTH
field_31612
PIECE_GRID_SIZE_Z
protected static final int
GRID_HEIGHT
field_31613
PIECE_GRID_SIZE_Y
protected static final int
GRID_FLOOR_COUNT
field_31614
LEVEL_TWO_INDEX_BOUND
protected static final int
GRID_SIZE
field_31615
LEVEL_THREE_INDEX_BOUND
protected static final int
GRIDROOM_SOURCE_INDEX
field_14469
TWO_ZERO_ZERO_INDEX
protected static final int
GRIDROOM_TOP_CONNECT_INDEX
field_14468
TWO_TWO_ZERO_INDEX
protected static final int
GRIDROOM_LEFTWING_CONNECT_INDEX
field_14478
ZERO_ONE_ZERO_INDEX
protected static final int
GRIDROOM_RIGHTWING_CONNECT_INDEX
field_14477
FOUR_ONE_ZERO_INDEX
protected static final int
LEFTWING_INDEX
field_31616
WING_ROOM_A
protected static final int
RIGHTWING_INDEX
field_31617
WING_ROOM_B
protected static final int
PENTHOUSE_INDEX
field_31618
CORE_ROOM
protected OceanMonumentGenerator$PieceSetting
roomDefinition
field_14479
setting

Constructor summary

ModifierConstructor
public (StructurePieceType type, Direction orientation, int length, BlockBox box)
protected (StructurePieceType type, int length, Direction orientation, OceanMonumentGenerator$PieceSetting setting, int x, int y, int z)
public (StructurePieceType type, NbtCompound tag)

Method summary

Modifier and TypeMethod
protected static int
getRoomIndex(int roomX, int roomY, int roomZ)
method_14770(int arg0, int arg1, int arg2)
getIndex(int x, int y, int z)
private static BlockBox
makeBoundingBox(Direction orientation, OceanMonumentPieces$RoomDefinition roomDefinition, int roomWidth, int roomHeight, int roomDepth)
method_35445(class_2350 arg0, class_3366$class_3388 arg1, int arg2, int arg3, int arg4)
createBox(Direction orientation, OceanMonumentGenerator$PieceSetting setting, int x, int y, int z)
protected void
addAdditionalSaveData(StructurePieceSerializationContext context, CompoundTag tag)
method_14943(class_6625 arg0, class_2487 arg1)
writeNbt(StructureContext arg0, NbtCompound arg1)
protected void
generateWaterBox(WorldGenLevel level, BoundingBox chunkBB, int x0, int y0, int z0, int x1, int y1, int z1)
method_14773(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7)
setAirAndWater(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth)
protected void
generateDefaultFloor(WorldGenLevel level, BoundingBox chunkBB, int xOff, int zOff, boolean downOpening)
method_14774(class_5281 arg0, class_3341 arg1, int arg2, int arg3, boolean arg4)
generateVerticalConnection(StructureWorldAccess world, BlockBox box, int x, int z, boolean neighbor)
protected void
generateBoxOnFillOnly(WorldGenLevel level, BoundingBox chunkBB, int x0, int y0, int z0, int x1, int y1, int z1, BlockState targetBlock)
method_14771(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, class_2680 arg8)
fillArea(StructureWorldAccess world, BlockBox box, int x, int y, int z, int width, int height, int depth, BlockState state)
protected boolean
chunkIntersects(BoundingBox chunkBB, int x0, int z0, int x1, int z1)
method_14775(class_3341 arg0, int arg1, int arg2, int arg3, int arg4)
boxIntersects(BlockBox box, int x1, int z1, int x2, int z2)
protected void
spawnElder(WorldGenLevel level, BoundingBox chunkBB, int x, int y, int z)
method_14772(class_5281 arg0, class_3341 arg1, int arg2, int arg3, int arg4)
spawnElderGuardian(StructureWorldAccess world, BlockBox box, int x, int y, int z)