#Custom blasting recipe with cookTime

12 messages · Page 1 of 1 (latest)

worldly prawn
#
ServerEvents.recipe(event => {
  event.blasting('custom_output', 'custome_input').xp(1.0).cookTime(100)
})
stoic musk
#

hmm should probably just add this to the wiki

worldly prawn
#

Would be appreciated as I spent HOURS breaking my server to figure this out. Most of which were combing through the wiki.

stoic musk
#

you couldve asked cri_lex

#

unless you asked hours ago when i was asleep lol

worldly prawn
#

I'm a bit stubborn. 😄 No harm done and I managed to help others that might run into the same issue.

stoic musk
bright sky
#

interresting, but for campfire and smoking ?

#

and you can write event -> e
like that

ServerEvents.recipe(e => {
  e.blasting('custom_output', 'custome_input').xp(1.0).cookTime(100)
})
worldly prawn
#

I have yet to test it, but I would think it should work for them as well. Thanks for the tip btw shortening e will help.

coral drum
#

you can also just do it in the initial recipe

event.blasting(output, input, xp, cookingTime)