#kill entity with nbt tag
1 messages · Page 1 of 1 (latest)
you can loop all armor stands and check the tag that way
ah oki ty
well how do I check for the tag?
check docs, theres a has tag conditional
well I tried loop all armor stands: if loop-entity has nbt tag "conv": broadcast "test"
and it doesnt work
indentation is different idk why it shifted so for back when sending thru discord
error is that there isnt a loop matching
well I also tested command /waw: trigger: spawn an pig at player with nbt from "{tags:[""conv""]}" wait 1 tick loop all pigs: if nbt compound of loop-entity has tag "conv": broadcast "test" and fsr it doesnt broadcast anything
doesnt give any errors but also doesnt rlly do anything
entity tags work differently
there not like items
entity tags have everything under the custom tag
so u would set it as
custom;conv
and check it as
custom;conv
hm okay I'll try
so by replacing "conv" with "custom;conv" hasnt done anything sadly, I think I'm just doing smth wrong here
send al lcode
ohh
the part where ur setting nbt is mad weird
lol
ur using a string list tag?
just use a normal tag
I've never rlly worked with tags before and thats the first thingy I saw
spawn pig at player
set {_pig} to last spawned pig
set tag "custom;conv" of nbt compound of {_pig} to 1
read the wiki