Enchantment Library Standalone
本模组是 Shadows_of_Fire 的 Apothic Enchanting 模组中原有的附魔书柜(Enchantment Library)方块的独立、功能增强版。

机制
附魔书柜是你储存魔法的终极长期解决方案。告别那些塞满不匹配附魔书的箱子吧。该方块将附魔转化为原始的“点数”并直接存储在方块内,让你能够无缝地以你所需的精确等级重新构建你需要的任何书籍。
添加附魔
- 插入: 只需将任何附魔书放入输入槽。书柜会消耗该书,将其中的附魔分解为原始的数学点数,并将其添加到你的点数池中。
- 解除附魔机制: 将任何附魔物品放入
FILTER 槽位并点击 解除附魔按钮。这将销毁该物品,但会将其附魔直接添加到书柜中。
提取与退款
你可以使用以下统一控件将存储的附魔提取到输出书上,或将其退还回书柜:
左键点击:提取恰好 1 级 的附魔。
Shift + 左键点击:根据可用点数和书柜层级,提取该附魔的 最大可能等级。
Ctrl + 左键点击:将输出书上附魔的 1 级 退还回书柜。
Ctrl + Shift + 左键点击:将输出书上的 整个附魔 退还回书柜。
- 返回按钮: 立即将输出书上存在的所有附魔全部退还回书柜的存储中。
动态经验值消耗系统
从书柜中提取纯粹的魔法并非完全免费;它需要玩家的经验值。
为了保持游戏后期的平衡,所需的经验值数量会根据你正在提取的附魔等级呈 二次方 增长:
XpCost = baseMultiplier * (enchlevel * enchlevel)
- 1 级 消耗:
40 经验点(约 4 级)
- 10 级 消耗:
400 经验点(约 17 级)
- 30 级 消耗:
36,000 经验点(约 106 级)
退款: 如果使用 Ctrl 将书本退还回书柜,最初为该附魔所需的精确经验值将直接退还给你。不会损失经验值。
高级工具提示
悬停在书柜中存储的任何附魔上都会显示一个详细的工具提示,让你一目了然地获取有用信息。

你可以看到的内容:
- 已学习最高等级: 书柜当前记录的最高附魔等级。
- 描述: 附魔的解释(需要 DarkhaxDev 的 Enchantment Descriptions 模组)。
- 存储点数 vs 最大点数: 你当前的魔法点数银行与层级上限之间的对比。
- 最终等级: 如果按照当前的点击交互操作,书籍将 实际 拥有的等级。
- 点数与经验消耗: 确切的交易成本。
书柜层级与容量
附魔书柜采用三层系统。更高层级的制作难度显著增加,但会极大地扩展你的存储容量以及允许你重新构建的附魔最高等级。

第 1 层:默认最高等级 V (5)

第 2 层:默认最高等级 X (10)

第 3 层:默认最高等级 XXX (30)

配置选项
Enchantment Library Standalone 具有高度可定制性,特别是对于整合包制作者而言。你可以在配置文件中编辑这些值,或者使用 MrCrayfish 的 Configured 等模组通过用户界面进行编辑。
| 设置 |
默认值 |
作用(原因) |
| 提取需要经验 |
true |
切换整个经验消耗机制。 |
| 基础经验倍数 |
40 |
二次方经验消耗公式中使用的核心乘数(baseMultiplier * level^2)。调低此值可使高等级提取更便宜。 |
| 启用附魔移除按钮 |
true |
切换 GUI 中附魔移除功能的使用。 |
| 保留物品栏 |
true |
如果为 true,破坏方块时会保留掉落物品数据组件中的所有存储附魔点数。 |
| 需要精准采集 |
false |
如果为 true,必须使用精准采集工具才能成功触发 保留物品栏。否则,所有存储的附魔在破坏时都会丢失。 |
| 附魔黑名单 |
(空) |
图书馆将完全拒绝存储的附魔列表(例如 minecraft:mending)。 |
| 1 级库最大等级 |
5 |
你可以从 1 级图书馆中提取的最大附魔等级。 |
| 2 级库最大等级 |
10 |
你可以从 2 级图书馆中提取的最大附魔等级。 |
| 3 级库最大等级 |
30 |
你可以从 3 级图书馆中提取的最大附魔等级。 |
| 1 级库最大点数 |
160 (最多 10 本书) |
单个附魔类型在 1 级库中的最大点数容量。 |
| 2 级库最大点数 |
5,120 (最多 10 本书) |
单个附魔类型在 2 级库中的最大点数容量。 |
| 3 级库最大点数 |
5,368,709,120 (最多 10 本书) |
单个附魔类型在 3 级库中的最大点数容量。 |
常见问题解答 (FAQ)
问:运行此模组是否必须安装 Apothic Enchanting?
答:不需要。这是一个独立模组,不依赖 Apothic Enchanting 或其他任何模组。
问:我可以存储模组添加的附魔吗?
答:可以!除非在配置文件中被列入黑名单,否则完全支持模组添加的附魔。
问:破坏方块会销毁我存储的所有附魔吗?
答:不会。除非在配置中禁用了 Keep Inventory(保留物品栏)。
问:附魔移除按钮会把我的原始物品还给我吗?
答:不会。附魔移除过程会销毁该物品。
整合包
你完全可以自由地在任何整合包中使用此模组。玩得开心!
Enchantment Library Standalone
This mod is a standalone, feature-expanded version of the Enchantment Library block originally from the Apothic Enchanting mod by Shadows_of_Fire.

