Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Siphalor/nbt-crafting

Repository files navigation

This project is currently unmaintained and looking for maintainers interested in further development. For further information or if you want to help out, please join the Discord :)


Logo

Nbt Crafting

supported Minecraft versions: 1.15 | 1.16 | 1.17 | 1.18 | 1.19

curseforge downloads modrinth downloads latest maven release

A 1.15+ Minecraft Fabric mod to let you work with NBT data in recipes, add brewing recipes and a lot more.

  Wiki · Discord · Example Datapack  

Demo

Show example recipe

This example recipe allows you to craft a diamond axe named "Battle Axe" with sharpness X.

Ingredients are a diamond sword with at most 40 uses and a plain old diamond.

{
    "type": "crafting_shapeless",
    "ingredients": [
        {
            "item": "minecraft:diamond_sword",
            "data": {
                "require": {
                    "Damage": "$..40"
                }
            }
        },
        { "item": "minecraft:diamond" }
    ],
    "result": {
        "item": "minecraft:diamond_axe",
        "data": {
            "display": {
                "Name": "{\"text\":\"Battle Axe\"}"
            },
            "Enchantments": [
                {
                    "id": "minecraft:sharpness",
                    "lvl": 10
                }
            ]
        }
    }
}

Feedback, Support or Showcase your creations

If you find any issues, please report them on the issues page.

If you're stuck and need help or just want to show something that you've created with this mod, you may either come to the official Discord server or open a GitHub discussion.

License

This mod is available under the Apache 2.0 License.