#How to set a tag to an armour stand

1 messages · Page 1 of 1 (latest)

limpid beacon
#

How do I set gravity to a variable (set to an armour stand) to false using nbt. This is what i have but idk the syntax or the tag to use:

set tag "tag;Gravity" of nbt compound of {stand::%player's uuid%::phy} to false

versed oxide
#

"This is what i have"
Does it work? give errors?

#

also, isnt no gravity the example

limpid beacon
versed oxide
#

this doesnt even need nbt

limpid beacon
#

I want to add in other tags too, Gravity is an example of a tag I want to use

#

Like invincibility

#

etc

versed oxide
#

use that and look at the tags and the command it gives you

#

they're usually byte tags, like noGravity:1b

#

/summon armor_stand ~ ~ ~ {CustomNameVisible:1b,NoGravity:1b,Invisible:1b,CustomName:"{\"text\":\"CUSTOM_NAME_GOES_HERE\"}"}

limpid beacon
#

so do I wrap the tag in {}? I'm trying to understand without needing to test it every combination

#

and do I set it to a string as 1b? Like lets be a little more specific here