Class OceanMonumentPieces.OceanMonumentPiece

java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.OceanMonumentPieces.OceanMonumentPiece
Direct Known Subclasses:
OceanMonumentPieces.MonumentBuilding, OceanMonumentPieces.OceanMonumentCoreRoom, OceanMonumentPieces.OceanMonumentDoubleXRoom, OceanMonumentPieces.OceanMonumentDoubleXYRoom, OceanMonumentPieces.OceanMonumentDoubleYRoom, OceanMonumentPieces.OceanMonumentDoubleYZRoom, OceanMonumentPieces.OceanMonumentDoubleZRoom, OceanMonumentPieces.OceanMonumentEntryRoom, OceanMonumentPieces.OceanMonumentPenthouse, OceanMonumentPieces.OceanMonumentSimpleRoom, OceanMonumentPieces.OceanMonumentSimpleTopRoom, OceanMonumentPieces.OceanMonumentWingRoom
Enclosing class:
OceanMonumentPieces

protected abstract static class OceanMonumentPieces.OceanMonumentPiece extends StructurePiece
  • Field Details

    • 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
    • DO_FILL

      protected static final boolean DO_FILL
      See Also:
    • FILL_BLOCK

      protected static final BlockState FILL_BLOCK
    • FILL_KEEP

      protected static final Set<Block> FILL_KEEP
    • GRIDROOM_WIDTH

      protected static final int GRIDROOM_WIDTH
      See Also:
    • GRIDROOM_DEPTH

      protected static final int GRIDROOM_DEPTH
      See Also:
    • GRIDROOM_HEIGHT

      protected static final int GRIDROOM_HEIGHT
      See Also:
    • GRID_WIDTH

      protected static final int GRID_WIDTH
      See Also:
    • GRID_DEPTH

      protected static final int GRID_DEPTH
      See Also:
    • GRID_HEIGHT

      protected static final int GRID_HEIGHT
      See Also:
    • GRID_FLOOR_COUNT

      protected static final int GRID_FLOOR_COUNT
      See Also:
    • GRID_SIZE

      protected static final int GRID_SIZE
      See Also:
    • 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
    • LEFTWING_INDEX

      protected static final int LEFTWING_INDEX
      See Also:
    • RIGHTWING_INDEX

      protected static final int RIGHTWING_INDEX
      See Also:
    • PENTHOUSE_INDEX

      protected static final int PENTHOUSE_INDEX
      See Also:
    • roomDefinition

      protected OceanMonumentPieces.RoomDefinition roomDefinition
  • Constructor Details

  • Method Details

    • getRoomIndex

      protected static int getRoomIndex(int p_228890_, int p_228891_, int p_228892_)
    • makeBoundingBox

      private static BoundingBox makeBoundingBox(Direction p_228875_, OceanMonumentPieces.RoomDefinition p_228876_, int p_228877_, int p_228878_, int p_228879_)
    • addAdditionalSaveData

      protected void addAdditionalSaveData(StructurePieceSerializationContext p_228872_, CompoundTag p_228873_)
      Specified by:
      addAdditionalSaveData in class StructurePiece
    • generateWaterBox

      protected void generateWaterBox(WorldGenLevel p_228881_, BoundingBox p_228882_, int p_228883_, int p_228884_, int p_228885_, int p_228886_, int p_228887_, int p_228888_)
    • generateDefaultFloor

      protected void generateDefaultFloor(WorldGenLevel p_228860_, BoundingBox p_228861_, int p_228862_, int p_228863_, boolean p_228864_)
    • generateBoxOnFillOnly

      protected void generateBoxOnFillOnly(WorldGenLevel p_228850_, BoundingBox p_228851_, int p_228852_, int p_228853_, int p_228854_, int p_228855_, int p_228856_, int p_228857_, BlockState p_228858_)
    • chunkIntersects

      protected boolean chunkIntersects(BoundingBox p_228866_, int p_228867_, int p_228868_, int p_228869_, int p_228870_)
    • spawnElder

      protected boolean spawnElder(WorldGenLevel p_228844_, BoundingBox p_228845_, int p_228846_, int p_228847_, int p_228848_)