Description
Fabric version here
Functionality
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
Config (v2.0+)/Item Components
Note: For item components, "true" means the component is on the item, and "false" means it isn't.
Note: If you want to change the default item components of the XP Tome you can still use the config file, however that comes with caveats explained therein. Consider creating a Data Pack and override the XP Tome's recipe with the components set as you wish. Here's an example recipe. More info about data packs and recipes on the wiki!
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.
retrieve_xp_orbs - Setting this to true will remove XP from the book in XP orb form. This is useful if you want to use XP from the book for tools enchanted with Mending.
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-1.20.1 can be found in the serverconfig folder of your world.
Further Info
This mod was created by me, following a 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
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.