#How do I make a mob spawn with the player's nametag?
1 messages · Page 1 of 1 (latest)
For some reason it doesn't work
It is not giving the player's name to the const skill entity
Is there any way to identify the entity of this const?
im not sure what you mean
Look at the script
i did
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