public IChatBaseComponent getScoreboardDisplayName() { if (this.hasCustomName()) { ChatComponentText var2 = new ChatComponentText(this.b); var2.getChatModifier().setChatHoverable(this.aQ()); var2.getChatModifier().setInsertion(this.getUniqueID().toString()); return var2; } else { ChatMessage var1 = new ChatMessage(this.getName(), new Object[0]); var1.getChatModifier().setChatHoverable(this.aQ()); var1.getChatModifier().setInsertion(this.getUniqueID().toString()); return var1; } }
public ChatMessage h() { Object[] var1 = new Object[this.e.length]; for (int var2 = 0; var2 < this.e.length; ++var2) { if (this.e[var2] instanceof IChatBaseComponent) { var1[var2] = ((IChatBaseComponent) this.e[var2]).f(); } else { var1[var2] = this.e[var2]; } } ChatMessage var5 = new ChatMessage(this.d, var1); var5.setChatModifier(this.getChatModifier().m()); Iterator var3 = this.a().iterator(); while (var3.hasNext()) { IChatBaseComponent var4 = (IChatBaseComponent) var3.next(); var5.addSibling(var4.f()); } return var5; }