#My custom scripts aren't working and I have no idea why.

6 messages · Page 1 of 1 (latest)

lofty light
#

I keep getting this error (Image attached). I'm lost as to why. I have looked over my code and some older code that i have done that worked and i see nothing wrong with it. What in the world am i doing wrong? Code attached

rustic hamletBOT
#

Paste version of Recipies.js from @lofty light

strange abyssBOT
#

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

lethal otter
#

??kjserrors

rustic hamletBOT
# lethal otter ??kjserrors

The ItemStack '...' can't be empty errors means that the id that you provided your script with is invalid. For example:

e.shapeless('kubejs:some_item_that_doesnt_exist', 'diamond')

The above script would error given that the item with the id kubejs:some_item_that_doesnt_exist doesn't exist.

lofty light
#

Lord its end_stone not endstone fml