@SuppressWarnings({"rawtypes", "unchecked"}) @Override public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean blah) { NBTTagCompound tag; if (stack.hasTagCompound()) tag = stack.getTagCompound(); else tag = new NBTTagCompound(); list.add( StatCollector.translateToLocal("item.focusColoured.currentcolour") + ": " + StatCollector.translateToLocal( "colour." + tag.getInteger(IlluminatedBows.MODID + "colour"))); super.addInformation(stack, player, list, blah); list.add(StatCollector.translateToLocal("colour.shapelesscraft")); }