Is it possible to directly edit the NBT data of an item stack using Sponge 7.2.0? Having skimmed the doccumentation I’m not that excited (nor am I sure how) to implement a DataManipulator for the NBT data I need.
My NBT data looks like this, I’m interfacing with a mod so I don’t have any wiggle room to make adjustments.
{
recipe:[
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone",Count:1b,Damage:0s},
{id:"minecraft:redstone_block",Count:1b,Damage:0s},
]
}
I’d appreciate help with either setting NBT data directly, using the data api to achieve this, or some other solution I’m not aware of.
Thanks again for any help you can offer.