Java 类net.minecraft.client.mco.GuiScreenClientOutdated 实例源码

项目:Resilience-Client-Source    文件:GuiMainMenu.java   
protected void func_140005_i()
{
    Session var1 = this.mc.getSession();
    McoClient var2 = new McoClient(var1.getSessionID(), var1.getUsername(), "1.7.9", Minecraft.getMinecraft().getProxy());

    try
    {
        if (var2.func_148695_c().booleanValue())
        {
            this.mc.displayGuiScreen(new GuiScreenClientOutdated(this));
        }
        else
        {
            this.mc.displayGuiScreen(new GuiScreenOnlineServers(this));
        }
    }
    catch (ExceptionMcoService var4)
    {
        logger.error("Couldn\'t connect to realms");
    }
    catch (IOException var5)
    {
        logger.error("Couldn\'t connect to realms");
    }
}
项目:RuneCraftery    文件:GuiMainMenu.java   
private void func_140005_i() {
   McoClient var1 = new McoClient(this.field_73882_e.func_110432_I());

   try {
      if(var1.func_140054_c().booleanValue()) {
         this.field_73882_e.func_71373_a(new GuiScreenClientOutdated(this));
      } else {
         this.field_73882_e.func_71373_a(new GuiScreenOnlineServers(this));
      }
   } catch (ExceptionMcoService var3) {
      this.field_73882_e.func_98033_al().func_98232_c(var3.toString());
   } catch (IOException var4) {
      this.field_73882_e.func_98033_al().func_98232_c(var4.getLocalizedMessage());
   }

}
项目:RuneCraftery    文件:GuiMainMenu.java   
private void func_140005_i()
{
    McoClient mcoclient = new McoClient(this.mc.getSession());

    try
    {
        if (mcoclient.func_140054_c().booleanValue())
        {
            this.mc.displayGuiScreen(new GuiScreenClientOutdated(this));
        }
        else
        {
            this.mc.displayGuiScreen(new GuiScreenOnlineServers(this));
        }
    }
    catch (ExceptionMcoService exceptionmcoservice)
    {
        this.mc.getLogAgent().logSevere(exceptionmcoservice.toString());
    }
    catch (IOException ioexception)
    {
        this.mc.getLogAgent().logSevere(ioexception.getLocalizedMessage());
    }
}
项目:BetterNutritionMod    文件:GuiMainMenu.java   
private void func_140005_i()
{
    McoClient mcoclient = new McoClient(this.mc.getSession());

    try
    {
        if (mcoclient.func_140054_c().booleanValue())
        {
            this.mc.displayGuiScreen(new GuiScreenClientOutdated(this));
        }
        else
        {
            this.mc.displayGuiScreen(new GuiScreenOnlineServers(this));
        }
    }
    catch (ExceptionMcoService exceptionmcoservice)
    {
        this.mc.getLogAgent().logSevere(exceptionmcoservice.toString());
    }
    catch (IOException ioexception)
    {
        this.mc.getLogAgent().logSevere(ioexception.getLocalizedMessage());
    }
}