Atmosphere Temp

Description

Matches when the air temperature at the entity, in degrees Celsius, is inside a range.

This condition works on any entity, at its position. Without an entity it is false.

It reads the weather sources: where the atmosphere simulation runs, the simulated air at the entity's height (so it can differ from Temperature there), rounded to a whole degree, elsewhere the air temperature of the temperature system. For a player both include BlockHeat lines with air=true. With neither (no simulation there and enabled: false in temperature.yml) the condition is false.

Attributes

Attribute Aliases Description Default
temperature t, temp An exact temperature in whole degrees. A decimal alone never matches. any
min The lowest matching temperature, decimals allowed. no limit
max The highest matching temperature, decimals allowed. no limit

Both limits are included: min=4.5 matches 5 and above, max=4.5 matches 4 and below. With temperature and min or max, min or max replaces that side: t=5;max=10 matches 5 to 10. A named value that is not a number is reported in the console and makes the condition always false, and min above max matches nothing.

Range argument

The range can also be a bare argument after the name, as in atmospheretemp >=30 true, in a Conditions:, TargetConditions: or TriggerConditions: line. It counts only when none of temperature, min and max is set.

Argument Matches
>10 more than 10
>=10 10 or more
<10 less than 10
<=10 10 or less
2to7 2 to 7, both included
2-7 2 to 7, both included
5 exactly 5

Examples

FreezingAirChill:
  Conditions:
  - atmospheretemp{max=-5} true
  Skills:
  - modifytemp{id=atmosphere;amount=-10;duration=2} @Self

The chill fades 2 seconds after the last cast.

HotAirBoost:
  Conditions:
  - atmospheretemp >=30 true
  Skills:
  - modifytemp{id=atmosphere;amount=8;duration=2} @Self

A bare argument.

IcyBreath:
  Skills:
  - message{m="Your breath turns to mist."} @Self ?atmospheretemp{max=0}

Inline, with the braces form.

Aliases

  • atmospheretemperature
  • atmostemp
Updated Nov 11, 2026