v_kristina74
New Member
How to spawn entity with nametag?
Call this before you spawn it.How to spawn entity with nametag?
entity.setNameTag("nametag");
okay, how to spawn a sheep? (example)Call this before you spawn it.
Code:entity.setNameTag("nametag");
Create new instance of EntitySheep and use CompoundTag like thisokay, how to spawn a sheep? (example)
thanksCreate new instance of EntitySheep and use CompoundTag like this
https://github.com/NukkitX/Nukkit/blob/master/src/main/java/cn/nukkit/Player.java#L4830-L4841