if (!(obj instanceof IToolTipProvider))
continue;
IToolTipProvider provider = (IToolTipProvider) obj;
if (!provider.isToolTipVisible())
continue;
ToolTip tips = provider.getToolTip();
if (tips == null)
continue;
boolean mouseOver = provider.isMouseOver(mouseX - guiLeft, mouseY - guiTop);
tips.onTick(mouseOver);
if (mouseOver && tips.isReady()) {
tips.refresh();
drawToolTips(tips, mouseX, mouseY);
}
}
}