We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

31

/health

5 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    This would be very useful!

  • 4
    Registered User commented
    Comment actions Permalink

    this is a good idea, but I would rather have it implemented differently -

    add and remove sub-commands should be merged into a single one called 'modify' where positive values will heal the entity while negative ones will damage them . Another sub-command should be added called 'set' which would set the the health to provided value, setting health to negative or 0 will kill the entity.

    as for the source, I think it should be the scoreboard from an entity.

    To clarify, this what the syntax is in my head:

    /health <targetEntity> (modify|set) ...
    ...value <value>
    ...from <sourceEntity> <scoreboardObjective>

    Some examples:

    • To bring everyone to half a heart: /health @a set 1
    • To damage someone in boss battle: /health @s modify from @e[tag=boss, limit=1] strength
  • 0
    Registered User commented
    Comment actions Permalink

    YES! This would save so many headaches and inconsistencies. Make it happen!

  • 0
    Registered User commented
    Comment actions Permalink

    GamePenguin2810 Commented:

    this is a good idea, but I would rather have it implemented differently -

    add and remove sub-commands should be merged into a single one called 'modify' where positive values will heal the entity while negative ones will damage them . Another sub-command should be added called 'set' which would set the the health to provided value, setting health to negative or 0 will kill the entity.

    as for the source, I think it should be the scoreboard from an entity.

    To clarify, this what the syntax is in my head:

    /health <targetEntity> (modify|set) ...
    ...value <value>
    ...from <sourceEntity> <scoreboardObjective>

    Some examples:

    • To bring everyone to half a heart: /health @a set 1
    • To damage someone in boss battle: /health @s modify from @e[tag=boss, limit=1] strength

    I like this implementation, like really like this implementation, the only change i would personally make would be to replace the word "modify" with "add", solely for readability reasons. otherwise, i think this is the best version of this command that i've seen on here.

  • 0
    Registered User commented
    Comment actions Permalink

    They should also do the same with the hunger bar, with /hunger or something like that. It would revolutionize map-making, pranks, and just multiplayer as a whole. Please add these to Minecraft, Mojang!