跳到正文

Lock Your Inventory

作者:imthefixpot

Temporarily lock Minecraft keybinds to prevent accidental actions without changing your controls.

收藏

介绍

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

🔒 Lock Your Inventory

Lock Your Inventory is a lightweight client-side Fabric mod that lets you temporarily disable Minecraft keybinds without changing or deleting them.

It is useful when you want to prevent accidental actions during PvP, building, or normal gameplay.

🎮 Example

Normally, pressing Q drops the item you are holding.

With Lock Your Inventory:

  1. Press I to open the mod menu.
  2. Find Drop Item.
  3. Click it until it shows Locked.
  4. Pressing Q will no longer drop your item.

When you want Q to work again, open the menu and set Drop Item back to Active.

Your original keybind stays saved the entire time.

✨ Features

  • 🔒 Temporarily lock Minecraft keybinds
  • ✅ Unlock them anytime
  • 💾 Your locked keybinds are saved automatically
  • ⌨️ Press I to open the menu
  • 🎮 Useful for PvP and preventing accidental key presses
  • 💻 Fully client-side
  • ⚡ Lightweight and simple

⚠️ Important

The mod blocks keybind actions.

For example, locking Drop Item prevents the Q key from dropping items.

It does not prevent you from manually dragging an item out of your inventory with the mouse.

📦 Requirements

Minecraft: 26.2
Mod Loader: Fabric
Fabric API: Required
Java: 25

💻 Client-side

Only you need to install the mod.

The server and other players do not need Lock Your Inventory.

❤️ Support the project

If you like Lock Your Inventory and want to support future projects:

Buy us a Cookie

📄 License

MIT License

常见问题

Lock Your Inventory 支持哪些 Minecraft 版本?

Lock Your Inventory 支持 Minecraft Java 版 26.2–26.3,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Lock Your Inventory 怎么安装?

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

评论

登录后评论和评分

imthefixpot 的其他作品

查看全部 →