Skip to content

Check Precipitation

Checks the precipitation of a biome at the specified position.

Type ID: kaya:check_precipitation

Format

Field Type Default Description
precipitation Precipitation The precipitation to match.
position Vec3 Provider The position of the biome to check the precipitation of.

Example

{
    "type": "kaya:check_precipitation",
    "precipitation": "rain",
    "position": {
        "type": "kaya:block/position",
        "block": "broken_block"
    }
}

This example will check if the precipitation of the biome at the position of the block provided by the kaya:broken_block context parameter is rain.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.