@Override public void func_175180_a(float p_175180_1_) { super.func_175180_a(p_175180_1_); if (!hideClientMod.isEnabled()) { Client.getClient() .getFontRenderer() .drawStringWithShadow( "Yawk" + EnumChatFormatting.GREEN + " v2.5" + EnumChatFormatting.LIGHT_PURPLE + " (" + (Client.getClient().getSession().isPremium() ? "Premium" : "Beta") + ")", 3, 2, 0xFFFFFFFF, true); } if (Client.getClient().getMinecraft().currentScreen == null) { for (Window win : Client.getClient().gui.windows) { if (win.pinned) { win.renderWindow(0, 0); } } } EventManager.call(eventGuiRender); // map.draw(); }
public void register() { EventManager.register(this); }
public void unregister() { EventManager.unregister(this); }