一款简单的实用模组,在关闭附魔台界面时,会将青金石保留在附魔台中,而不是返还到玩家的物品栏。稍后重新打开同一个附魔台时,之前存放的青金石仍会留在原处。
可在服务端(或单人游戏)安装——客户端安装为可选。 原版客户端可以无缝加入并使用该功能。
依赖项: Fabric 需要 Fabric API 和 Architectury API。NeoForge 需要 Architectury API。Forge 无需额外依赖。
允许用于任何整合包 —— 无论是公开还是私有,均无需征得许可。
功能说明
- 防止在关闭附魔界面时将青金石弹出至玩家物品栏。
- 将剩余的青金石安全地存储在该特定的附魔台中。
- 当玩家或其他玩家再次打开同一附魔台时,立即将青金石恢复至槽位中。
- 将存储的青金石与附魔台的精确方块位置及维度绑定。
- 每次青金石数量发生变化时都会进行保存,因此即使附魔台处于开启状态时服务器崩溃,也不会丢失数据。
详细信息
- 一个附魔台,同时只能由一名玩家持有 —— 首先打开附魔台的玩家将获得存储的青金石。若另一名玩家在同一时刻打开它,则会看到空槽,并在关闭时收回自己的青金石。
- 破坏附魔台 —— 若附魔台处于开启状态,其槽位中的青金石将返还给当前玩家。已存储的青金石会随附魔台一同销毁,不会传递给放置在相同位置的新附魔台。
- 存储机制 —— 青金石按世界存储在
staylapis/文件夹中。如果存储文件损坏,问题会被记录日志,文件本身保持不变,且该维度内的附魔台会将青金石返还给玩家,直到文件修复为止。 - Penchant(可选) —— 在 Fabric 1.21.1 版本上,StayLapis 可与 Penchant 重构的附魔台配合使用。用于移除附魔的书本不会被保留,始终会返还给玩家。其他加载器及版本不支持 Penchant。
反馈
请在 Discord 上报告任何错误、报错信息或功能建议:
Nikrecs 的其他模组: AutoLapis · RemoveEnchantmentIncompatibility
以下是我推荐的其他模组。
A simple utility mod that keeps lapis lazuli inside the enchanting table instead of returning it to your inventory when the menu is closed. Reopen the same table later, and your stored lapis will still be right where you left it.
Install on the server (or in singleplayer) — client installation is optional. Vanilla clients can join and use it seamlessly.
Dependencies: Fabric needs Fabric API and Architectury API. NeoForge needs Architectury API. Forge needs no additional dependencies.
Free to use in any modpack — public or private, no permission needed.
What it does
- Prevents lapis from popping back into your inventory when you close the enchanting interface.
- Safely stores the remaining lapis inside that specific enchanting table.
- Instantly restores the lapis into the slot when you or another player open the same table again.
- Ties the stored lapis to the exact block position and dimension of the table.
- Saves the stored lapis every time it changes, so a server crash while the table is open doesn't lose it.
Details
- One table, one owner at a time — whoever opens the table first gets the stored lapis. A player opening it at the same moment sees an empty slot and gets their own lapis back on close.
- Breaking a table — lapis in an open table's slot is returned to that player. Stored lapis is discarded with the table and never passes to a new table placed in the same spot.
- Storage — lapis is kept per world in the
staylapis/folder. If a storage file is damaged, the problem is logged, the file is left untouched, and tables in that dimension simply hand your lapis back until it's fixed. - Penchant (optional) — on Fabric 1.21.1, StayLapis works with Penchant's reworked enchanting table. A book placed to remove an enchantment is never kept and always comes back to you. Other loaders and versions don't support Penchant.
Feedback
Please report any bugs, errors, or feature suggestions on Discord:
More mods by Nikrecs: AutoLapis · RemoveEnchantmentIncompatibility
My other mods that I recommend.
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
下载 StayLapis
StayLapis 1.1.1
已修复
- Penchant 的附魔台现在在 Fabric 1.21.11、26.1.2、26.2、26.3 和 NeoForge 1.21.1、26.1.2 版本上能正确保留青金石。此前,在这些版本关闭界面时青金石会返回背包,且之前存储的青金石不会显示。现在可以正常显示了。原因:Penchant 用其自定义菜单替换了原版附魔菜单(这是 Penchant 的一项设置,默认开启),而 StayLapis 仅在 Fabric 1.21.1 上识别该菜单。
- 放入 Penchant 槽位以移除附魔的书不会被存储,始终返还给玩家。
未变更
- 没有安装 Penchant 时,所有版本的行为与 1.1.0 完全一致。
- 安装了 Penchant 的 Fabric 1.21.1 行为与 1.1.0 一致。
- 存储格式和文件:世界文件保留附魔台原本存储的青金石数据。
- 所需依赖及最低版本要求。
兼容性
- 服务器端必需,客户端可选。
- Fabric:需要 Fabric API + Architectury API。NeoForge:需要 Architectury API。Forge:无需额外依赖。
- Penchant 为可选依赖。测试兼容版本如下:
- Fabric 1.21.1: 0.3.11+mc1.21.1
- Fabric 1.21.11: 0.3.13+mc1.21.11
- Fabric 26.1.2: 0.6.0+mc26.1.2
- Fabric 26.2: 0.5.5+mc26.2
- Fabric 26.3: 0.6.0+mc26.3
- NeoForge 1.21.1: 0.3.7+connector+mc1.21.1(通过 Sinytra Connector)
- NeoForge 26.1.2: 0.6.0+mc26.1.2(通过 Launchpad)
- Penchant 不提供 Forge、Minecraft 1.19.2/1.20.1 或 NeoForge 1.21.11/26.2/26.3 的文件;在这些情况下,StayLapis 按原有方式工作。
- Penchant 自身的依赖要求(非 StayLapis 要求):
- NeoForge 1.21.1:需要 Sinytra Connector + Forgified Fabric API(0.116.15+2.3.6 需要 NeoForge 21.1.262+)
- NeoForge 26.1.2:需要 Launchpad + Forgified Fabric API(Launchpad 1.10.2 需要 NeoForge 26.1.2.114+)
- Fabric 26.2:Penchant 0.5.5 需要 Fabric API 0.155.0+26.2 或更高版本,否则游戏启动时会崩溃,无论是否安装 StayLapis。
| Minecraft | Fabric Loader | Fabric API | Architectury | Forge | NeoForge |
|---|---|---|---|---|---|
| 1.19.2 | 0.14.9+ | 0.66.0+ | 6.6.92+ | 43.1.0+ | – |
| 1.20.1 | 0.14.21+ | 0.83.0+ | 9.2.14+ | 47.1.0+ | – |
| 1.21.1 | 0.15.11+ | 0.102.0+ | 13.0.11+ | 52.1.0+ | 21.1.1+ |
| 1.21.11 | 0.17.3+ | 0.139.4+ | 19.0.1+ | 61.1.0+ | 21.11.0-beta+ |
| 26.1.2 | 0.19.5+ | 0.154.0+ | 20.1.14+ | – | 26.1.2.99+ |
| 26.2 | 0.19.3+ | 0.154.0+ | 21.0.7+ | – | 26.2.0.40-beta+ |
| 26.3 | 0.19.5+ | 0.160.5+ | 22.0.1+ | – | 26.3.0.0-beta+ |
StayLapis 1.1.0
新增
- 新的构建版本:Fabric 1.19.2、Forge 1.21.1、Forge 1.21.11。它们的行为与其加载器下的其他构建版本一致。
- Fabric 1.21.1:兼容 Penchant 重制的附魔台界面。附魔台会像原版一样保留你的青金石,而放入其槽位以移除附魔的书本不会被保留,总是会返还给你。
移除
- Minecraft 26.1.1(Fabric 和 NeoForge)。请使用 26.1.2 的文件。
修复
- NeoForge 1.21.1 和 1.21.11:附魔台现在确实会保留你的青金石。在此之前的这些版本中,它总是会将青金石返还到你的物品栏。
- Forge:打开的附魔台中的青金石在每次发生变化时都会保存,与 Fabric 和 NeoForge 一致,因此服务器在附魔台打开时崩溃不再导致青金石丢失。
- Fabric 1.21.1 搭配 Penchant:之前附魔台不保留任何内容,且之前存储的青金石无法显示。已修复(参见“新增”部分)。
- 两名玩家同时打开同一张附魔台时,两人都有可能取走其中存储的青金石。现在,先打开的玩家获得存储的青金石;同时打开的玩家会看到空槽位,并在关闭时拿回自己的青金石。
- 损坏或被替换的附魔台不再将其旧有的青金石传递给在同一位置放置的新附魔台。
- 当有人正在使用附魔台时破坏该方块,现在会将其槽位中的青金石返还,而不是将其销毁。
- 损坏的 StayLapis 存储文件不再导致附魔台故障。问题会被记录在日志中,文件保持原样不动,该维度内的附魔台会直接返还你的青金石,而不是在文件修复前一直保留。
更改
- Fabric 现在需要 Fabric API 和 Architectury API;NeoForge 需要 Architectury API;Forge 除了 Forge 本身外无需其他依赖。
- Fabric 26.1.2 现在要求 Fabric Loader 0.19.5 或更高版本(Architectury API 20.1.14 在较旧的加载器上启动时会崩溃)。
- 每个文件都声明了其确切的 Minecraft 版本号。
未变
- 世界会保留附魔台已经存储的青金石(相同的
staylapis/文件夹和文件)。
兼容性
服务端(或单人游戏)必需,客户端可选。
Fabric(需要 Fabric API 和 Architectury API)
| Minecraft | Fabric Loader | Fabric API | Architectury API |
|---|---|---|---|
| 1.19.2 | 0.14.9+ | 0.66.0+1.19.2+ | 6.6.92+ (6.x) |
| 1.20.1 | 0.14.21+ | 0.83.0+1.20.1+ | 9.2.14+ (9.x) |
| 1.21.1 | 0.15.11+ | 0.102.0+1.21.1+ | 13.0.11+ (13.x) |
| 1.21.11 | 0.17.3+ | 0.139.4+1.21.11+ | 19.0.1+ (19.x) |
| 26.1.2 | 0.19.5+ | 0.154.0+26.1.2+ | 20.1.14+ (20.x) |
| 26.2 | 0.19.3+ | 0.154.0+26.2+ | 21.0.7+ (21.x) |
| 26.3 | 0.19.5+ | 0.160.5+26.3+ | 22.0.1+ (22.x) |
Forge(无需其他依赖)
- 1.19.2: Forge 43.1.0+ (43.x)
- 1.20.1: Forge 47.1.0+ (47.x)
- 1.21.1: Forge 52.1.0+ (52.x)
- 1.21.11: Forge 61.1.0+ (61.x)
NeoForge(需要 Architectury API)
- 1.21.1: NeoForge 21.1.1+ (21.1.x), Architectury API 13.0.11+ (13.x)
- 1.21.11: NeoForge 21.11.0-beta+ (21.11.x), Architectury API 19.0.1+ (19.x)
- 26.1.2: NeoForge 26.1.2.99+ (低于 26.2), Architectury API 20.1.14+ (20.x)
- 26.2: NeoForge 26.2.0.40-beta+ (低于 26.3), Architectury API 21.0.7+ (21.x)
- 26.3: NeoForge 26.3.0.0-beta+ (低于 26.4), Architectury API 22.0.1+ (22.x)
26.1.1 已被 26.1.2 取代,因为 Architectury API 从未为 26.1.0 或 26.1.1 构建过。
Penchant 是可选的。没有它,StayLapis 的工作方式相同。仅在 Fabric 1.21.1 上支持兼容性(已与 Penchant 0.3.11+mc1.21.1 测试通过),不支持 NeoForge、Forge 或其他 Minecraft 版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