Origins: Powerful Powers
» Entity conditions » Biome temperature

Biome temperature

origins-powerful-powers:biome_temperatureentity condition

The base temperature of the biome the entity is in, before height adjustment. For example: snowy plains 0.0, plains 0.8, jungle 0.95, desert and the Nether 2.0, frozen peaks −0.7.

FieldTypeDefaultDescription
comparisonComparisonrequired
compare_toFloatrequired

Example: heat-adapted.

json
{
  "type": "origins:action_over_time",
  "interval": 40,
  "condition": {
    "type": "origins-powerful-powers:biome_temperature",
    "comparison": ">=",
    "compare_to": 1.5
  },
  "entity_action": {
    "type": "origins:apply_effect",
    "effect": {
      "effect": "minecraft:fire_resistance",
      "duration": 60,
      "amplifier": 0
    }
  }
}

Fire Resistance in hot biomes (deserts, badlands, savannas and the Nether).

Attribute: biome_temperature