MineToolsminetools.cn · Minecraft Java Tools

Instant Damage effect command

minecraft:instant_damageEnglish name Instant Damage

Instant Damage (minecraft:instant_damage) is a harmful effect.Deals damage instantly (heals undead mobs).Here are commands to give, clear, and create potions.

Common Commands

Give the nearest Player (takes effect instantly)
/effect give @p minecraft:instant_damage 1 0
Level II, lasts 1 minute
/effect give @p minecraft:instant_damage 60 1

Levels start at 0: 0 is level I, 1 is level II

All players, infinite duration, hide particles
/effect give @a minecraft:instant_damage infinite 0 true
Clear Instant Damage
/effect clear @p minecraft:instant_damage
Instant Damage Potion (3 minutes)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:instant_damage",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.instant_damage",italic:false}]

Duration is measured in ticks (20 ticks = 1 second)

Gain while standing on a Block of Gold
/execute as @a at @s if block ~ ~-1 ~ minecraft:gold_block run effect give @s minecraft:instant_damage 2 0 true

Run continuously in a repeating command block

Set duration and level in the Effect Generator

Basic Information

Effect ID
minecraft:instant_damage
Type
Harmful
Effect
Deals damage instantly (heals undead mobs)

Other Harmful Effects

Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.