COMMAND BUILDER
Minecraft /damage Generator.
Inflicts custom damage on entities. Adjust settings below to instantly generate the correct syntax.
LIVE TERMINAL OUTPUT
Generated Minecraft Syntax
Copy and paste this output directly into your Minecraft game console (press T) or command blocks.
/give @s diamond 64
What this command does?
Executes /damage command for yourself (`@s`).
Documentation & Guide
About the /damage Generator
The /damage generator applies a specified amount of damage to target entities, with optional damage types (fire, fall, magic) and responsible attacker entities.
How to Use This Generator
- Select target entity to damage.
- Enter amount of damage points (1 point = half a heart).
- Optionally specify damage type (e.g. minecraft:magic, lava, fall).
- Copy and run in chat or command blocks.
Parameters & Options Explained
Target
Entity receiving the damage.
Amount
Points of damage dealt (2 points = 1 full heart).
Damage Type
Causes corresponding death messages and resistance checks.
Practical In-Game Example
Tested & Validated/damage @p 10 minecraft:magicDeals 5 full hearts (10 damage points) of magic damage directly to the nearest player.
Java vs Bedrock Compatibility
Java Edition:Added in Java 1.19.4 with custom damage types.
Bedrock Edition:Added in Bedrock 1.19.70 with cause identifiers.
Important Limitations & Rules
- Damage bypasses standard armor unless the damage type permits armor reduction.
- Target entities must be alive and loaded in the world.