use of cc.hyperium.event.render.RenderPlayerEvent in project Hyperium by HyperiumClient.
the class HyperiumMinecraft method loop.
public void loop(boolean inGameHasFocus, WorldClient theWorld, EntityPlayerSP thePlayer, RenderManager renderManager, Timer timer) {
if (inGameHasFocus && theWorld != null) {
HyperiumHandlers handlers = Hyperium.INSTANCE.getHandlers();
RenderPlayerEvent event = new RenderPlayerEvent(thePlayer, renderManager, renderManager.viewerPosZ, renderManager.viewerPosY, renderManager.viewerPosZ, timer.renderPartialTicks);
if (handlers != null && Settings.SHOW_PART_1ST_PERSON) {
handlers.getParticleAuraHandler().renderPlayer(event);
}
}
}
Aggregations