#Reusable recipes

5 messages · Page 1 of 1 (latest)

static salmon
#

how to make a shapeless recipe where the input item is reused, left in the recipe.

sage waspBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

vital jungle
#

.keepIngredient(item)

static salmon
#

How do i use it?


        event.shapeless(
            Item.of('econ:copper_coin', 9),
            [
                Item.of('econ:monetary_source',1).keepIngredient(Item.of('econ:monetary_source',1)),
                Item.of('minecraft:copper_ingot',1)
            ]
        )
#

        event.shapeless(
            Item.of('econ:copper_coin', 9),
            [
                Item.of('econ:monetary_source',1),
                Item.of('minecraft:copper_ingot',1)
            ]
        ).keepIngredient('econ:monetary_source')

Figured it out...