跳到正文

Anisum

作者:Gu-ZT

Add the items from the datapacks to Creative Mode Tab

收藏

介绍

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

Anisum

Anisum is a NeoForge-based Minecraft mod that collects items from loot tables and syncs them into client creative tabs for easier content organization and browsing.

Features

  • Define tab sources and ordering through datapack JSON files.
  • include rules support exact match, wildcard, and regex patterns.
  • Automatically reprocesses loot tables after server datapack reload.
  • Syncs tab payloads to players on join.

Configuration

Anisum reads JSON definitions via a resource reload listener with the anisum directory prefix. Typical location:

  • data/<namespace>/anisum/<name>.json

Example:

{
  "location": "anisum:demo",
  "name": { "translate": "itemGroup.anisum.demo" },
  "include": [
    "examplemod:chests/simple_dungeon",
    "examplemod:chests/*",
    "examplemod:chests/.*_rare"
  ],
  "sort": [
    "examplemod:chests/simple_dungeon",
    "examplemod:chests/*"
  ]
}

Field notes:

  • location: target tab identifier (namespace:path).
  • name: tab display name (text component).
  • icon: optional tab icon (empty if omitted).
  • include: optional list of loot table matching rules.
  • sort: optional list of ordering rules.

Supported rule formats for include / sort:

  • Full path: namespace:path/to/table
  • Wildcard: namespace:path/to/*_cell
  • Regex: namespace:path/to/.*_cell

常见问题

Anisum 支持哪些 Minecraft 版本?

Anisum 支持 Minecraft Java 版 1.21.1–26.1,共 4 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Anisum 怎么安装?

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

评论

登录后评论和评分

Gu-ZT 的其他作品

查看全部 →