StayLapis: Keep Lapis Inside Enchanting Tables in Minecraft

StayLapis keeps lapis lazuli stored inside enchanting tables for Minecraft, so your gems stay put between sessions. Server-side and modpack friendly.

StayLapis

If you have ever enchanted a stack of gear in one sitting, you know the small annoyance: every time you close the enchanting table, the leftover lapis lazuli hops right back into your inventory. You reopen the table a minute later and have to feed the gems in again. StayLapis is a lightweight utility mod that fixes exactly that. It keeps the remaining lapis inside the specific enchanting table you used, so it is waiting for you the next time you open it. No menus to configure, no new blocks, no learning curve. Just less shuffling of blue rocks.

What StayLapis Actually Does

The core behavior is simple and satisfying. When you close the enchanting interface, StayLapis prevents the lapis from popping back into your inventory and safely stores it inside that particular table. Reopen the same table later, and the stored lapis is instantly restored into the slot. The mod ties the stored lapis to the exact block position and dimension of the table, so a table in your base and a table in a far-off outpost never mix their contents. The stored lapis is saved every time it changes, which means a server crash while the table is open will not lose your gems.

Because the mod runs on the server side, everyone on the server benefits, and vanilla clients can join and use it seamlessly. Client installation is entirely optional. That makes StayLapis for Minecraft a great fit for survival servers that want a quality-of-life tweak without forcing players to install anything.

Ownership and Table Rules

  • One table, one owner at a time: whoever opens the table first gets the stored lapis.
  • A player opening the table at the same moment sees an empty slot and gets their own lapis back on close.
  • Breaking a table returns the lapis in an open table's slot to that player.
  • Stored lapis is discarded with the table and never passes to a new table placed in the same spot.

Storage, Safety, and Penchant Support

Lapis is kept per world in the staylapis/ folder. If a storage file gets damaged, the problem is logged, the file is left untouched, and tables in that dimension simply hand your lapis back until it is fixed. That is a sensible failure mode: no dupes, no lost gems, no silent corruption.

On Fabric 1.21.1, StayLapis also 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 do not support Penchant, so keep that in mind if you build around it.

Supported Versions and Loaders

StayLapis is available for Fabric, NeoForge, and Forge, covering modern Minecraft releases including 1.21.1. Dependencies differ by loader: Fabric needs Fabric API and Architectury API, NeoForge needs Architectury API, and Forge needs no additional dependencies at all. The mod is free to use in any modpack, public or private, with no permission required, which makes it an easy inclusion for pack authors.

If you would rather skip manual file juggling, the foxygame.net launcher offers a one-click install for StayLapis and keeps it updated automatically as new Minecraft versions roll out, so version compatibility is handled for you.

How to Install

Ready to try it? Here is how to install StayLapis on a typical setup:

  • Download StayLapis for Minecraft from the official mod page and match the file to your loader and game version.
  • Drop the jar into your mods folder, or into the server's mods folder if you run multiplayer.
  • Add the required dependencies for your loader: Fabric API and Architectury API on Fabric, Architectury API on NeoForge, nothing extra on Forge.
  • Restart the game or server, then test with a table and a few lapis.

Server owners should note that installing on the server alone is enough for the core feature; client installation is optional and vanilla players can still join.

Final Thoughts

StayLapis is the kind of mod you install once and forget about, because it removes a tiny friction point that adds up over hundreds of enchanting sessions. It is server-friendly, modpack-friendly, and careful with your items. If you have ever wished your lapis would just stay where you left it, this is the add-on for you. Bugs and suggestions go to the developer's Discord, and pack authors can include it freely.