#How do I replace a whole recipe with a different one

26 messages · Page 1 of 1 (latest)

twin yew
#

So I might just be dumb but I am so confused with replaced a whole recipe with another. So I have two objects, a shelf and an oak slab both have the same recipe and I'm trying to replace the shelf's original recipe with a custom one

round epochBOT
#

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

twin yew
#

the only problem is

#

I literally have no idea how to

jolly stream
#

override the original one using the recipe id

#

??tips

jaunty fjordBOT
# jolly stream ??tips

To find a recipe's ID, turn on advanced tooltips (F3 + H) then hover over the RECIPE OUTPUT in JEI, or the exclamation mark in REI.
You can then use this in any recipe filter:
{id: 'recipe ID here'}
You can use this, for example, to remove specific recipes:
event.remove({id: 'recipe ID here'})

azure robin
#

just do that remove function

#

then readd a recipe making the shelf

#

like you are currently

jolly stream
#

you don't have to remove it beforehand

azure robin
#

it's easier to debug if you do just remove it

jolly stream
#

how is it easier to debug confused_dog_lex

azure robin
#

because you know where the old recipe has gone and you know which recipes are custom in JEI/REI as they have a kubejs recipe ID

twin yew
#

like this?

jaunty fjordBOT
#

Send your code here instead of a screenshot

It makes it easier to diagnose your code and help you fix it or make the required changes/additions.

jolly stream
jaunty fjordBOT
twin yew
#

oops

#

mb

#

Tysm! Love your response times! Yay416

jolly stream
#

np blobheart

azure robin
#

np