Precipitation
Checks for the precipitation type of the biome the entity is currently in.
Type ID: origins:precipitation
Fields
| Field | Type | Default | Description |
|---|---|---|---|
precipitation |
String | Which precipitation the biome has to have in order to succeed the check. One of none, rain and snow. |
Examples
"condition": {
"type": "origins:biome",
"condition": {
"type": "origins:precipitation",
"precipitation": "snow"
}
}
This example will check if the biome the entity is currently in has a snowy precipitation. (e.g: minecraft:snowy_taiga, minecraft:ice_spikes, etc.)