
Mod Godel Apple Can Enchant
Golden Apple that can be enchanted. Each Golden Apple has a random enchant. When the player eats the Golden Apple, they immediately gain the effect of that...
00—fabricServer1.21.1mod
Mod Godel Apple Can Enchant
- Golden apples now roll a random enchantment when they appear in player inventories or are consumed. The apple gains the enchant glint and shows the enchant name in the tooltip.
- Eating a golden apple instantly grants a status effect themed to its stored enchantment (e.g., Sharpness/Density/Wind Burst -> Strength, Fortune/Looting -> Luck, Protection/Breach -> Resistance, Feather Falling -> Slow Falling, Respiration/Aqua Affinity -> Water Breathing, Mending -> Regeneration, etc.). Durations scale with the enchant level.
- Both normal and enchanted golden apples can carry these random enchantments; the effect triggers on the server as soon as the apple finishes being eaten.
- Curse-tagged enchantments are excluded from the pool to keep the mechanic purely beneficial.
Notes
- Enchantments are assigned per stack; splitting a stack copies the stored enchantment to the new stacks.
- The granted potion effect is in addition to vanilla golden apple benefits.
- Messages informing players of the unleashed enchant appear in the action bar.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.