public void r() { if (this.tag != null) { if (this.tag.hasKeyOfType("display", 10)) { NBTTagCompound nbttagcompound = this.tag.getCompound("display"); nbttagcompound.remove("Name"); if (nbttagcompound.isEmpty()) { this.tag.remove("display"); if (this.tag.isEmpty()) { this.setTag((NBTTagCompound) null); } } } } }