[Suggestion] NBT Support
Shazuli opened this issue ยท 2 comments
Hi!
Certain mods create variants of similar working items by going by NBT data. OpenComputers is a good example of that. They change the content as well as the appearance by changing the NBT of a storage device, so a NBT parameter in the stack tag would be nice (if it already exists in some way and I missed let me apologize in advance).
That's what the tag
-attribute is for. You can have use it to add NBT in JSON format to the item. Keep in mind that you might have to escape the JSON to be able to use it as an XML attribute
<stack item="minecraft:coal" meta="0" count="1" tag="{"some_attribute"="some value"}" />
We should probably add it to the wiki at some point. There is quite a lack of documentation in general, unfortunately.