Returns true if the itemstack has a display name
()
| 644 | * Returns true if the itemstack has a display name |
| 645 | */ |
| 646 | public boolean hasDisplayName() |
| 647 | { |
| 648 | return this.stackTagCompound == null ? false : (!this.stackTagCompound.hasKey("display", 10) ? false : this.stackTagCompound.getCompoundTag("display").hasKey("Name", 8)); |
| 649 | } |
| 650 | |
| 651 | public List<String> getTooltip(EntityPlayer playerIn, boolean advanced) |
| 652 | { |
no test coverage detected