功能
本模组添加了一个物品——经验书(XP Tome)。使用经验书可以存储和提取经验值。默认情况下,它可以存储最多 1395 点经验值(可配置),这相当于在经验条上拥有 30 级。
用法
- 潜行 + 右键点击:存储经验值
- 右键点击:提取经验值
合成配方
配置/物品组件
注意:对于物品组件,“true”表示该组件存在于物品上,“false”表示不存在。
注意:如果你想更改经验书的默认物品组件,你仍然可以使用配置文件,但这有一些注意事项,详见文件说明。建议创建一个数据包,并按照你的意愿设置组件来覆盖经验书的合成配方。这是一个示例配方。 有关 数据包 和 合成配方 的更多信息,请参阅 Wiki!
- max_xp - 经验书所能容纳的最大经验值点数。默认值(1395)代表经验条上有 30 级。
- retrieval_percentage - 书本返还的经验百分比,作为使用它的一种代价。例如:如果将此配置值设置为 0.75,且经验书中存储了 100 点经验值,尝试提取这 100 点经验值将返还 75 点经验值。注意:由于 Minecraft 的经验值不使用小数,因此不会 100% 准确。
- retrieve_until_next_level - 将其设置为 true 时,每次仅从书本中移除玩家达到下一级所需的经验值数量。
- retrieve_xp_orbs - 将其设置为 true 将以经验球的形式从书本中提取经验值。如果你希望使用来自书本的经验值为通过“经验修补”附魔的工具附魔,这将非常有用。
- store_until_previous_level - 将其设置为 true 时,仅从玩家的经验条中存储经验值直到达到上一级,这意味着每次添加到书本存储中的经验值最多只有一级。
Minecraft 版本 1.14.4-1.20.1 的配置文件位于你世界目录下的 serverconfig 文件夹中。
更多信息
本模组由我根据 Shivaxi 的请求创建。它基于 XP Book,由于原版模组存在复制漏洞以及每次使用书本时都会重置附魔台的 bug,因此重新制作了此模组。由于本模组使用了与原版相同的 modid 和 item id,两个模组不能同时安装,但在它们之间切换不会丢失任何物品。我没有使用原版模组的任何代码或素材。
允许在任何整合包中使用此模组。
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/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.
下载 XP Tome
下载 XP Tome
下载 XP Tome
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 XP Tome
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 XP Tome
下载 XP Tome
下载 XP Tome
下载 XP Tome
下载 XP Tome
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 XP Tome
- 已更新为 Minecraft 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