Now that temperature effects are properly tracked per-entity using a component, it will be easy to create a command that allows for these components to be enabled/disabled on a per-entity basis. For example, one could allow for players to not suffer any negative temperature effects while they are in a spawn area.
The command should fail if the entity selected is not applicable for the effect, or if the effect is already enabled/disabled when running the enable/disable command respectively.
Example command usage
thermoo temperature effect set_enabled @a[distance=..10] example:damage true
thermoo temperature effect set_enabled @a[distance=10..] example:damage false
Requirements:
Now that temperature effects are properly tracked per-entity using a component, it will be easy to create a command that allows for these components to be enabled/disabled on a per-entity basis. For example, one could allow for players to not suffer any negative temperature effects while they are in a spawn area.
The command should fail if the entity selected is not applicable for the effect, or if the effect is already enabled/disabled when running the enable/disable command respectively.
Example command usage
Requirements: