MineDex

MineDex

一个用于Minecraft的物品收集模组,允许玩家注册和索引物品。

工具

Minecraft 的物品图鉴收集模式,玩家可通过数据包注册并索引物品。UI 使用 Jetpack Compose 和 Material 3 通过 Composite 模式创建。

依赖

https://modrinth.com/mod/composite

命令与快捷键 / 명령어 및 단축키

Key(G) - 도감 확인(打开 MineDex 界面)

/minedex reload

/minedex progress set <target> <category> <item> <amount>
/minedex progress add <target> <category> <item> <amount>
/minedex progress get <target> <category> <item>

/minedex category clear <target> <category>
/minedex category reset <target> <category>

/minedex reward reset <target> <category>
/minedex reward reset <target> <category> <threshold>

添加分类示例 / 카테고리 추가 예제

minedex/categories/mining.json⁩⁩⁩⁩⁩⁩⁩⁩⁨⁨

{
    "name": "광질",
    "items": [
        { "item": "minecraft:iron_ingot", "amount": 64 },
        { "item": "minecraft:gold_ingot", "amount": 64 },
        { "item": "minecraft:diamond", "amount": 16 }
    ],
    "rewards": {
        "1": { "item": "minecraft:emerald", "count": 5 },
        "2": { "item": "minecraft:diamond_pickaxe", "count": 1 },
        "3": { 
            "item": "minecraft:enchanted_book", 
            "count": 1,
            "stored_enchantments": {
                "minecraft:silk_touch": 1
            },
            "custom_model_data": 0
        }
    }
}⁩⁩⁩⁩⁩⁩⁩⁩