I am trying to create 4 "sophisticatedstorage:chest" but the one I want to craft has an nbt tag of {woodType: "spruce"} How can I add this recipe?
This is what I have at the moment but it keeps erroring for me.
// Sophisticated Storage Chest Crafting
var outputItem = 'sophisticatedstorage:chest{woodType:"spruce"}';
var outputAmount = 4; // The number of items the recipe will produce
// Define the shaped recipe
event.shaped(Item.of(outputItem, outputAmount), ["SSS", "SRS", "SSS"], {
S: "minecraft:spruce_log",
R: "minecraft:redstone_torch",
});