#Added recipes with ItemStack result is empty?
22 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
??kjserrors
The ItemStack '...' can't be empty, Can't modify the empty stack or Item.empty is not a valid result errors mean that the ID you provided your script 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.
yeah but they dont make sense
🗒️**Send the code!**🗒️
You may have an issue with a KubeJS script and you explain it to the best of your ability yet without the actual code in question we have very little to go off of in trying to assist you.
The errors are in line #39 and #60
Paste version of pretty_pipes_fix.js from @cedar wadi
line 39, you forgot a comma
line 60, the id prettypipes:low_fluid_extraction_module isn't correct
??editor 
If you're working with KubeJS scripts, config files, or similar things, we generally recommend using an actual IDE rather than just Notepad++ and its various siblings.
In a lot of cases, it can help you find errors in your code faster and also gives you neat features like syntax highlighting, automatic formatting, etc!
We recommend Visual Studio Code, since it's lightweight(-ish) and works very well with JavaScript files out-of-the-box.
