/damage — Deal Damage
minecraft — Console Commands
Deal exact amount of damage to entity. Bypasses armor.
Syntax
/damage <target> <amount> <type>
Example
/damage @e[type=minecraft:creeper,limit=1] 10 magic
💡 Notes
Types: generic, magic, drown, fall, fire, lava, etc. Bypasses armor for magic.
👍 Pros
- Exact damage control
- Custom damage types
- Map mechanics
👎 Cons
- 1.20+ only
- Needs target specification