#Trying to change one of Create's crafts

15 messages · Page 1 of 1 (latest)

cloud leaf
#

Hi, me again !

So, I've been reading the documentation and trying things to change a recipe from one of Create's addons, but I can't figure out how to do it...

The craft in question allows the player to create diamond by pressing coal blocks and 300mB of lava. I would like to change it so superheating is needed in order to do it.

Here, I managed to create the craft (see attached screenshot), but the other still exists, and that's not what I want. And I can't seem to understand how to replace Create's crafts using KubeJS, any idea ?

Here are the few lines I wrote:

  event.recipes.create.compacting('minecraft:diamond', ['minecraft:coal_block', Fluid.lava(300)]).superheated()
})```
pseudo parcelBOT
#

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

graceful pumice
#

event.remove('id')

pulsar pewter
#

event.remove({id: "id"})*

graceful pumice
#

you need the keys?

#

damn my alzheimer is hitting hard

pulsar pewter
#

i think they're needed

#

I could be wrong

cloud leaf
#

Oh, okay, I thought I needed to replace it, didn't know I would have to remove the previous one
Is that the ID I need to remove ?

graceful pumice
#

yes

cloud leaf
#

Okay, I'll try this

#

brb

pulsar pewter
#

you can also replace a recipe. This can be achieved, by giving the new recipe the same id as the old one. A recipe can be given a custom id with .id("id")

cloud leaf