Skip to content

Rain Level

Provides the rain level of the current dimension.

Type ID: kaya:rain_level

Note

This type will provide nothing if the dimension doesn't have sky light or if it has a ceiling.

Tip

If rain level is greater than 0.2, it's considered raining in the dimension.

Format

Field Type Default Description
delta Float Provider 1.0 The percentage used for the interpolation between the old and current rain level value of the dimension. The value is clamped within the range of 0.0 to 1.0.

Example

{
    "type": "kaya:rain_level"
}

This example provides the current rain level of the dimension.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.