Interface WeatherAwareVolume
- All Superinterfaces:
BlockVolume
,Volume
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
BlockVolume.Immutable, BlockVolume.Modifiable<M extends BlockVolume.Modifiable<M>>, BlockVolume.Mutable, BlockVolume.Streamable<B extends BlockVolume.Streamable<B>>, BlockVolume.Unmodifiable<U extends BlockVolume.Unmodifiable<U>>
-
Method Summary
Modifier and TypeMethodDescriptionint
precipitationLevelAt
(int x, int z) Returns the y level that precipitation ends falling in the given column.default int
precipitationLevelAt
(Vector2i column) Returns the y level that precipitation ends falling in the given column.default Vector3i
precipitationLevelAt
(Vector3i position) Returns the position that precipitation ends falling in the column of the given position.Methods inherited from interface org.spongepowered.api.world.volume.block.BlockVolume
block, block, 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
-