Interface WeatherAwareVolume
-
- All Superinterfaces:
BlockVolume
,Volume
public interface WeatherAwareVolume extends BlockVolume
-
-
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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
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 Detail
-
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
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
-
-