Professional Documents
Culture Documents
local dth =
Enormity.getINSTANCE().draggableHUD.getComponentByClass(TargetHUD.class)
local x = dth.getX()
local y = dth.getY()
dth.setWidth(130)
dth.setHeight(42 - 5)
FontRender.mntsb_15.drawString(Enormity.instance.featureManager.getFeature(NickSpoo
f.class).isEnabled() and NickSpoof.otherName.getCurrentValue() and "exos" or
curTarget.getName(), x + 32, y + 10, Color(255, 255, 255, 255).getRGB())
healthBarWidth = AnimationHelper.animation(healthBarWidth, healthWid,
10 * Enormity.deltaTime())
DrawHelper.enableGUIStandardItemLighting()
mc.getRenderItem().renderItemAndEffectIntoGUI(mc.player,
itemStack, 0, 0)
mc.getRenderItem().renderItemOverlays(mc.fontRendererObj,
itemStack, 0, 0)
RenderHelper.disableStandardItemLighting()
GL11.glPopMatrix()
xItemOffset = xItemOffset + 14
end
end
mc.getTextureManager().bindTexture(targetHead.getLocationSkin())
local hurtPercent = getHurtPercent(curTarget)
GL11.glPushMatrix()
GL11.glColor4f(1, 1 - hurtPercent, 1 - hurtPercent, 1)
DrawHelper.drawHead(curTarget, x + 1, y + 5, 28, 28, 12,
Color.WHITE)
StencilUtil.uninitStencilBuffer()
GL11.glPopMatrix()
GlStateManager.bindTexture(0)
end
catch (exception) {
}
end
DrawHelper.drawRoundOutline(x + 1, y + 5, 28, 28, 12, 0.5, Color(0, 0,
0, 0), Color(0, 0, 0, 255))
catch (exception) {
} finally
GlStateManager.popMatrix()
end
end
end