Renaming Mobs

Discussion in 'Plugin Development' started by MastaC, Mar 16, 2013.

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


    As of 1.5, you can rename a mob egg, throw it down and the spawned mob will have a name. Is there any kind of API implemented for changing mob's names yet? I haven't seen anything on the Bukkit API Javadoc.

    Edit: Looks like I found it! LivingEntity.class has

    public abstract void setCustomName(String paramString);
    public abstract String getCustomName();
    public abstract void setCustomNameVisible(boolean paramBoolean);
    public abstract boolean isCustomNameVisible();
  2. Offline


    Have patience, CraftBukkit 1.5 is not even out yet. They don't even have a stable build
  3. Offline


    Wow... I had all this working last night editing the mobs nbt tags. I didn't even think to check for api because they're typically so slow... lol
  4. Offline


    1.5 works perfuctly no problems i used this devlkment build craftbukkit-1.5-R0.1-20130315.192915-2
Thread Status:
Not open for further replies.

Share This Page