Interface WeatherAwareVolume

All Superinterfaces:
BlockVolume, Volume

public interface WeatherAwareVolume extends BlockVolume
  • Method Details

    • precipitationLevelAt

      int precipitationLevelAt(int x, int z)
      Returns the y level that precipitation ends falling in the given column.

      A value is still returned for columns in biomes which do not receive precipitation.

      Parameters:
      x - The x column value
      z - The y column value
      Returns:
      The y level that precipitation ends
    • precipitationLevelAt

      default int precipitationLevelAt(Vector2i column)
      Returns the y level that precipitation ends falling in the given column.

      A value is still returned for columns in biomes which do not receive precipitation.

      Parameters:
      column - The column value
      Returns:
      The y level that precipitation ends
    • precipitationLevelAt

      default Vector3i precipitationLevelAt(Vector3i position)
      Returns the position that precipitation ends falling in the column of the given position.

      A position is still returned for positions in biomes which do not receive precipitation.

      Parameters:
      position - The position value
      Returns:
      The position that precipitation ends