#How do I make a mob spawn with the player's nametag?

1 messages · Page 1 of 1 (latest)

wide grove
glass adder
#

It is not giving the player's name to the const skill entity

#

Is there any way to identify the entity of this const?

wide grove
#

im not sure what you mean

glass adder
#

Look at the script

wide grove
#

i did

glass adder
#

The entity beyond:skills.1.2 is spawn

#

But she is not born with the player's nametag

#

I wanted this entity to have the player's name...

#

I had used this but it didn't work

      const skill = player.dimension.spawnEntity("beyond:skills.1.1", new Vector3(lib.actions.getFront(player, 3).x, player.location.y, lib.actions.getFront(player, 3).z))
      skill.nameTag = player.nameTag