@SuppressWarnings({"unchecked", "rawtypes"})
 @Override
 @SideOnly(Side.CLIENT)
 public void addDetailedEntries(
     ItemStack itemstack, EntityPlayer entityplayer, List list, boolean flag) {
   SpecialTooltipHandler.addDetailedTooltipFromResources(list, itemstack);
   if (itemstack.getItemDamage() == FacadeType.HARDENED.ordinal()) {
     list.add("");
     list.add(EnderIO.lang.localizeExact(getUnlocalizedName(itemstack) + ".tooltip"));
   }
 }
Exemple #2
0
 @Override
 @SideOnly(Side.CLIENT)
 public void addDetailedEntries(
     ItemStack itemstack, EntityPlayer entityplayer, List list, boolean flag) {
   String gpt = " " + EnderIO.lang.localize("gas.gasTick");
   int extractRate = Config.gasConduitExtractRate;
   int maxIo = Config.gasConduitMaxIoRate;
   list.add(EnderIO.lang.localize("itemGasConduit.tooltip.maxExtract") + " " + extractRate + gpt);
   list.add(EnderIO.lang.localize("itemGasConduit.tooltip.maxIo") + " " + maxIo + gpt);
   SpecialTooltipHandler.addDetailedTooltipFromResources(list, "enderio.itemGasConduit");
 }