public String getName() { if (this.hasCustomName()) { return this.getCustomName(); } else { int i = this.getType(); switch (i) { case 0: default: return LocaleI18n.get("entity.horse.name"); case 1: return LocaleI18n.get("entity.donkey.name"); case 2: return LocaleI18n.get("entity.mule.name"); case 3: return LocaleI18n.get("entity.zombiehorse.name"); case 4: return LocaleI18n.get("entity.skeletonhorse.name"); } } }
public String getName() { if (this.hasCustomName()) { return this.getCustomName(); } else { String s = EntityTypes.b(this); if (s == null) { s = "generic"; } return LocaleI18n.get("entity." + s + ".name"); } }
public String getName() { return this.hasCustomName() ? this.getCustomName() : (this.isTamed() ? LocaleI18n.get("entity.Cat.name") : super.getName()); }
public String n(ItemStack itemstack) { return ("" + LocaleI18n.get(this.k(itemstack) + ".name")).trim(); }
public String k(ItemStack itemstack) { String s = this.a(itemstack); return s == null ? "" : LocaleI18n.get(s); }
public String getName() { return LocaleI18n.get("tile.skull.skeleton.name"); }
public String getLocalizedName(ItemStack var1) { return LocaleI18n.get(i(var1).a()); }