Minecraft Damage Command Generator Java and Bedrock
Use this Damage Command Generator to quickly create the /damage command in Minecraft Java (1.19.4+) and Bedrock Edition (1.18.10+). Select the target, set the damage amount, choose the damage type (fall, fire, magic, etc.) and optionally a cause or origin position. Perfect for maps, servers and datapacks.
Select your Minecraft edition:
Generated Damage Command
damage @p 5Customize Command Target (Optional)
Want cheap and lag-free Minecraft hosting?
I recommend Sparked Host: affordable plans, great performance, easy panel and fast support.
🚀 Start your Minecraft ServerHow to use the Damage command in Minecraft
The /damage command applies a precise amount of damage to players or entities, respecting armor, enchantments and potion effects. Unlike /kill, which removes the entity instantly, /damage removes health points — leaving the entity alive if it survives. Available from Java 1.19.4 and Bedrock 1.18.10.
1 damage point = ½ heart. A full-health player has 20 health points.
In Java Edition, the basic format is:
/damage @p 10 minecraft:fall
Deals 10 fall damage points to the nearest player.
Damage Command Examples (Java)
Generic damage to the nearest player
/damage @p 5 minecraft:generic
Kill any entity ignoring armor
/damage @e[type=zombie] 999 minecraft:generic_kill
Lightning damage to all players
/damage @a 5 minecraft:lightning_bolt
Damage caused by another entity (villager attacks iron golem)
/damage @e[type=iron_golem,limit=1] 1 minecraft:generic by @e[type=villager,limit=1]
Damage with origin position (knockback comes from X Y Z)
/damage @p 5 minecraft:explosion at 0 64 0
Damage Command Examples (Bedrock)
Fire damage to the nearest player
/damage @p 5 fire
Damage via attacking entity
/damage @e[type=iron_golem,c=1] 1 entity_attack entity @e[type=villager,c=1]
Damage that ignores armor (override)
/damage @a 10 override
Frequently Asked Questions
What is the difference between /kill and /damage?
/kill removes the entity immediately without dropping items. /damage applies real damage points — the entity may survive and still drops items when it dies.
Does /damage work in creative mode?
In Java Edition, players in creative mode are immune to most damage types, except minecraft:generic_kill and minecraft:out_of_world.
Does the damage type affect armor?
Yes. Types like magic, starve and out_of_world / override completely bypass armor. Physical types like fall or generic are reduced by armor and enchantments normally.
Can I specify where the damage comes from?
Yes. In Java use at X Y Z to set the origin position (affects knockback) or by <entity> to attribute the damage to another entity. In Bedrock use entity <entity> after the damage type.
Does /damage work in Bedrock Edition?
Yes, from version 1.18.10. Damage types have different names (no minecraft: prefix) and the cause syntax uses the word entity before the selector.