Interface WeatherAwareVolume
- All Superinterfaces:
BlockVolume, Volume
-
Nested Class Summary
Nested classes/interfaces inherited from interface BlockVolume
BlockVolume.Immutable, BlockVolume.Modifiable<M>, BlockVolume.Mutable, BlockVolume.Streamable<B>, BlockVolume.Unmodifiable<U> -
Method Summary
Modifier and TypeMethodDescriptionintprecipitationLevelAt(int x, int z) Returns the y level that precipitation ends falling in the given column.default intprecipitationLevelAt(Vector2i column) Returns the y level that precipitation ends falling in the given column.default Vector3iprecipitationLevelAt(Vector3i position) Returns the position that precipitation ends falling in the column of the given position.Methods inherited from interface BlockVolume
block, block, blockPalette, fluid, fluid, highestPositionAt, highestYAt, highestYAt
-
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 valuez- The y column value- Returns:
- The y level that precipitation ends
-
precipitationLevelAt
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
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
-