#ReferenceError

28 messages · Page 1 of 1 (latest)

chrome nexus
#

Basically i want to change a recipe so it will also drop something else from other mod, do i just type in what i want or what?

heavy aspenBOT
#

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

chrome nexus
#

change recipe outcome with create

#

ReferenceError

#

event.recipes.createCrushing([ '2x minecraft:sand','immersive_engineering:dust_saltpepper'.withChance(0.5)],'minecraft:sandstone')})

surreal quest
#

saltpepper
that don't seem quite right

#

if it still doesn't work after adjusting that properly, then try wrapping the itemid for the chanced outputs in Item.of(), so like:
Item.of('immersiveengineering:dust_saltpeter).withChance(0.5)

chrome nexus
#

yep

#

it was the immersive

#

didn't have the _

#

whoopsie daisys

surreal quest
#

looking at it again, i don't recall IE's modid having an underscore yeah

chrome nexus
#

still the same error

#

event.recipes.createCrushing(['2x minecraft:sand',item.of('immersiveengineering:dust_saltpepper').withChance(0.5)],'minecraft:sandstone')})

surreal quest
#

dust_saltpepper should probably be dust_saltpeter

chrome nexus
#

yo

#

it's peter

#

i'm legally blind

#

still the same problem

#

event.recipes.createCrushing(['2x minecraft:sand',item.of('immersiveengineering:dust_saltpeter').withChance(0.5)],'minecraft:sandstone')})

#

what am i writing wrong now

surreal quest
#

capitalize the I in item.of

chrome nexus
#

it's capital sensitive?

#

huh

#

the more you learn

#

atta boy

#

all solved

#

thanks for the help frend