Java 类net.minecraft.client.gui.mco.GuiScreenResetWorld 实例源码

项目:Resilience-Client-Source    文件:GuiScreenEditOnlineWorld.java   
protected void actionPerformed(GuiButton p_146284_1_)
{
    if (p_146284_1_.enabled)
    {
        if (p_146284_1_.id == 1)
        {
            this.mc.displayGuiScreen(this.field_146855_f);
        }
        else if (p_146284_1_.id == 0)
        {
            this.func_146853_g();
        }
        else if (p_146284_1_.id == 2)
        {
            this.mc.displayGuiScreen(new GuiScreenResetWorld(this, this.field_146861_r));
        }
        else
        {
            this.field_146854_w.func_148397_a(p_146284_1_);
        }
    }
}
项目:RuneCraftery    文件:TaskResetWorld.java   
public void run() {
   McoClient var1 = new McoClient(this.func_96578_b().func_110432_I());
   String var2 = I18n.func_135053_a("mco.reset.world.resetting.screen.title");
   this.func_96576_b(var2);

   try {
      if(this.field_111252_e != null) {
         var1.func_111233_e(this.field_96591_c, this.field_111252_e.field_110734_a);
      } else {
         var1.func_96376_d(this.field_96591_c, this.field_104066_d);
      }

      GuiScreenResetWorld.func_96147_b(this.field_96592_a).func_71373_a(GuiScreenResetWorld.func_96148_a(this.field_96592_a));
   } catch (ExceptionMcoService var4) {
      GuiScreenResetWorld.func_130025_c(this.field_96592_a).func_98033_al().func_98232_c(var4.toString());
      this.func_96575_a(var4.toString());
   } catch (Exception var5) {
      GuiScreenResetWorld.func_130024_d(this.field_96592_a).func_98033_al().func_98236_b("Realms: ");
      this.func_96575_a(var5.toString());
   }

}
项目:RuneCraftery    文件:GuiScreenEditOnlineWorld.java   
/**
 * Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
 */
protected void actionPerformed(GuiButton par1GuiButton)
{
    if (par1GuiButton.enabled)
    {
        if (par1GuiButton.id == 1)
        {
            this.mc.displayGuiScreen(this.field_96204_a);
        }
        else if (par1GuiButton.id == 0)
        {
            this.func_96200_g();
        }
        else if (par1GuiButton.id == 2)
        {
            this.mc.displayGuiScreen(new GuiScreenResetWorld(this, this.field_96205_n));
        }
        else
        {
            this.field_104051_s.func_104069_a(par1GuiButton);
        }
    }
}
项目:BetterNutritionMod    文件:GuiScreenEditOnlineWorld.java   
/**
 * Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
 */
