Skip to content

Temperature Effect Enable Command #44

@TheDeathlyCow

Description

@TheDeathlyCow

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:

  • Add a Java API to disable temperature effects per entity
  • Add a command API to disable temperature effects per entity
  • Thermoo Patches: Leukocyte integration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions