#Custom Recipe Help (Create)
29 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
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.
is that a different script?
//onEvent('recipes', event => {
ServerEvents.recipes(event => {})
event.custom({
"type": "create:pressing",
"ingredients": [
{
"item": "minecraft:gravel",
"item": "minecraft:cobblestone"
},
],
"results": [
{
"item": "minecraft:iron_nugget"
}
]
})
its missing the event
no it's the same thing
your recipe event is empty
hold on, theres so much wrong here, it pains me
ServerEvents.recipes(event => {
event.custom({
type: 'create:pressing',
ingredients: [
{ item: 'minecraft:gravel' },
{ item: 'minecraft:cobblestone' },
],
results: [{ item: 'minecraft:iron_nugget' }]
})
})

it still says event undefined
i copied your code
wait nvm
my idiot ass forgot to save
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.