protected void actionPerformed(GuiButton par1GuiButton)
{
    if (par1GuiButton.enabled)
    {
        if (par1GuiButton.id == 1)
        {
            this.mc.displayGuiScreen(this.field_96204_a);
        }
        else if (par1GuiButton.id == 0)
        {
            this.func_96200_g();
        }
        else if (par1GuiButton.id == 2)
        {
            this.mc.displayGuiScreen(new GuiScreenResetWorld(this, this.field_96205_n));
        }
        else
        {
            this.field_104051_s.func_104069_a(par1GuiButton);
        }
    }
}
项目:RuneCraftery    文件:GuiScreenEditOnlineWorld.java   
protected void func_73875_a(GuiButton p_73875_1_) {
   if(p_73875_1_.field_73742_g) {
      if(p_73875_1_.field_73741_f == 1) {
         this.field_73882_e.func_71373_a(this.field_96204_a);
      } else if(p_73875_1_.field_73741_f == 0) {
         this.func_96200_g();
      } else if(p_73875_1_.field_73741_f == 2) {
         this.field_73882_e.func_71373_a(new GuiScreenResetWorld(this, this.field_96205_n));
      } else {
         this.field_104051_s.func_104069_a(p_73875_1_);
      }

   }
}
项目:RuneCraftery    文件:GuiScreenConfigureWorld.java   
protected void func_73875_a(GuiButton p_73875_1_) {
   if(p_73875_1_.field_73742_g) {
      if(p_73875_1_.field_73741_f == 10) {
         if(this.field_102020_y) {
            ((GuiScreenOnlineServers)this.field_96285_a).func_102018_a(this.field_96280_b.field_96408_a);
         }

         this.field_73882_e.func_71373_a(this.field_96285_a);
      } else if(p_73875_1_.field_73741_f == 5) {
         this.field_73882_e.func_71373_a(new GuiScreenEditOnlineWorld(this, this.field_96285_a, this.field_96280_b));
      } else if(p_73875_1_.field_73741_f == 1) {
         String var2 = I18n.func_135053_a("mco.configure.world.close.question.line1");
         String var3 = I18n.func_135053_a("mco.configure.world.close.question.line2");
         this.field_73882_e.func_71373_a(new GuiScreenConfirmation(this, GuiScreenConfirmationType.Info, var2, var3, 1));
      } else if(p_73875_1_.field_73741_f == 0) {
         this.func_96268_g();
      } else if(p_73875_1_.field_73741_f == 4) {
         this.field_73882_e.func_71373_a(new GuiScreenInvite(this.field_96285_a, this, this.field_96280_b));
      } else if(p_73875_1_.field_73741_f == 3) {
         this.func_96272_i();
      } else if(p_73875_1_.field_73741_f == 6) {
         this.field_73882_e.func_71373_a(new GuiScreenResetWorld(this, this.field_96280_b));
      } else if(p_73875_1_.field_73741_f == 7) {
         this.field_73882_e.func_71373_a(new GuiScreenSubscription(this, this.field_96280_b));
      } else if(p_73875_1_.field_73741_f == 8) {
         this.field_73882_e.func_71373_a(new GuiScreenBackup(this, this.field_96280_b.field_96408_a));
      }

   }
}
项目:Resilience-Client-Source    文件:GuiScreenConfigureWorld.java   
protected void actionPerformed(GuiButton p_146284_1_)
{
    if (p_146284_1_.enabled)
    {
        if (p_146284_1_.id == 10)
        {
            if (this.field_146883_D)
            {
                ((GuiScreenOnlineServers)this.field_146884_f).func_146670_h();
            }

            this.mc.displayGuiScreen(this.field_146884_f);
        }
        else if (p_146284_1_.id == 5)
        {
            this.mc.displayGuiScreen(new GuiScreenEditOnlineWorld(this, this.field_146884_f, this.field_146885_g));
        }
        else if (p_146284_1_.id == 1)
        {
            String var2 = I18n.format("mco.configure.world.close.question.line1", new Object[0]);
            String var3 = I18n.format("mco.configure.world.close.question.line2", new Object[0]);
            this.mc.displayGuiScreen(new GuiScreenConfirmation(this, GuiScreenConfirmation.ConfirmationType.Info, var2, var3, 1));
        }
        else if (p_146284_1_.id == 0)
        {
            this.func_146876_g();
        }
        else if (p_146284_1_.id == 4)
        {
            this.mc.displayGuiScreen(new GuiScreenInvite(this.field_146884_f, this, this.field_146885_g));
        }
        else if (p_146284_1_.id == 3)
        {
            this.func_146877_i();
        }
        else if (p_146284_1_.id == 6)
        {
            this.mc.displayGuiScreen(new GuiScreenResetWorld(this, this.field_146885_g));
        }
        else if (p_146284_1_.id == 7)
        {
            this.mc.displayGuiScreen(new GuiScreenSubscription(this, this.field_146885_g));
        }
        else if (p_146284_1_.id == 8)
        {
            this.mc.displayGuiScreen(new GuiScreenBackup(this, this.field_146885_g.field_148812_a));
        }
    }
}
项目:RuneCraftery    文件:TaskResetWorld.java   
public TaskResetWorld(GuiScreenResetWorld p_i1134_1_, long p_i1134_2_, String p_i1134_4_, WorldTemplate p_i1134_5_) {
   this.field_96592_a = p_i1134_1_;
   this.field_96591_c = p_i1134_2_;
   this.field_104066_d = p_i1134_4_;
   this.field_111252_e = p_i1134_5_;
}
项目:RuneCraftery    文件:GuiScreenConfigureWorld.java   
/**
 * Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
 */
