跳到正文

Item Group Creator

作者:Khaimolop

Create custom groups in the creative inventory, with support for NBT and items from other mods.

收藏

截图

介绍

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

Item Group Creator

Item Group Creator is a Fabric mod designed to allow, through JSON files within the mod’s own resources, both on the client and server side, the addition of new sections in the creative inventory.

What can you do?

  • Create new inventory groups with custom names and icons.
  • Include items from any mod.
  • Include base Minecraft items.
  • Configure specific NBTs for items.

These sections are fully configurable and support NBTs and items from other mods, allowing you to organize all your content.

Important version note

Be careful with Minecraft versions:

In 1.21.1, item components use square brackets […]

In 1.20.4 and below, items use classic NBT {…}

Note: Each example below is already adapted to its correct version. Make sure you use the correct format for your server/version, otherwise items may not work or groups may fail to load.

Configuration path

To create your own groups, place the JSON files in the following path:

data/itemgroupcreator/groups/

Note: The inner folder /groups is where the mod looks for the different item JSON files when starting the game or server.

Group example 1.20.4

{
  "id": "groupcreator:basic_tools",
  "name": "Basic Tools",
  "icon": "minecraft:iron_pickaxe",
  "items": [
    "minecraft:wooden_pickaxe",
    "minecraft:stone_pickaxe",
    "minecraft:iron_pickaxe",
    "minecraft:diamond_pickaxe",
    "minecraft:golden_pickaxe"
  ]
}

Group example with NBTs 1.20.4

{
  "id": "groupcreator:adventure_items",
  "name": "Adventure Items",
  "icon": "minecraft:blaze_rod",
  "items": [
    "minecraft:blaze_rod{display:{Name:'{\"text\":\"Fire Wand\",\"italic\":false}'}}",
    "minecraft:ender_pearl{display:{Name:'{\"text\":\"Teleport Wand\",\"italic\":false}'}}",
    "minecraft:shield{display:{Name:'{\"text\":\"Protective Shield\",\"italic\":false}'}}",
    "minecraft:arrow{display:{Name:'{\"text\":\"Arrow\",\"italic\":false}'}}"
  ]
}

Group example 1.21.1

{
  "id": "groupcreator:basic_tools",
  "name": "Basic Tools",
  "icon": "minecraft:iron_pickaxe",
  "items": [
    "minecraft:wooden_pickaxe",
    "minecraft:stone_pickaxe",
    "minecraft:iron_pickaxe",
    "minecraft:diamond_pickaxe",
    "minecraft:golden_pickaxe"
  ]
}

Group example with NBTs 1.21.1

{
  "id": "groupcreator:adventure_items",
  "name": "Adventure Items",
  "icon": "minecraft:blaze_rod",
  "items": [
    "minecraft:blaze_rod[minecraft:custom_name='{\"text\":\"Fire Wand\",\"italic\":false}']",
    "minecraft:ender_pearl[minecraft:custom_name='{\"text\":\"Teleport Wand\",\"italic\":false}']",
    "minecraft:shield[minecraft:custom_name='{\"text\":\"Protective Shield\",\"italic\":false}']",
    "minecraft:arrow[minecraft:custom_name='{\"text\":\"Arrow\",\"italic\":false}']"
  ]
}

Note: When starting the game or server, the console will indicate which groups were created successfully and which were not.

常见问题

Item Group Creator 支持哪些 Minecraft 版本?

Item Group Creator 支持 Minecraft Java 版 1.20.4–1.21.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Item Group Creator 怎么安装?

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

评论

登录后评论和评分

Khaimolop 的其他作品

查看全部 →