截图
介绍
📗 XP-Vault: The Professional XP Ledger
XP-Vault (v1.21.11) is a high-performance, survival-integrated utility designed to bridge the gap between risk and reward. By providing a balanced “Banking” system for your experience levels, it adds a layer of strategy to your survival world while protecting your time investment from accidental deaths.
✨ Primary Features
- 🔒 Persistent Storage: Stored levels are linked to the player via scoreboards, meaning they persist through death and even if the book is lost or destroyed.
- 📈 Precision increments: Full control with buttons for 1, 3, 10, or 30 levels.
- ⚡ Bulk Operations: Rapidly clear your XP bar or withdraw your entire bank with [STORE ALL] and [TAKE ALL] buttons.
- 🔊 Dynamic Feedback: Includes high-fidelity vanilla sound effects and color-coded chat messages to confirm every transaction.
- 🛠️ Universal Access: Designed with the
/triggersystem, allowing Survival players without OP/Cheats to use the interface seamlessly.
🔨 Survival Crafting & Initialization
We believe in “Vanilla+” balance. The recipe is expensive enough to feel earned, requiring 8 Bottles o’ Enchanting.
The Recipe Pattern:
- Outer Ring: 8x Experience Bottles
- Center: 1x Regular Book
- Output: 1x Knowledge Book (Auto-converts to XP-Vault upon holding)
💻 Technical Documentation (For Server Admins)
XP-Vault is built for stability and zero TPS impact. It avoids “Every-Tick” heavy NBT scanning, favoring a lightweight trigger-based architecture.
📊 Scoreboard Management
The pack uses the following internal objectives:
exp_stored: The master objective. Stores the player’s banked level count.exp_current: A temporary calculation buffer for XP bar data.exp_takeX/exp_storeX: Individual trigger objectives.
🛠️ Admin Utility Commands
- Check a Player’s Bank:
/scoreboard players get <playername> exp_stored - Manually Set a Balance:
/scoreboard players set <playername> exp_stored 50 - Add/Reward Levels:
/scoreboard players add <playername> exp_stored 10 - Spawn a Vault Book:
/function exp_book:give_book
🧪 Testing Procedures
To verify the pack is working correctly after installation:
- Run
/reloadand look for the “[Book of Experience] Datapack loaded” message. - Grant yourself 30 levels:
/experience add @s 30 levels. - Craft or give yourself the book and click [STORE ALL].
- Run
/scoreboard players get @s exp_stored. If it returns 30, the system is 100% operational.
📝 Changelog v1.0.0 (v1.21.11)
- 1.21.x Component Migration: Fully updated to the new
written_book_contentanditem_componentsyntax (1.20.5+). - Recursion Optimization: Rewrote the
take_all_loopto handle massive level counts (1000+) without causing server hanging. - Syntax Hardening: Replaced deprecated
clickEventkeys with modernclick_eventformatting for 1.21.11 compatibility. - Auto-Conversion: Improved the knowledge book detection logic to be more responsive.
⚖️ License & Permissions
License: MIT License
- ✅ You may: Use this in modpacks, featured on servers, and modify the code for personal use.
- ❌ You may not: Re-upload this to other platforms (9Minecraft, etc.) or claim it as your own creation.
- 💎 Credit: Mentioning “Sentrax” or linking to this Modrinth page is appreciated but only required if you redistribute modified versions.
📥 How to Install
- Download the
XP-Vault.zip. - Open your Minecraft world folder ->
datapacks. - Drop the
.zipinside. - Join the world and type
/reload.
Author: Sentrax
Compatibility: 1.20.5, 1.20.6, 1.21, 1.21.11
Checkout my other datapacks from OPSIBA007
常见问题
XP-Book 支持哪些 Minecraft 版本?
XP-Book 支持 Minecraft Java 版 1.21–1.21.11,共 12 个版本。下载时注意选择和你游戏版本一致的文件。
XP-Book 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
OPSIBA007 的其他作品
查看全部 →
Multi Miner
An Enchantment that mines 3x3x3 at once. Supports 1.21x
Minimal Day Counter
Simple Day counter for remember every day. Minecraft version 1.21x. More Updates Soon.
Recipes Rebalanced
A utility expansion for Minecraft 1.21x. New update v1.2 adds 40 recipes in game.
Hypersleep
One Player can skip the night. Support Minecraft version 1.21x


评论
登录后评论和评分