跳到正文

Enchantment Library

作者:kurrycat

For all your enchantment storage needs

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 支持哪些 Minecraft 版本?

Enchantment Library 支持 Minecraft Java 版 1.12.2,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Enchantment Library 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

kurrycat 的其他作品

查看全部 →