Mechanics
The Enchantment Library is your ultimate long-term storage solution for magic. Say goodbye to chests overflowing with mismatched enchanted books. The Library converts enchantments into raw "points" stored directly within the block, allowing you to seamlessly reconstruct exactly the book you need, at the exact level you want.
Adding Enchantments
- Insertion: Simply place any Enchanted Book into the input slot. The library will consume the book, break down the enchantments into raw mathematical points, and add them to your pool.
- The Disenchant Mechanic: Place any enchanted item in the
FILTER slot and click the Disenchant Button. This destroys the item but adds its enchantments directly to the library.
Extracting & Refunding
You can extract stored enchantments onto an output book or refund them back into the library using the following unified controls:
Left-Click: Extracts exactly 1 level of the enchantment.
Shift + Left-Click: Extracts the maximum possible level of the enchantment based on your available points and library Tier.
Ctrl + Left-Click: Refunds 1 level of the enchantment from your output book back into the library.
Ctrl + Shift + Left-Click: Refunds the entire enchantment from your output book back into the library.
- Return Button: Instantly refunds all enchantments present on the output book back into the library's storage.
The Dynamic XP Cost System
Extracting pure magic from the library isn't completely free; it requires player Experience Points.
To maintain late-game balance, the required XP amount scales quadratically based on the enchantment level you are actively extracting:
XpCost = baseMultiplier * (enchlevel * enchlevel)
- Level 1 cost:
40 XP Points (~4 Levels)
- Level 10 cost:
400 XP Points (~17 Levels)
- Level 30 cost:
36,000 XP Points (~106 Levels)
Refunds: If you refund a book back into the library using Ctrl, the exact XP cost originally required for those enchantments is refunded directly back to you. No lost XP.
Advanced Tooltips
Hovering over any stored enchantment in the library reveals a detailed tooltip that gives you useful information at a glance.

What you can see:
- Max Learned Level: The highest level of this enchantment the library has currently recorded.
- Description: The explanation of the enchantment (Requires the Enchantment Descriptions mod by DarkhaxDev).
- Stored vs. Max Points: Your current magical point bank versus the Tier's cap.
- Resulting Level: What level the book will actually have if you follow through with the current click interaction.
- Point & XP Cost: The exact transaction costs.
Library Tiers & Capacities
The Enchantment Library operates on a three-tier system. Higher tiers are significantly harder to craft but vastly expand both your storage capacity and the maximum level of enchantment you are allowed to reconstruct.

Tier 1: Default Max Level V (5)

Tier 2: Default Max Level X (10)

Tier 3: Default Max Level XXX (30)

Configuration Options
The Enchantment Library Standalone is quite customizable especially for modpack creators. You can edit these values in the config file or via UI using a mod like Configured by MrCrayfish.
| Setting |
Default |
What It Does (The Why) |
| Require Xp For Extraction |
true |
Toggles the entire Experience Cost mechanic. |
| Base Xp Multiplier |
40 |
The core multiplier used in the quadratic XP cost formula (baseMultiplier * level^2). Lower this to make high-level extractions cheaper. |
| Enable Disenchant Button |
true |
Toggles the functionality of the GUI Disenchant feature. |
| Keep Inventory |
true |
If true, breaking the block retains all stored enchantment points inside the dropped item's data components. |
| Require Silk Touch |
false |
If true, you must use a Silk Touch tool to successfully trigger Keep Inventory. Otherwise, all stored enchantments are lost upon break. |
| Enchantment Blacklist |
(Empty) |
A list of enchantments (e.g., minecraft:mending) that the library will completely refuse to store. |
| Tier 1 Max Level |
5 |
The maximum enchantment level you can extract from a Tier 1 Library. |
| Tier 2 Max Level |
10 |
The maximum enchantment level you can extract from a Tier 2 Library. |
| Tier 3 Max Level |
30 |
The maximum enchantment level you can extract from a Tier 3 Library. |
| Tier 1 Max Points |
160 (10 max books) |
The maximum point capacity for a single enchantment type in Tier 1. |
| Tier 2 Max Points |
5,120 (10 max books) |
The maximum point capacity for a single enchantment type in Tier 2. |
| Tier 3 Max Points |
5,368,709,120 (10 max books) |
The maximum point capacity for a single enchantment type in Tier 3. |
Frequently Asked Questions (FAQ)
Q: Is Apothic Enchanting required to run this mod?
A: No. This is a standalone mod and does not require Apothic Enchanting or any other mods.
Q: Can I store modded enchantments?
A: Yes! Modded enchantments are fully supported unless blacklisted in the config.
Q: Does breaking the block destroy all my stored enchantments?
A: No. Unless Keep Inventory is disabled in the configs.
Q: Will the Disenchant button give me my original item back?
A: No. Disenchanting destroys the item in the process.
Modpacks
You are completely free to use this mod in any modpack. Enjoy!
评论 0
登录后参与评分
还没有评论,来抢沙发吧