Get EntityHuman or EntityPlayer name!

Discussion in 'Plugin Development' started by zDubsCrazy, Jul 20, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    zDubsCrazy

    I'm trying to change the color of NameTag of a player, but existing tutorials use this:
    Code:java
    1. EntityPlayer cp = ((CraftPlayer)player).getHandle();
    2. cp.name = "NameTag Name";

    But in version 1.7 or greater, it does not exist, how do I get the same result?
     
  2. Offline

    Garris0n

    Use scoreboards.
     
Thread Status:
Not open for further replies.

Share This Page