Mining Fatigue effect command
minecraft:mining_fatigueEnglish name Mining Fatigue
Mining Fatigue (minecraft:mining_fatigue) is a harmful effect.Mine and attack much more slowly (granted by an Elder Guardian).Here are commands to give, clear, and create potions.
Common Commands
Give the nearest Player 30 seconds (level I)
/effect give @p minecraft:mining_fatigue 30 0
Level II, lasts 1 minute
/effect give @p minecraft:mining_fatigue 60 1
Levels start at 0: 0 is level I, 1 is level II
All players, infinite duration, hide particles
/effect give @a minecraft:mining_fatigue infinite 0 true
Clear Mining Fatigue
/effect clear @p minecraft:mining_fatigue
Mining Fatigue Potion (3 minutes)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:mining_fatigue",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.mining_fatigue",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:mining_fatigue 2 0 true
Run continuously in a repeating command block
Basic Information
- Effect ID
- minecraft:mining_fatigue
- Type
- Harmful
- Effect
- Mine and attack much more slowly (granted by an Elder Guardian)
Other Harmful Effects
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.