Biome Condition Types
Biome conditions check properties of a biome.
origins:high_humidity
Checks whether the biome counts as an area with high humidity (downfall value of > 0.85).
origins:in_tag
Checks if the biome is in a biome tag.
| Field | Type | Default | Description |
|---|---|---|---|
tag | Identifier | required | Biome tag ID |
Example
"condition": {
"type": "origins:in_tag",
"tag": "minecraft:allows_surface_slime_spawn"
}
This example will check if the biome is included in the #minecraft:allows_surface_slime_spawn (data/minecraft/tags/worldgen/biome/allows_surface_slime_spawn.json) biome tag.
origins:precipitation
Checks the biome's precipitation type.
| Field | Type | Default | Description |
|---|---|---|---|
precipitation | String | required | none, rain, or snow |
Example
"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.)
origins:temperature
Checks the biome's temperature.
| Field | Type | Default | Description |
|---|---|---|---|
comparison | String | required | Comparison operator |
compare_to | Float | required | Temperature value |
Example
"condition": {
"type": "origins:biome",
"condition": {
"type": "origins:temperature",
"comparison": ">=",
"compare_to": 2
}
}
This example will check if the biome the entity is currently in has a temperature of 2 or more. (e.g: minecraft:badlands, minecraft:desert, etc.)