Related effects and lists
- All Minecraft effect IDs — the full searchable list.
- Speed — another beneficial effect.
- Haste — another beneficial effect.
- Strength — another beneficial effect.
- Minecraft enchantment IDs — enchant your gear instead.
Luck is a beneficial (positive) status effect in Minecraft Java Edition 1.21.
minecraft:luck
Give Luck II for 60 seconds (Java Edition 1.13+; duration in seconds, then amplifier where 0 = level I):
Remove the effect from the nearest player:
Luck improves your odds on luck-based loot tables, most noticeably better treasure rates when fishing.
In current Java Edition there is no survival source: no potion, food, or beacon grants Luck. It exists for commands and custom content, where map makers use it to tilt loot odds.
Do not confuse the Luck effect with Luck of the Sea, the fishing enchantment that actually improves fishing treasure odds in survival. The effect version is a command tool; the enchantment is the real-world equivalent.
The effect ID for Luck is minecraft:luck. Java Edition 1.13+ /effect commands use this namespaced form. On Java 1.12.2 and earlier the numerical ID was 26.
Run /effect give @p minecraft:luck 60 1 to get 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:luck.
Luck is a beneficial (positive) status effect in Minecraft Java Edition, based on its registry category (beneficial).
Only through commands such as /effect give @p minecraft:luck. No potion or item grants it in survival Java Edition; the similar-sounding Luck of the Sea is a fishing rod enchantment.
It adds points to the luck attribute used by loot tables, improving results like fishing treasure quality. Since survival has no source, its practical use is in custom maps and datapacks.