Health - RedWirePlatinumTwo/RedWiresMinecraftMod GitHub Wiki
Parameters
[entity]
- The specified entities to be effected by this command.
- set
[health]
Setting this above an entities max health simply gives them max health.
- add
[health]
- Adds a specific amount of health to an entity. Can be negative to "damage" entities instead.
- max - Restores max health to the entity.
Description
- Allows you to simply set, add, or restore max health to
[entity]
.
- Requires cheats: yes
Change History
- 3.8.0: Introduced command.
- 4.5.1: You can now kill entities with this command and have it count as a death.
- 5.0.0: Revamped command, adding a few extra parameters.
- 5.6.4: Setting an entities health to 0 with this command will now manually trigger the
LivingDeathEvent
event.