Class OceanMonumentPieces.OceanMonumentPiece

java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.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_72394_, int p_72395_, int p_72396_)
    • makeBoundingBox

      private static BoundingBox makeBoundingBox(Direction p_163041_, OceanMonumentPieces.RoomDefinition p_163042_, int p_163043_, int p_163044_, int p_163045_)
    • addAdditionalSaveData

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

      protected void generateWaterBox(WorldGenLevel p_72361_, BoundingBox p_72362_, int p_72363_, int p_72364_, int p_72365_, int p_72366_, int p_72367_, int p_72368_)
    • generateDefaultFloor

      protected void generateDefaultFloor(WorldGenLevel p_72380_, BoundingBox p_72381_, int p_72382_, int p_72383_, boolean p_72384_)
    • generateBoxOnFillOnly

      protected void generateBoxOnFillOnly(WorldGenLevel p_72370_, BoundingBox p_72371_, int p_72372_, int p_72373_, int p_72374_, int p_72375_, int p_72376_, int p_72377_, BlockState p_72378_)
    • chunkIntersects

      protected boolean chunkIntersects(BoundingBox p_72386_, int p_72387_, int p_72388_, int p_72389_, int p_72390_)
    • spawnElder

      protected boolean spawnElder(WorldGenLevel p_72355_, BoundingBox p_72356_, int p_72357_, int p_72358_, int p_72359_)