NameTag change

Discussion in 'Plugin Development' started by WATWtomanik3, Jul 10, 2015.

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

    WATWtomanik3

    How can i change the nametag? I tried some APIs but nothing works.
     
  2. If you mean the name above the head of entities: entity.setCustomName("name");
    If you mean the item:
    ItemMeta meta = Item.getItemMeta();
    meta.setDisplayName("name");
    item.setItemMeta(meta);
     
  3. Offline

    NeerDev

    Don't think setCustomName will change the overhead name... but I might be wrong
     
  4. Offline

    NeerDev

Thread Status:
Not open for further replies.

Share This Page