Skip to main content

Temperature (Biome Condition Type)

Compares the biome's temperature with a number.

Type ID: apoli:temperature

[Minecraft Wiki: Biome (List of Overworld climates)](

https://minecraft.wiki/w/Biome#List_of_Overworld_climates) lists the temperature of each vanilla biome.

Fields

FieldTypeDefaultDescription
comparisonComparisonrequiredHow the temperature is compared with compare_to.
compare_toFloatrequiredThe number the temperature is compared with.

Examples

"condition": {
    "type": "apoli:biome",
    "condition": {
        "type": "apoli:temperature",
        "comparison": ">=",
        "compare_to": 2
    }
}

This checks whether the biome the entity is in has a temperature of 2 or more, as minecraft:badlands and minecraft:desert do.