#Add tag to item only it has nbt

15 messages · Page 1 of 1 (latest)

viscid rapids
#

how to add tag "empty" to item when it has only id, but when it has nbt like in screenshot do nothink

worldly forgeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

keen ice
#

What is a tag?

viscid rapids
keen ice
#

do you know what a tag is?

viscid rapids
#

a little, if I say something strange you can correct me

keen ice
#

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

viscid rapids
#

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

keen ice
#

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

nimble dust
#

^
tags are per item type, not per item stack

wispy orchid
#

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

keen ice
wispy orchid
#

ah