I'm trying to add regular sanding recipes to bulk sanding (use an encased fan to blow sand over items) from Create: Dreams and Desires to make sanding easier to automate, but the script I'm using isn't working. It says Cannot find function toResultJson in object 1 glass_lens when I try to run the script in-game. Could someone explain what I am doing wrong?
#Adding Custom Crafting Events
6 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of sanding.js from @robust jungle
There are a handful of other recipes to add as well, but I haven't added them yet since this one doesn't work.
try it with this:
ServerEvents.recipes((event) => {
event.custom({
type: "create_dd:sanding",
ingredients: [
{
item: "minecraft:glass",
},
],
results: [
{
item: "createloveandwar:glass_lens",
},
],
});
});
That worked, thank you!