#how do i make a recipe where an item stays on the grid

16 messages · Page 1 of 1 (latest)

naive galleon
#

event.shapeless(
Item.of('minecraft:spruce_planks', 2), // arg 1: output
[ // arg 2: the array of inputs
'1x #minecraft:spruce_logs'
'1x #minecraft:axes'
])
but i want the axe to stay. how would i do that?

onyx irisBOT
#

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

mental vigil
#
    event.shapeless(
        Item.of('minecraft:spruce_planks', 2), // arg 1: output
        [            // arg 2: the array of inputs
        '1x #minecraft:spruce_logs',
        '1x #minecraft:axes'
        ]
    ).damageIngredient("#minecraft:axes", 1)
#

or

    event.shapeless(
        Item.of('minecraft:spruce_planks', 2), // arg 1: output
        [            // arg 2: the array of inputs
        '1x #minecraft:spruce_logs',
        '1x #minecraft:axes'
        ]
    ).keepIngredient("#minecraft:axes")
#

The former damages the axe, the later doesn't.

naive galleon
#

event.shapeless(
Item.of('minecraft:stick', 2), // arg 1: output
[ // arg 2: the array of inputs
'1x #minecraft:planks',
'1x #minecraft:axes'
]).keepingredient('#minecraft:axes')
event.shapeless(
Item.of('minecraft:oak_planks', 2), // arg 1: output
[ // arg 2: the array of inputs
'1x #minecraft:oak_logs',
'1x #minecraft:axes'
]).keepingredient('#minecraft:axes')

mental vigil
#

try with capitalized I

naive galleon
#

oh lol aight

naive galleon
mental vigil
naive galleon
#

thanks

naive galleon
#

event.remove({ type: 'minecraft:crafting' }) would this work for only removing all crafting table recipes?

onyx irisBOT