int strLength = font.getStringWidth(name);
Gui.drawRect(xpos + 18, ypos, xpos + 18 + strLength + 4, ypos + 9, 0x66000000);
font.drawStringWithShadow(name, xpos + 20, ypos, 0xFFAA00);
NBTTagCompound cmp = ((ItemFocusDislocation) focus).getStackTileEntity(item);
if (cmp != null && !cmp.hasNoTags()) {
String content = StatCollector.translateToLocal("ttmisc.focusDislocation.tooltipExtra");
font.getStringWidth(content);
Gui.drawRect(xpos + 18, ypos + 9, xpos + 18 + strLength + 4, ypos + 18, 0x66000000);
font.drawStringWithShadow(content, xpos + 20, ypos + 9, 0xFFAA00);