Temperature
Checks for the temperature of a biome.
Type ID: origins:temperature
Fields:
Field | Type | Default | Description |
---|---|---|---|
comparison |
Comparison | How the temperature should be compared to the specified value. | |
compare_to |
Float | Which value the temperature should be compared to. |
Example:
"condition": {
"type": "origins:biome",
"condition": {
"type": "origins:temperature",
"comparison": ">=",
"compare_to": 2
}
}
This example checks if the biome the player is currently in has a temperature of 2 or more. (e.g: minecraft:badlands
, minecraft:desert
, etc.)