Minecraft 1.20.1, 1.21 के लिए Locki मॉड
खिलाड़ी की इन्वेंट्री तक पहुंच नियंत्रित करने के लिए एक लाइब्रेरी
Locki मॉड के बारे में
A library handling player inventory locking. Can also be used as a standalone mod, through the /locki command.
This mod must be installed on both server and client to work properly.
Overview
Locki represents slots using inventory nodes. Inventory nodes are structured as a tree, allowing commands or mods to quickly lock or unlock entire sections while retaining controls over finer units. Inventory nodes are represented as a dot-separated path, from least specific ancestor to most specific child node. For example inventory describes the entirety of the player's inventory, while inventory.armor.chest describes the chestplate slot of the inventory.
When an inventory node gets locked, descendant nodes can still be unlocked, allowing you to exclude specific slots from a broad access ban. For example, locking inventory then unlocking inventory.armor.chest will prevent the player from touching any item in their inventory except their chestplate.
Commands Locki adds the /locki command, allowing server operators and mapmakers to interact with the API through commands.
- /locki lock <node> [<targets>] [<lock>] : locks the inventories of one or more players
- <node> : a full path describing a known inventory node.
- [<targets>] (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.
- [<lock>] (optional) : If specified, must be a valid identifier referencing a registered lock. If unspecified, defaults to the generic "command" lock.
- /locki unlock <node> [<targets>] [<lock>] : unlocks the inventories of one or more players
- <node> : a full path describing a known inventory node.
- [<targets>] (optional) : If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.
- [<lock>] (optional) : If specified, must be a valid identifier that was previously used as a lock to affect the players' inventories. If left unspecified, defaults to the generic "command" lock.
Permissions If you have LuckPerms installed, the above commands can be used by players with the locki.command.lock permission. If you only grant locki.command.lock.self, players will only be able to use the commands on themselves.
For more information on how to add it to your development environment and how to use it, see the project's readme.

Locki कैसे इंस्टॉल करें
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.20.1–1.21 on Fabric or Quilt automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Fabric or Quilt
The loader must match the game version of the mod file, for example Minecraft 1.21. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file locki-0.13.0-standalone.jar (179 KB) for your game version and loader.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Locki should be in the list.
Minecraft 1.21 runs on Java 21: with a different Java version the game may close right after launch.
वर्ज़न
डिपेंडेंसी के साथ
| Minecraft | लोडर | फ़ाइल | तारीख़ | क्रियाएँ |
|---|---|---|---|---|
| 1.21 | Fabric | locki-0.13.0.jar179 KB | ||
| 1.20.1 | Quilt | locki-0.11.1.jar161 KB |
FAQ
Which Minecraft versions does Locki work on?
There are files for 1.21, 1.20.1. The newest is 1.21.
Is Locki for Forge or Fabric?
There are files for Fabric: 1.21 and for Quilt: 1.20.1. There are no files for Forge or NeoForge: a mod for another loader will not start.
Does Locki need other mods?
The author lists no required dependencies: the Fabric or Quilt loader is enough.
Which Java does Locki need?
Minecraft 1.21 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download Locki safely?
On this page: the file locki-0.13.0-standalone.jar (179 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: 665e421e3efb5357c51c446cb5baea62f82a443f.
रिव्यू
Locki को सबसे पहले रेट करें

