A Fabric mod for Minecraft 26.2 adding the Lucky Fishing treasure enchantment.
Put it on a fishing rod (max level 100) and each catch has a level × 1% chance to be
replaced by a fully random item — the entire item registry, modded items included — in a
random stack size (1 … the item's max stack). Every time a catch actually gets randomized, the rod
has a 1% chance to gain a level (up to 100), so it grows more chaotic the more you fish with it.
Randomized items that are enchantable are sometimes enchanted, with quality scaling up as the
rod levels.
It's a treasure enchantment — obtainable from shipwreck, buried treasure, and fishing loot, and via villager trades. Never from a plain enchanting table.
Requires JDK 25.
./gradlew build # jar lands in build/libs/Compiles cleanly and loads on client + server; the fishing behavior should be tested in-game before relying on it.
MIT