#Custom Recipe Help (Create)

29 messages · Page 1 of 1 (latest)

oak umbra
#

I am trying to create a custom recipe for the create mod pressing gravel and cobblestone together.

candid stirrupBOT
#

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

harsh orioleBOT
#

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.

noble nymph
#

you didnt close the initial 2 brackets

#

notice the red underline

#

and red brackets

oak umbra
#

ok

#

one more thing if possible

#

what does it mean by event not defined

noble nymph
#

is that a different script?

oak umbra
#

//onEvent('recipes', event => {
ServerEvents.recipes(event => {})
event.custom({
"type": "create:pressing",
"ingredients": [
{
"item": "minecraft:gravel",
"item": "minecraft:cobblestone"
},
],
"results": [
{
"item": "minecraft:iron_nugget"
}
]
})

noble nymph
#

its missing the event

oak umbra
#

no it's the same thing

noble nymph
#

your recipe event is empty

oak umbra
#

so i say that the event is being pressed

#

?

noble nymph
#

hold on, theres so much wrong here, it pains me

oak umbra
#

ok im sorry lol

#

i started this 10 min ago with a tutorial and made it this far

noble nymph
#
ServerEvents.recipes(event => {
  event.custom({
    type: 'create:pressing',
    ingredients: [
      { item: 'minecraft:gravel' },
      { item: 'minecraft:cobblestone' },
    ],
    results: [{ item: 'minecraft:iron_nugget' }]
  })
})  
oak umbra
#

ok

#

thanks lol

noble nymph
oak umbra
#

it still says event undefined

#

i copied your code

#

wait nvm

#

my idiot ass forgot to save

harsh orioleBOT
#

Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue!
This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.

Do you have any other questions regarding your issue? Feel free to ask!
Note: You should create a new post for unrelated issues.