NMS entity setCustomName method now require IChatBaseComponent.

Discussion in 'Spigot Plugin Development' started by motosolar, Oct 14, 2018.

  1. You can't just do Entity#setCustomName? Is that something new with 1.13+?
     
  2. yes. 1.13+ changed this very feature. i wonder why is this even indeed.
     
  3. Just use the NMS class, ChatComponentText like this:
    Code (Java):
    entityArmorStand.setCustomName(new ChatComponentText(name));
    I haven't tested it, but should work fine.
     

Share This Page