Bad Luck is a harmful (negative) status effect in Minecraft Java Edition 1.21.
Namespaced effect IDminecraft:bad_luck
Bad Luck Effect Facts
CategoryHarmful
Legacy ID (1.12.2)27
/effect Command for Bad Luck
Give Bad Luck II for 60 seconds (Java Edition 1.13+; duration in seconds, then amplifier where 0 = level I):
/effect give @p minecraft:bad_luck 60 1
Remove the effect from the nearest player:
/effect clear @p minecraft:bad_luck
Bad Luck Effect FAQ
What is the effect ID for Bad Luck?
The effect ID for Bad Luck is minecraft:bad_luck. Java Edition 1.13+ /effect commands use this namespaced form. On Java 1.12.2 and earlier the numerical ID was 27.
How do I give myself the Bad Luck effect?
Run /effect give @p minecraft:bad_luck 60 1 to get Bad Luck II for 60 seconds. The first number is the duration in seconds; the second is the amplifier (0 = level I, 1 = level II). Remove it with /effect clear @p minecraft:bad_luck.
Is Bad Luck a positive or negative effect?
Bad Luck is a harmful (negative) status effect in Minecraft Java Edition, based on its registry category (harmful).