Hello! I'm trying to create a recipe for a custom item that will take one specific item (the arcs from the Blue Skies mod) and some other ingredients - is there a way to leave this item in the grid once the crafting has finished, keeping its NBT? The tag on the arc only defines what tier of arc it is (common, uncommon, rare) - I thought about trying to work around this with the .craftingRemainder method but I'm unsure how to limit that to specific recipes, rather than the item. Is what I'm trying to do possible?
#Leaving an item with variable NBT in the crafting grid
12 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
this is the nbt data, for reference
.keepIngredient(Item.of('mod:item').ignoreNBT()) after the recipes closing )
so like
event.shaped(
Item.of('kubejs:everdawm_amalgam', 1),
[
'ABA',
'CDE',
'AFA'
],
{
A: 'blue_skies:poison_stone',
B: 'blue_skies:bug_guts',
C: 'blue_skies:pyrope_gem',
D: 'blue_skies:nature_arc',
E: 'blue_skies:horizonite_ingot',
F: 'blue_skies:fox_pelt'
}
).keepIngredient(Item.of('blue_skies:nature_arc').ignoreNBT())```
that?
yes
you may need the item.of()ignorenbt in the key (D: bit) too
it looks like i don't! the recipe works perfectly, thank you so much!