event.shaped(
Item.of('kubejs:twilight_book'),
["ABA", "ASA", "AAA"],
{
S: Item.of('patchouli:guide_book', '{"patchouli:book":"patchouli:overworld"}'),
A: 'wizards_reborn:arcanum_dust',
B: 'enigmagic:tattered_tome',
}
)
}```
im not sure im doing everything correct with nbt. Is there a way to make that script work like this?
#help with crafting from nbt
3 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
nvm, im an idiot
working version for anyone who searches this
ServerEvents.recipes((event) => {
event.shaped(
Item.of('kubejs:twilight_book'),
["ABA", "ASA", "AAA"],
{
S: Item.of('patchouli:guide_book', '{"patchouli:book":"patchouli:overworld"}').strongNBT(),
A: 'wizards_reborn:arcanum_dust',
B: 'enigmagic:tattered_tome',
}
)
}