#How to make a villager have a 50% chance to get renamed to "testificate" after spawning without vill
1 messages · Page 1 of 1 (latest)
nameTag is a property not a method
he meant to do this
world.afterEvents.entitySpawn.subscribe(({entity}) => {
if (Math.random() <= 0.5) {
entity.addTag('testificate');
}
});