1.17.x Hide NPC nametag

Discussion in 'Spigot Plugin Development' started by UberSuperBoss, Aug 13, 2021.

  1. Hello Spigoteers,

    How would I hide the nametag of an npc? (1.17.1)

    Thanks!
     
  2. No, I'm not using citizens.
     
  3. Can you show screenshoots?
     
  4. Screenshot of?

    @UberSuperBoss I believe this thread should still work :)
     
  5. You will need to add the NPC's to a team, then call the Team#setOption() method with option NAME_TAG_VISIBILITY. Setting it to OWN_TEAM should hide the name tags from all other teams
     
    • Useful Useful x 1