Harmful effects
Instant Damage
Instant Damage is recorded as a harmful status effect in the current Java and Bedrock Edition datasets.
Instant Damage- Effect ID
- minecraft:instant_damage
- Edition
- Java & Bedrock
- Java numeric ID
- 6
- Bedrock numeric ID
- 7
- Type
- bad
- Category
- Harmful effects
How the effect is applied
Instant Damage is classified as a bad effect. Duration, amplifier behavior, particles and sources depend on the command, potion, beacon, mob or game event that applies it.
Command
/effect give @p minecraft:instant_damage 60 0/effect give- Applies a status effect to a target.
@p- The nearest player to where the command runs.
minecraft:instant_damage- The namespaced identifier for Instant Damage.
60- The duration in seconds.
0- The zero-based amplifier; 0 means effect level I.
This example applies level I for 60 seconds. Instant effects and non-command sources can behave differently.