Описание
# 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//anisum/.json`
Example:
```json
{
"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`