@SideOnly(Side.CLIENT) public void addSpecialItemTooltip(int xPos,int yPos,ItemStack stack,ArrayList<String> toolTips){
  if (mouseX >= xPos && mouseY >= yPos && mouseX <= xPos + 16 && mouseY <= yPos + 16) {
    if (stack != null) {
      List<String> tooltipData=stack.getTooltip(Minecraft.getMinecraft().thePlayer,false);
      List<String> parsedTooltip=new ArrayList();
      boolean first=true;
      for (      String tip : toolTips)       tooltipData.add(tip);
      for (      String s : tooltipData) {
        String s_=s;
        if (!first)         s_=ChatFormatting.GRAY + s;
        parsedTooltip.add(s_);
        first=false;
      }
      renderTooltip(mouseX,mouseY,parsedTooltip,0xffffff,0xf0100010);
    }
  }
}

@ SideOnly ( Side . CLIENT ) public void addSpecialItemTooltip ( int xPos , int yPos , ItemStack stack , ArrayList < String > toolTips ) { if ( mouseX >= xPos && mouseY >= yPos && mouseX <= xPos + 16 && mouseY <= yPos + 16 ) { if ( stack != null ) { List < String > tooltipData = stack . getTooltip ( Minecraft . getMinecraft ( ) . thePlayer , false ) ; List < String > parsedTooltip = new ArrayList ( ) ; boolean first = true ; for ( String tip : toolTips ) tooltipData . add ( tip ) ; for ( String s : tooltipData ) { String s_ = s ; if ( ! first ) s_ = ChatFormatting . GRAY + s ; parsedTooltip . add ( s_ ) ; first = false ; } renderTooltip ( mouseX , mouseY , parsedTooltip , 0xffffff , 0xf0100010 ) ; } } }
adds a special tooltip in case you want to
