#How to nametag an entity upon spawning
1 messages · Page 1 of 1 (latest)
You're going to have to use scripting as far as I know.
It would then be beneficial to post it here so future people can reference this.
Thanks for not giving back to the community 👍 .
world.afterEvents.entitySpawn.subscribe(data => {
const entity = data.entity
if (entity.typeId === 'minecraft:creeper') {
entity.nameTag = 'TEST'
}
})