这个服务端模组添加了一个简单的命令,用于将经验值存入瓶中以便日后使用!
运行 /redeem <amount> xp | levels
例如:/redeemxp 100 xp 会存储 100 点经验值,而 /redeemxp 10 levels 会将相当于 10 个等级的经验值存入附魔之瓶(Bottle o' Enchanting)中。
如果你手持一个未装满的瓶子时运行该命令,系统会优先填满手中的瓶子,且存储量受限于该瓶子剩余的空间。再次运行命令则会获得一个新的瓶子。
若要存储最大可能的数量,请运行 /redeemxp max。(具体数值取决于玩家当前的经验值 或 瓶子的最大容量)
请注意,如果你在等级 30 时存储 10 级所需的经验值,所得到的经验点数与你等级 20 时存储 10 级所需的经验值是不同的。
若想取回经验值,只需像平常一样右键点击以缓慢释放瓶中的经验值。
每次点击释放的经验值数量以及单个瓶子能容纳的最大经验值均可配置:xp_rate : 10 和 max_xp : 1395。
如果在右键点击时按住 Shift(潜行),则可以一次性取出所有经验值。
可以通过耐久度条或物品描述来监控已存储的经验值。
运行 /redeemxp quickmend 以切换“快速修复”功能。启用后,打开背包并将鼠标悬停在具有修补(Mending)属性的物品上,然后按下副手键即可使用玩家的当前经验值修复该物品。
每次修补消耗的经验值百分比可配置。为了平衡性,还可以配置一个惩罚倍率以增加经验值的消耗。例如 "quickmend_penalty": 2 意味着将消耗双倍的经验值。
玩家死亡时,会掉落一个包含部分经验值的瓶子。此比例可在 xp_percentage_on_death : 50 中进行配置。
运行 /redeemxp info totalxp 可查看你的总经验点数。
运行 /redeemxp info xplevels <levels> 可查看达到指定等级所需的经验点数。
运行 /redeemxp toggle-repair 可在“经验球修复具有修补属性的物品” 或 “增加玩家经验值”之间切换。(此功能可在配置文件中禁用)
要使配置文件出现,请先加载并运行一次模组,然后你可以在 /config/redeemxp.json5 中修改数值。
如果你在单人游戏中,可以使用 Mod Menu 来配置数值。
TL;DR
/redeemxp <amount> xp | levels
/redeemxp max
/redeemxp info totalxp
/redeemxp info xplevels <levels>
/redeemxp quickmend
/redeemxp toggle-repair
"max_xp" : 1395
"xp_rate" : 10
"quick_mend_enabled": true
"quickmend_percentage": 10
"quickmend_penalty": 1.5
"xp_percentage_on_death" : 50
"toggle_repair_enabled": true
配置文件示例:

This server-side mod adds a simple command to redeem and store xp in a bottle for later use!
Run /redeem <amount> xp | levels
For e.g. /redeemxp 100 xp stores 100 xp points, whereas /redeemxp 10 levels stores the xp for 10 levels in a Bottle o' Enchanting.
If you run the command while holding a bottle that is not full, that bottle will be filled first and the amount would be capped by the space in that bottle. Running the command again would give you a new bottle.
To redeem the maximum amount possible run /redeemxp max. (Would depend on player's current xp or the maximum space of a bottle)
Keep in mind, if u redeem 10 levels while being at 30, u will get an xp amount that is different from when u redeem 10 levels while being at 20, for example.
To get the xp back again, simply right click to slowly drain the bottle just like normal.
The xp which is given out per click and the maximum amount a bottle can hold are configurable: xp_rate : 10 and max_xp : 1395.
If u sneak while right-clicking u can get all the xp at once.
The stored xp can be monitored by the durability bar or the description.
Run /redeemxp quickmend to toggle quick mend feature. When its enabled, open inventory and hover over an item with mending and press offhand key to mend that item using the players xp.
Amount in percentage of each mend can be configured. For balance, a penalty multiplier can also be configured to increase the use of xp. For example "quickmend_penalty": 2 means double the xp will be used.
On death, the player drops a bottle containing a fraction of their xp. This can be configured under xp_percentage_on_death : 50.
Run /redeemxp info totalxp to get your total xp points.
Run /redeemxp info xplevels <levels> to get the xp points required to reach that level.
Run /redeemxp toggle-repair to toggle between whether xp orbs repair items with mending or increase the player's xp. (This feature can be disabled in the config)
For the config file to appear load and run the mod once, then u can change the values in /config/redeemxp.json5
If you are on singleplayer you can use Mod Menu to configure the values.
TL;DR
/redeemxp <amount> xp | levels
/redeemxp max
/redeemxp info totalxp
/redeemxp info xplevels <levels>
/redeemxp quickmend
/redeemxp toggle-repair
"max_xp" : 1395
"xp_rate" : 10
"quick_mend_enabled": true
"quickmend_percentage": 10
"quickmend_penalty": 1.5
"xp_percentage_on_death" : 50
"toggle_repair_enabled": true
Config example:

评论 0
登录后参与评分
还没有评论,来抢沙发吧