Temperature (Command) - Momo-Softworks/Cold-Sweat GitHub Wiki

This page is an explanation of the functionality and parameters of the /temperature command.
This command can also be used with the alias /temp.

Note:
If any of the targeted entities do not have temperature traits, the command will fail with the message: "The selector includes entities that do not have temperature". Ensure all targets are a player, chameleon, or other temperature-enabled entity.

get

Used for viewing the temperature of entities.

/temperature get <entities>

Prints the body temperature for each of the targeted entities.

/temperature get <entities> <trait>

Prints the value of the specified temperature trait for each of the targeted entities.

/temperature get <x, y, z>

Prints the ambient temperature at the provided location in the sender's current dimension.

set

Used for setting the body temperature of entities.

/temperature set <entities> <amount>

Sets the target entities' body temperature to the given value.

debug

Used for debug purposes to break down how an entity's temperature is calculated

/temperature debug <entity> <trait>

Prints the temperature modifiers and attribute modifiers that are currently acting on the specified temperature trait for the given entity.
Note that this command only accepts one entity for its selector.

modify

/temp modify <entities> <add/multiply_base/multiply_total/set> <trait> <amount> [permanent]

Applies an attribute modifier to the specified temperature trait for the targeted entities.

  • [permanent] (true/false): If true, the attribute modifier will persist if the player dies.

Using the set argument will lock the entities' specified temperature trait to the given value, ignoring temperature modifiers.

/temp modify <entities> <clear>

Clears all temperature-related attribute modifiers from the entity

⚠️ **GitHub.com Fallback** ⚠️