#Making the item not be consumed in shapeless craft

38 messages · Page 1 of 1 (latest)

native cairn
#

A bit like how buckets are not consumed in crafts, how would I go about this in my script where #forge:knives is the one not being consumed?

event.shapeless(Item.of('kubejs:sliced_bread'), ['#forge:knives', 'minecraft:bread'])
stuck slateBOT
#

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

bitter brook
#

i think it was .keepIngredient('#forge:knives')

native cairn
#

ok ill check it out

#

wasnt it

native cairn
#

My knife still dissapears

#
event.shapeless(Item.of('kubejs:sliced_bread'), ['#forge:tools/knives', 'minecraft:bread']).keepIngredient('#forge:tools/knives')
bitter brook
#

try this

.keepIngredient(Item.of('#forge:tools/knives').ignoreNBT())
native cairn
#

Nope

#

maybe because its a silent gear knife let me check

#

ya still nothing'

bitter brook
#

i think it might work with slot number as well if i remember correctly, try just .keepIngredient(0) (or 1?)

native cairn
#

ok

#

still nothing...

bitter brook
#

ye should work with 0

#

wat

native cairn
#

Is it because its a silent gear knife... let me try with stone block

bitter brook
#

well the slot should work anyway

#

._.

native cairn
#

But it doesnt

bitter brook
#

are you getting any errors?

native cairn
#

none

#

but the stone recipe worked

#

lol

#

so it might just be the knife from silent gear

bitter brook
#

stone recipe? ;o

native cairn
#

I replaced the knife by stone

#

in my custom recipe

#

it works with the knife now...

#

I guess with the amount of saving and reloading bugged it out

bitter brook
#

=.=

#

well at least its working now :D

native cairn
#

ya lol

native cairn
#

Thx again!

bitter brook
#

no worries, just keep in mind when you interact with the thread after closing it, you reopen it :D