This mod adds a single item - the XP Tome. With the XP Tome you can store and retrieve XP. It can store up to 1395 XP by default (can be configured), which equals to having 30 levels on the XP bar.
Usage:
- Sneak + right-click to store XP
- Right-click to retrieve XP
Recipe:
Available configuration options (v2.0+):
max_xp - The maximum amount of XP points that the XP Tome can hold. The default value (1395) represents having 30 levels on the XP bar.
retrieval_percentage - The percentage of XP that the book will give back, as a sort of cost of using it. Example: If this config value is set to 0.75, and an XP Tome has 100 XP stored, attempting to retrieve these 100 XP will give back 75 XP. Note: This will not be 100% accurate, as Minecraft's XP does not use decimals.
retrieve_until_next_level - Setting this to true will remove only as much XP from the book at a time as is needed for the player to reach their next level.
store_until_previous_level - Setting this to true will store only as much XP from the player's XP bar until reaching the previous level, meaning only one level at maximum will be added to the book's storage at a time.
The configuration file for Minecraft versions 1.14.4 and above can be found in the serverconfig folder of your world.
Disclaimer:
This mod was created on request by Shivaxi. It is based off of XP Book and was recreated due to a duplication bug in the original mod, as well as a bug which causes the enchanting table to reset each time the book is used. As this mod uses the same modid and item id as the original, the two mods can not be installed at the same time and switching between them will not lose you any items. I did not take any code or assets from the original mod. Yes, v2.0 is still compatible with the "XP Book" mod.
You are allowed to use this mod in any modpack.
Come join me on Discord! https://discord.gg/kgZUAxK
Follow me on Twitter for mod updates and other shenanigans! https://twitter.com/bl4ckscor3
19 in the works?
In reply to brass_mccrafty:
I'll start when people stop asking about update ETAs and/or progress, as well as start forming gramatically correct and coherent sentences.
I seem to have an issue where trying to view this mod in my mod list crashes minecraft. I do have a lot of other mods (100+) but adding this mod crashes my game when I try to scroll down to it..
edit: this is on mc 1.18.1, forge 39.1.2
In reply to Kirotone:
Please post the crash report.
In reply to bl4ckscor3:
https://drive.google.com/file/d/1ZECNS7WDJq6L1UF6nUSSlKEdoOHp4-k_/view?usp=sharing
Though after skimming over it, there seems to be an clashing between this mod and VoidTotems. Removing either from the mods folder seems stop the crashing
In reply to Kirotone:
This seems to be originally caused by Void Totem. Try updating your mods to Minecraft 1.18.2, this might be fixed then. I no longer update my mods for 1.18.1 in favor of 1.18.2.
In reply to bl4ckscor3:
unfortunately, many mods I wanted to use in this modpack are hard to find for 1.18.2 forge, so I've been forced to use 1.18.1 - though I should be able to get around this bug, thanks for your help
Please make on for Fabric Plz....
In reply to gaming_yar:
There is a link to a Fabric version at the top of the post....
Very nifty tool! Storing XP is great for protecting your levels, and keeping around your anvil/enchantment table. A great addition for any world.
I'm a complete idiot and misunderstood something therefore have deleted my initial comment (couldn't delete the actual comment, so had to delete the text instead :P )
How to know if the mod is for fabric or forge?
In reply to lranzer:
Go to a file's page and check the supported mod loader versions section.
In reply to bl4ckscor3:
Thank you!
In reply to bl4ckscor3:
Mine doesn't have that section for any mod I look at.
In reply to scootleboo:
Go to the files section, then click view all. Top right corner, open the menu for game version and pick "modloader".
Are there bookshelves with the purple books in them?
In reply to bigger212:
No.
dude please make it a global config i do not want to configure it for every world
In reply to meatcereal:
You can put a preconfigured xptome-server.toml file into the defaultconfigs folder, which you create at the same place as your mods/saves/etc. folders are. This config file will be used for every world that you load and does not have an XP Tome config file yet.