Modify Temp

Description

Adds a named modifier, in degrees Celsius, to a player's body temperature. Casting the same id again replaces its value, so you can cast it on every run of a skill trigger: it ends by itself once the skill's conditions stop matching. Different ids add up, so share an id only between lines that should replace each other, such as the materials of one armour slot. The bundled pack builds its temperature rules from it, see Packs.

Players only. It affects each targeted player, or the caster when the line has no target.

Attributes

Attribute Aliases Description Default
amount a, value, temp, t Degrees to add, negative to cool. Decimals and placeholders work, also without MythicMobs Premium 0
limit until A warming modifier never pushes the temperature above this, a cooling one never below it none
duration d, seconds, secs Seconds the modifier lasts after the last cast 2
id key, source Name of the modifier skill
  • An id that BlockHeat lines also use keeps only its strongest warm and cold value.
  • Modifiers with a limit are applied after all others.
  • An amount that is not a number is reported in the console once, and the cast changes nothing.

Examples

  - modifytemp{id=armor_head;amount=5;limit=25;duration=3} @Self ?wearing{slot=HEAD;m=LEATHER_HELMET}

A leather helmet warms by 5, but never above 25.

  - modifytemp{id=water;amount=<caster.var.mswet>;duration=3} @Self

A placeholder amount, as in the bundled MS_Wetness.

Campfire_Spirit:
  Type: ARMOR_STAND
  Skills:
  - modifytemp{id=campfire;a=6;d=3} @PlayersInRadius{r=6} ~onTimer:20

The warmth ends 3 seconds after a player leaves the 6 blocks around the mob.

Aliases

  • modifytemperature
  • settemp
  • addtemp
  • seasontemp
Updated Nov 11, 2026