So, I want to make a recipe for the totem of undying, for context i am playing with the "rats" mod and want to make it cheap, not to use it on me but on my rats, the thing is, i have tried to make the recipe like twenty times and it always gives me errors, help. this is my code right now:
onEvent('recipes', event => {
event.shaped('minecraft:totem_of_undying', [
'ABA',
'BBB',
' B '
], {
N: 'minecraft:emerald',
W: 'minecraft:gold_ingot'
})