Skip to content

2. Datapacks (.json)

HiKoNe21 edited this page Nov 21, 2026 · 3 revisions

Example shapeless

{
    "type": "artwork:basic_shapeless",
    "tier": [ 0, 1, 2 ],
    "ingredients": [
        "minecraft:bucket"
    ],
    "secondary": [
        {
            "ingredient": "minecraft:egg",
            "count": 1,
            "catalyst": true
        },
        {
            "ingredient": "minecraft:bone_meal",
            "count": 4
        },
        {
            "ingredient": "minecraft:brush",
            "damage": 7
        }
    ],
    "extra": [
        {
            "id": "minecraft:diamond"
        },
        {
            "id": "minecraft:diamond",
            "chance": 0.5
        },
        {
            "id": "minecraft:diamond",
            "count": 2,
            "chance": 0.2
        }
    ],
    "fluid": {
        "ingredient": "minecraft:lava",
        "amount": 500
    },
    "experience": {
        "required": 30,
        "consume": 3
    },
    "sound": "minecraft:block.beehive.enter",
    "result": {
        "id": "minecraft:milk_bucket",
        "count": 1
    }
}

Example shaped

{
    "type": "artwork:blacksmith_shaped",
    "key": {
        "I": "minecraft:iron_ingot"
    },
    "pattern": [
        "I  I",
        "IIII"
    ],
    "secondary": [
        {
            "ingredient": "minecraft:egg",
            "count": 1,
            "catalyst": true
        },
        {
            "ingredient": "minecraft:bone_meal",
            "count": 4
        },
        {
            "ingredient": "minecraft:brush",
            "damage": 7
        }
    ],
    "extra": [
        {
            "id": "minecraft:diamond"
        },
        {
            "id": "minecraft:diamond",
            "chance": 0.5
        },
        {
            "id": "minecraft:diamond",
            "count": 2,
            "chance": 0.2
        }
    ],
    "fluid": {
        "ingredient": "minecraft:water",
        "amount": 2000
    },
    "experience": {
        "required": 30,
        "consume": 3
    },
    "sound": "minecraft:block.beehive.enter",
    "result": {
        "id": "minecraft:milk_bucket",
        "count": 1
    }
}

Clone this wiki locally