protected void actionPerformed(GuiButton par1GuiButton)
{
    if (par1GuiButton.enabled)
    {
        if (par1GuiButton.id == 10)
        {
            if (this.field_102020_y)
            {
                ((GuiScreenOnlineServers)this.field_96285_a).func_102018_a(this.field_96280_b.field_96408_a);
            }

            this.mc.displayGuiScreen(this.field_96285_a);
        }
        else if (par1GuiButton.id == 5)
        {
            this.mc.displayGuiScreen(new GuiScreenEditOnlineWorld(this, this.field_96285_a, this.field_96280_b));
        }
        else if (par1GuiButton.id == 1)
        {
            String s = I18n.getString("mco.configure.world.close.question.line1");
            String s1 = I18n.getString("mco.configure.world.close.question.line2");
            this.mc.displayGuiScreen(new GuiScreenConfirmation(this, GuiScreenConfirmationType.Info, s, s1, 1));
        }
        else if (par1GuiButton.id == 0)
        {
            this.func_96268_g();
        }
        else if (par1GuiButton.id == 4)
        {
            this.mc.displayGuiScreen(new GuiScreenInvite(this.field_96285_a, this, this.field_96280_b));
        }
        else if (par1GuiButton.id == 3)
        {
            this.func_96272_i();
        }
        else if (par1GuiButton.id == 6)
        {
            this.mc.displayGuiScreen(new GuiScreenResetWorld(this, this.field_96280_b));
        }
        else if (par1GuiButton.id == 7)
        {
            this.mc.displayGuiScreen(new GuiScreenSubscription(this, this.field_96280_b));
        }
        else if (par1GuiButton.id == 8)
        {
            this.mc.displayGuiScreen(new GuiScreenBackup(this, this.field_96280_b.field_96408_a));
        }
    }
}
项目:BetterNutritionMod    文件:GuiScreenConfigureWorld.java   
/**
 * Fired when a control is clicked. This is the equivalent of ActionListener.actionPerformed(ActionEvent e).
 */
protected void actionPerformed(GuiButton par1GuiButton)
{
    if (par1GuiButton.enabled)
    {
        if (par1GuiButton.id == 10)
        {
            if (this.field_102020_y)
            {
                ((GuiScreenOnlineServers)this.field_96285_a).func_102018_a(this.field_96280_b.field_96408_a);
            }

            this.mc.displayGuiScreen(this.field_96285_a);
        }
        else if (par1GuiButton.id == 5)
        {
            this.mc.displayGuiScreen(new GuiScreenEditOnlineWorld(this, this.field_96285_a, this.field_96280_b));
        }
        else if (par1GuiButton.id == 1)
        {
            String s = I18n.getString("mco.configure.world.close.question.line1");
            String s1 = I18n.getString("mco.configure.world.close.question.line2");
            this.mc.displayGuiScreen(new GuiScreenConfirmation(this, GuiScreenConfirmationType.Info, s, s1, 1));
        }
        else if (par1GuiButton.id == 0)
        {
            this.func_96268_g();
        }
        else if (par1GuiButton.id == 4)
        {
            this.mc.displayGuiScreen(new GuiScreenInvite(this.field_96285_a, this, this.field_96280_b));
        }
        else if (par1GuiButton.id == 3)
        {
            this.func_96272_i();
        }
        else if (par1GuiButton.id == 6)
        {
            this.mc.displayGuiScreen(new GuiScreenResetWorld(this, this.field_96280_b));
        }
        else if (par1GuiButton.id == 7)
        {
            this.mc.displayGuiScreen(new GuiScreenSubscription(this, this.field_96280_b));
        }
        else if (par1GuiButton.id == 8)
        {
            this.mc.displayGuiScreen(new GuiScreenBackup(this, this.field_96280_b.field_96408_a));
        }
    }
}