附魔图书馆
仅支持 1.12.2
描述
添加了一个方块:附魔图书馆,它可以存储任意数量的附魔。
当放入附魔书时,它会被转换为对应的“点数”。
附魔的“点数”为 2等级-1,其中 等级 是所放入附魔的等级。
只要拥有足够的点数,并且之前曾放入过至少该等级的附魔,你就可以提取任何已存储的附魔及其对应等级。
因此,如果你从未放入过 III 级或更高级别的「耐久」附魔书,那么放入两本 II 级的「耐久」附魔书后尝试提取一本 III 级的「耐久」附魔书是无效的。
由于附魔的存储方式,可存储点数上限为 2MAX_SHORT-1 * 2 * MAX_LONG(乘以 2 是因为点数以无符号形式存储,因此符号位也可被使用)。
然而,支持存储/插入/提取的最大等级为 MAX_SHORT(这也是原版 Minecraft 的限制)。
附魔图书馆还会将每种附魔的可提取最大等级作为附魔书暴露给自动化系统(漏斗、AE2 等)。
插入功能支持任何附魔书(包含附魔的)。如果一本书有多个附魔,它们都会被存储(可在配置中禁用此行为)。
在图形界面中提取附魔书时,等级范围可从 1 到可提取的最大等级。
手持附魔书点击不同的附魔,会将该附魔添加到手中所持的书上(可在配置中禁用此行为)。
该模组还添加了以下配置选项:
- 工具提示中附魔等级数字的格式(可更改为普通数字,或将罗马数字扩展至 3999,之后使用普通数字)
- 附魔书的堆叠数量
如果不需要这些功能或与其他模组产生冲突,可以完全禁用上述选项。
Enchantment Library
1.12.2 only
Description
Adds a single block: the Enchantment Library, which can store any number of enchantments.
When inserting an enchanted book, it gets converted into its "point worth".
The "points worth" of an enchantment is 2level-1, where level is the level of the inserted enchantment.
You can then extract any stored enchantment at any level, as long as you have enough points, and you have inserted an enchantment of at least that level before.
So inserting two Unbreaking II books and extracting one Unbreaking III will NOT work if you have never inserted an Unbreaking III book or higher before.
Because of the way the enchantments are stored, the upper limit on how many points you can have stored is 2MAX_SHORT-1 * 2 * MAX_LONG (the *2 is because the points are stored unsigned, so the sign bit can also be used).
The maximum level supported for storage/insertion/extraction however is MAX_SHORT (which is also the limit of Vanilla).
The Enchantment Library also exposes the max level extractable of each enchantment as enchanted books to automation (Hoppers, AE2, etc.).
Insertion supports ANY enchanted book (that has enchantments). If a book has multiple enchantments, they will all get stored (can be disabled in config).
Extracting books in the GUI is possible for any level from 1 to the max extractable.
Clicking with an enchanted book in hand on a different enchantment will add that enchantment to the book held (can be disabled in config).
The mod also adds config options for:
- enchantment level number formatting in tooltips (can be changed to normal numbers, or extend roman numerals to 3999 and then use normal numbers)
- enchanted book stack size
These options can all be fully disabled in case the functionality is not wanted / causes issues with other mods.
下载 Enchantment Library
下载 Enchantment Library
下载 Enchantment Library
下载 Enchantment Library
下载 Enchantment Library
下载 Enchantment Library
下载 Enchantment Library
完整更新日志:
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