What are you searching for?

XP Tome

XP Tome

Adds a book that can store a configurable amount of XP.

download 1.6M Downloads · favorite 127 Followers · Updated 1 month ago
Adventure Forge Magic Neoforge Storage Technology Utility 1.12.2 1.14.4 1.15.2 1.16.5 1.17.1 +23 more

Versions

inventory_2
1.21.11-v2.4.2

v2.4.2 · 1 month ago · 27.89 KB

Release download
Neoforge 1.21.11
inventory_2
1.21.10-v2.4.2

v2.4.2 · 3 months ago · 27.80 KB

Release download
Neoforge 1.21.10
inventory_2
1.21.5/.6/.7/.8-v2.4.2

v2.4.2 · 8 months ago · 28.01 KB

Release download
Neoforge 1.21.5 1.21.6 1.21.7
inventory_2
1.21.5-v2.4.1

v2.4.1 · 10 months ago · 28.09 KB

Release download
Neoforge 1.21.5
inventory_2
1.21.4-v2.4.1

v2.4.1 · 10 months ago · 27.93 KB

Release download
Neoforge 1.21.4

About

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

Recipe

Config/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.

You are allowed to use this mod in any modpack.

open_in_new View on Modrinth
Compatibility
Client: Required Server: Required
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.7M
favorite 22,127
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 66.1M
favorite 7,607
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.9M
favorite 13,668
lock Cookie consent

SkinMC uses cookies to provide functionality and features.