#Add tag to item only it has nbt
15 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
What is a tag?
I need add tag "empty" if tank hasnt nbt
do you know what a tag is?
a little, if I say something strange you can correct me
you need to show me what is a tag because I can't read your mind, because tag is like #minecraft:logs
and I don't think you want #minecraft:empty on you tank because it is silly and you can do that for same item with diff nbts
so, show me any "tag" to see what you really want
I didn't find an article on the wiki that talks about methods with nbt or similar, I need to add an empty tag for an "empty" tank that has the id 'create_sa:large_fueling_tank' and for a full one that has an id Item.of('create_sa:large_fueling_tank', ' {tagStock:3200.0d}') do nothing
on the contrary, you can add the "full" tag for full
because when playing create_stuff&addition the attribute filter doesn't distinguish between these tanks
as i said I don't think you can add diff tags for same item, regardless of nbt values. Minecraft does that by creating new items like bucket and water bucket are different items, not just nbt added
^
tags are per item type, not per item stack
if youre talking about adding the nbt data "Empty:1b" then its possible but as stated above an item Tag is something that requires a game reload to take effect
looks like he wants something to help him filter empty tanks on JEI when searching
ah