#is there a command to change the npc name above the head?

1 messages · Page 1 of 1 (latest)

urban forum
#

I've been tried the tag command but it doesn't work

wise finch
#

/summon npc <name> ~~~

or maybe use a nametag

urban forum
#

thank you it work!
but how to change it when the npc is alive or already summoned?

waxen needle
#

You can only do that with scripting

urban forum
#

oh crap, is there any source or example regarding renaming npc? im really new to scripting

waxen needle
#

Basically entity.nameTag = 'new name'

urban forum
#

okay ill try it out

urban forum
#

okay it works ! thank you

supple panther