Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Apple Enchant

Turn your experience into enchanted golden apples—or process an enchanted apple to get experience back. Here is how it works with the default settings.
Read in other languages: 简体中文 · 繁體中文 · 日本語
Enchant a golden apple
- Put a golden apple in your inventory.
- Stand on an enchanting table and hold sneak for 3 seconds.
- Spend 1,395 XP to turn it into an enchanted golden apple.
That is the experience needed to go from level 0 to level 30. Stopping early resets the ritual; keep sneaking to enchant more apples if you have enough XP.
Take XP back
Cook an enchanted golden apple, then take the result out to collect the experience.
| Use | You get | Time | XP returned |
|---|---|---|---|
| Furnace | Gold nugget | 30 seconds | 1,395 |
| Smoker | Apple | 30 seconds | 1,395 |
| Blast furnace | Shattered Golden Apple | 10 seconds | 395 |
Shattered Golden Apple
The blast furnace produces a Shattered Golden Apple with temporary defensive effects.
- Eat it for Resistance that gradually fades over 25 seconds.
- It also gives Glowing and Invisibility for 5 seconds.
- It restores 2 hunger icons, even when you are full, but does not heal you.
Advancements
Look for Apple Enchant in the golden-carrot advancement tab.
Apple Enchant → Apple Enchanting → Take XP Back
Enchant a golden apple to earn Apple Enchanting. Collect a cooked apple's result and experience to earn Take XP Back, whichever item it produces.
Design intent
I wanted enchanted golden apples to be renewable through something you earn during survival. Experience gives the enchanting ritual a cost, and using the enchanting table keeps the process connected to familiar vanilla mechanics.
Recovering experience gives players another choice about how to use an enchanted apple. The Shattered Golden Apple is the depleted result: it offers temporary, fading protection instead of the original apple's healing effects.
Installation, settings and technical details
These details describe the 1.3.x gameplay. 1.3.3 adds full Fabric / Quilt and Forge mods for Minecraft 1.20.1. 1.3.2 covers the full mods and fixed-rule datapacks for 1.20.5–1.21.3. The gameplay above uses the current defaults, which server operators can change in the mod edition.
Minecraft compatibility
| Edition | Supported releases |
|---|---|
| Full Fabric / Quilt mod | 1.20.1, 1.20.5–1.21.11, 26.1 / 26.1.1 / 26.1.2, 26.2, 26.3 |
| Full NeoForge mod | 1.20.5–1.21.11, 26.1 / 26.1.1 / 26.1.2, 26.2, 26.3 |
| Full Forge mod | Same as Fabric / Quilt, except 1.20.5 and 1.21.2 (no official Forge release) |
| Standalone datapack | 1.20.5–1.21.11, 26.1 / 26.1.1 / 26.1.2, 26.2, 26.3 |
Choose the file tagged for your Minecraft version. In the 1.20.5–1.21.1 datapack only, the special apple retains its enchanted glistering-melon appearance and can still be used for brewing. Full mods prevent that brewing use, including on these older versions. See the compatibility test record.
Editions and installation
| Mod edition | Datapack edition | |
|---|---|---|
| Installation | Dedicated Fabric, Quilt, Forge or NeoForge server; Fabric API is required for Fabric / Quilt. Java 17 for 1.20.1, Java 21 for 1.20.5–1.21.x, Java 25 for 26.x | Install the matching release in the world's datapacks folder |
| Configuration | In-game settings for OPs | Fixed rules; no settings menu |
| Item appearance | Custom 16×16 texture through an optional server resource pack | Enchanted vanilla glistering melon appearance |
| Client requirements | No client mod required | No client mod or resource pack required |
Download from Modrinth or GitHub Releases. Use one edition at a time. Put the mod JAR in the server's mods folder and restart. Forge / NeoForge 1.3.1 and later are full native mods with settings, custom textures and item migration. Older 1.3.0 Forge / NeoForge packages are fixed-rule datapack wrappers. Minecraft 1.20.1 is available as a full mod only; no 1.20.1 datapack is provided.
The mod includes resource-pack support. Players who accept the pack see the custom apple; players who decline it see an enchanted glistering melon slice. Its gameplay remains the same.
Settings
OPs can open /aste settings and select Apple Enchant. When installed on its own, the command opens Apple Enchant's menu directly.
| Page | Setting | Default / details |
|---|---|---|
| 1 | Golden Apple Enchanting | Enabled |
| 1 | XP cost (points) | 1,395 |
| 1 | Additional level cost | 0 |
| 1 | Enchanting speed | Normal: 3 seconds; Fast: 1 second; Slow: 6 seconds |
| 2 | Experience recovery | All three stations enabled; defaults listed above |
| 2 | Output per station | Shattered Golden Apple, golden apple, gold nugget, apple or a custom item ID |
| 2 | Cook time and XP returned | Enter a value for each station; cook time uses ticks |
| 2, last | Migrate datapack item | Manual action; migration is off until enabled |
Menus support English, Simplified Chinese, Traditional Chinese and Japanese, following the player's language.
Cooking times above assume 20 game ticks per second: 600 ticks for the furnace and smoker, 200 for the blast furnace. A campfire does not return XP in this mod.
Item details
The mod registers this item as aste:shattered_golden_apple. By default it comes from the blast furnace.
| Property | Behavior |
|---|---|
| Food | Restores 4 hunger points and 9.6 saturation; can be eaten when full |
| Resistance | Starts at Resistance V and steps down through IV, III, II and I, with 5 seconds per stage |
| Other effects | Glowing and Invisibility for 5 seconds |
| Healing | No direct healing, Regeneration or Absorption effect |
| Brewing | Cannot replace an ordinary glistering melon slice in a brewing recipe |
| Appearance | Italic name and enchantment glint; custom texture when the server pack is accepted |
A datapack cannot register a new item ID. Its special apple uses a vanilla carrier instead. The carrier and component format depend on the datapack release; it is not a separate registered aste: item.
Migrating datapack items
After switching to the mod edition, select Migrate datapack item at the end of the settings menu. This enables persistent migration for the world; it is not limited to the activating player's inventory.
- Recognized old Apple Enchant items become
aste:shattered_golden_apple. - Player inventories, containers, dropped items and nested storage are covered. Offline inventories and unloaded storage convert when loaded or accessed, rather than forcing the whole world to load at once.
- Item counts, player-given names and unrelated custom data are preserved. Normal items are not converted.
- Migration has been tested with the item formats from datapack 1.0.0, 1.0.1, 1.0.2 and 1.1, after vanilla world upgrades.
This transfers item identity; it does not make a 26.3 mod JAR compatible with older Minecraft versions.
License
All Rights Reserved
✅ You are free to:
- Add this mod or datapack to your modpacks (provided with the Modrinth download link).
- Share the official Modrinth page with others.
- Modify the code strictly for personal use.
❌ Without explicit permission, you CANNOT:
- Reupload this mod or datapack or its files anywhere else.
- Use the code, assets, or mechanics in other public projects.


