跳到正文

StayLapis

作者:Nikrecs

Keeps your lapis lazuli inside the enchanting table when you close the UI

收藏

截图

介绍

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

JOIN OUR DISCORD CURSEFORGE

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: https://discord.gg/HTkn94BXmA

More mods by Nikrecs: AutoLapis · RemoveEnchantmentIncompatibility

My other mods that I recommend.

常见问题

StayLapis 支持哪些 Minecraft 版本?

StayLapis 支持 Minecraft Java 版 1.19.2–26.3,共 9 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

StayLapis 怎么安装?

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

评论

登录后评论和评分

Nikrecs 的其他作品

查看全部 →