Skip to content

Possible to require multiple items but more efficient? #28

Open
@lajawi

Description

@lajawi
{
    "type": "minecraft:crafting_shapeless",
    "ingredients": [
        {
            "item": "minecraft:stone"
        },
        {
            "item": "minecraft:coal"
        }
    ],
    "result": {
        "item": "minecraft:coal_ore",
        "count": 1
    }
}

I'm making some custom recipes, and was wondering whether it is possible to make one item be required more than one of but without duplicating it in the file?
In this recipe I want minecraft:coal be included at least 2 times, but the only way I know of currently is by adding coal two times like this:

{
  "item": "minecraft:coal"
},
{
  "item": "minecraft:coal"
}

Is there any way I can do this more efficient (maybe something like count like for the result), e.g. like this:

{
  "item": "minecraft:coal",
  "count": 2
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions