介绍
* Development of this mod is on hold for the foreseeable future. *
Allows inventories to be created using commands. Inventories can then be opened using commands and be used to store things (like backpacks without the backpack).
Inventories can have the option of only certain players being able to open them. You specify a predicate by identifier using /inventorymaker edit checker.
Commands
/inventorymaker create [
/inventorymaker edit title
/inventorymaker edit checker
/inventorymaker edit slot
/inventorymaker open []
/inventorymaker delete
Shorter Commands
You can use a mod like Command Aliases to shorten commands.
Example
After running the command /inventorymaker create minecraft:generic_9x3 "example:shared".
And adding this json file:
config -> commandaliases ->
shared.json
{
"schemaVersion": 1,
"commandMode": "COMMAND_CUSTOM",
"command": "shared",
"actions": [
{
"command": "inventorymaker open 'example:shared'",
"commandType": "CLIENT"
}
]
}
Players can use the command /shared to open the created inventory.
Permissions
inventorymaker – default none
inventorymaker.create – default 2
inventorymaker.edit – default 2
inventorymaker.open.others – default 3
inventorymaker.delete – default 2
Placeholder API Support (1.2.0+)
Placeholders in id will be parsed when command is run.
Placeholders in titles will be parsed each time an inventory is opened.
常见问题
Inventory Maker 支持哪些 Minecraft 版本?
Inventory Maker 支持 Minecraft Java 版 1.18.2–1.21,共 8 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Inventory Maker 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
hoid2 的其他作品
查看全部 →Click Opener Mod
Fabric Mod that opens inventory screens when their items are clicked
Action Inventory Mod
Allows creation of special inventories that do things when items are clicked
Inventory Maker
Allows inventories to be created using commands.
Json Chat Mod
This allows you to use json in chat.
评论
登录后评论和评分