NBT 经验值倍增器
直接操作 experience_orb(经验球)实体的 NBT 标签。在源头倍增经验掉落,而不会增加实体数量。
1. 触发器版(单人游戏 / 小型多人服)
专为纯生存/极限模式设计。玩家可以在不使用作弊指令的情况下动态配置数据包。
- 要求: Minecraft 1.20.2+
- 权限: 等级 0(不需要 OP)。
- 性能: 轻微的刻开销(在刻循环中监听触发器)。
- 设置倍率:
/trigger XPMultConfig set <1-10000> (输入值会被限制以防止 NBT 损坏)
- 切换启动消息:
/trigger XPMultToggle
2. 函数版(大型服务器 / 带作弊指令的多人服)
针对高人口服务器进行了优化。从 tick.mcfunction 中移除了所有监听检查以最大化 TPS。
- 要求: Minecraft 1.20.2+(利用函数宏)
- 权限: 等级 2(需要 OP 权限进行配置)。
- 性能: 零刻开销(配置函数仅在需要时运行)。
- 设置倍率:
/function xpmult:set {value: <1-10000>}
- 切换启动消息:
/function xpmult:toggle_msg
安装
- 将
.zip 文件放入世界目录下的 datapacks 文件夹中。
- 执行
/reload 或重启服务器/世界。
- 配置变量会持久存储在世界数据中。
选择哪个版本?
选择与你的环境匹配的版本。两者共享相同的底层 NBT 逻辑,但在配置处理方式上有所不同。
为什么要使用这个?
- 无额外实体: 通过 NBT 标签直接在源头倍增经验值。它修改现有的经验球,而不是生成新的经验球。
- 跳过枯燥过程: 通过标准玩法(采矿、探索、战斗等)维持附魔和修补装备的修复,无需建造难看的刷怪塔。
- 加速多人服: 非常适合全服活动(例如 5 倍经验周末),而无需更改原版战利品表或生物生成率。
NBT XP Multiplier
Direct NBT tag manipulation for experience_orb entities. Multiplies XP drops at the source without increasing entity count.
1. Trigger Edition (Singleplayer / Small SMPs)
Built for pure Survival/Hardcore. Players can configure the datapack dynamically without Cheats.
- Requirements: Minecraft 1.20.2+
- Permissions: Level 0 (No OP required).
- Performance: Minor tick overhead (listens for triggers in the tick loop).
- Set Multiplier:
/trigger XPMultConfig set <1-10000> (Inputs are clamped to prevent NBT corruption)
- Toggle Boot Message:
/trigger XPMultToggle
2. Function Edition (Large Servers / SMPs with Cheats)
Optimized for high-population servers. Strips all listener checks from tick.mcfunction to maximize TPS.
- Requirements: Minecraft 1.20.2+ (Utilizes function macros)
- Permissions: Level 2 (OP required to configure).
- Performance: Zero tick overhead (configuration functions run strictly on demand).
- Set Multiplier:
/function xpmult:set {value: <1-10000>}
- Toggle Boot Message:
/function xpmult:toggle_msg
Installation
- Drop the
.zip into your world's datapacks directory.
- Execute
/reload or restart the server/world.
- Configuration variables are persistently stored in world data.
Which version to choose?
Choose the version that matches your environment. Both share the same core NBT logic but differ in configuration handling.
Why use this?
- No Extra Entities: Multiplies the XP value directly at the source via NBT tags. It modifies the existing orb rather than spawning new ones.
- Skip the Grind: Maintain enchanting and Mending gear repairs through standard gameplay (mining, exploration, combat etc..) without the need to build ugly mob farms.
- Accelerated SMPs: Perfect for global server events (e.g., x5 XP weekends) without altering vanilla loot tables or mob spawning rates.
评论 0
登录后参与评分
还没有评论,来抢沙发吧