Java 类net.minecraft.client.gui.GuiScreenConfigureWorld 实例源码

项目:RuneCraftery    文件:GuiScreenOnlineServers.java   
private void func_140019_s() {
   McoServer var1 = this.func_140030_b(this.field_96189_n);
   if(var1 != null) {
      if(this.field_73882_e.func_110432_I().func_111285_a().equals(var1.field_96405_e)) {
         McoServer var2 = this.func_98086_a(var1.field_96408_a);
         if(var2 != null) {
            field_96194_t.func_98248_d();
            this.field_73882_e.func_71373_a(new GuiScreenConfigureWorld(this, var2));
         }
      } else {
         String var4 = I18n.func_135053_a("mco.configure.world.leave.question.line1");
         String var3 = I18n.func_135053_a("mco.configure.world.leave.question.line2");
         this.field_73882_e.func_71373_a(new GuiScreenConfirmation(this, GuiScreenConfirmationType.Info, var4, var3, 3));
      }
   }

}
项目:RuneCraftery    文件:GuiScreenEditOnlineWorld.java   
private void func_96200_g() {
   McoClient var1 = new McoClient(this.field_73882_e.func_110432_I());

   try {
      String var2 = this.field_96203_c.func_73781_b() != null && !this.field_96203_c.func_73781_b().trim().equals("")?this.field_96203_c.func_73781_b():null;
      var1.func_96384_a(this.field_96205_n.field_96408_a, this.field_96201_d.func_73781_b(), var2, this.field_104051_s.field_104076_e, this.field_104051_s.field_104073_f);
      this.field_96205_n.func_96399_a(this.field_96201_d.func_73781_b());
      this.field_96205_n.func_96400_b(this.field_96203_c.func_73781_b());
      this.field_96205_n.field_110729_i = this.field_104051_s.field_104076_e;
      this.field_96205_n.field_110728_j = this.field_104051_s.field_104073_f;
      this.field_73882_e.func_71373_a(new GuiScreenConfigureWorld(this.field_96202_b, this.field_96205_n));
   } catch (ExceptionMcoService var3) {
      this.field_73882_e.func_98033_al().func_98232_c(var3.toString());
   } catch (UnsupportedEncodingException var4) {
      this.field_73882_e.func_98033_al().func_98236_b("Realms: " + var4.getLocalizedMessage());
   }

}
项目:RuneCraftery    文件:GuiScreenInvite.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_96222_d);
      } else if(p_73875_1_.field_73741_f == 0) {
         McoClient var2 = new McoClient(this.field_73882_e.func_110432_I());
         if(this.field_96227_a.func_73781_b() == null || this.field_96227_a.func_73781_b().isEmpty()) {
            return;
         }

         try {
            McoServer var3 = var2.func_96387_b(this.field_96223_b.field_96408_a, this.field_96227_a.func_73781_b());
            if(var3 != null) {
               this.field_96223_b.field_96402_f = var3.field_96402_f;
               this.field_73882_e.func_71373_a(new GuiScreenConfigureWorld(this.field_96224_c, this.field_96223_b));
            } else {
               this.func_101015_a(this.field_101016_p);
            }
         } catch (ExceptionMcoService var4) {
            this.field_73882_e.func_98033_al().func_98232_c(var4.toString());
            this.func_101015_a(var4.field_96391_b);
         } catch (IOException var5) {
            this.field_73882_e.func_98033_al().func_98236_b("Realms: could not parse response");
            this.func_101015_a(this.field_101016_p);
         }
      }

   }
}
项目:Resilience-Client-Source    文件:GuiScreenBackup.java   
public GuiScreenBackup(GuiScreenConfigureWorld par1GuiScreenConfigureWorld, long par2)
{
    this.field_146842_g = par1GuiScreenConfigureWorld;
    this.field_146846_h = par2;
}
项目:RuneCraftery    文件:GuiScreenBackup.java   
public GuiScreenBackup(GuiScreenConfigureWorld p_i1103_1_, long p_i1103_2_) {
   this.field_110380_a = p_i1103_1_;
   this.field_110377_b = p_i1103_2_;
}
项目:RuneCraftery    文件:GuiScreenBackup.java   
static GuiScreenConfigureWorld func_130031_d(GuiScreenBackup p_130031_0_) {
   return p_130031_0_.field_110380_a;
}
项目:RuneCraftery    文件:SelectionListInvited.java   
public SelectionListInvited(GuiScreenConfigureWorld p_i1104_1_) {
   super(GuiScreenConfigureWorld.func_96265_a(p_i1104_1_), GuiScreenConfigureWorld.func_96271_b(p_i1104_1_), GuiScreenConfigureWorld.func_96274_a(p_i1104_1_, 2), GuiScreenConfigureWorld.func_96269_c(p_i1104_1_), GuiScreenConfigureWorld.func_96274_a(p_i1104_1_, 9) - GuiScreenConfigureWorld.func_96274_a(p_i1104_1_, 2), 12);
   this.field_98264_a = p_i1104_1_;
}
项目:RuneCraftery    文件:SelectionListInvited.java   
protected int func_96608_a() {
   return GuiScreenConfigureWorld.func_96266_d(this.field_98264_a).field_96402_f.size() + 1;
}
项目:RuneCraftery    文件:SelectionListInvited.java   
protected void func_96615_a(int p_96615_1_, boolean p_96615_2_) {
   if(p_96615_1_ < GuiScreenConfigureWorld.func_96266_d(this.field_98264_a).field_96402_f.size()) {
      GuiScreenConfigureWorld.func_96270_b(this.field_98264_a, p_96615_1_);
   }
}
项目:RuneCraftery    文件:SelectionListInvited.java   
protected boolean func_96609_a(int p_96609_1_) {
   return p_96609_1_ == GuiScreenConfigureWorld.func_96263_e(this.field_98264_a);
}
项目:RuneCraftery    文件:SelectionListInvited.java   
protected void func_96610_a(int p_96610_1_, int p_96610_2_, int p_96610_3_, int p_96610_4_, Tessellator p_96610_5_) {
   if(p_96610_1_ < GuiScreenConfigureWorld.func_96266_d(this.field_98264_a).field_96402_f.size()) {
      this.func_98263_b(p_96610_1_, p_96610_2_, p_96610_3_, p_96610_4_, p_96610_5_);
   }

}
项目:RuneCraftery    文件:SelectionListInvited.java   
private void func_98263_b(int p_98263_1_, int p_98263_2_, int p_98263_3_, int p_98263_4_, Tessellator p_98263_5_) {
   String var6 = (String)GuiScreenConfigureWorld.func_96266_d(this.field_98264_a).field_96402_f.get(p_98263_1_);
   this.field_98264_a.func_73731_b(GuiScreenConfigureWorld.func_96273_f(this.field_98264_a), var6, p_98263_2_ + 2, p_98263_3_ + 1, 16777215);
}
项目:RuneCraftery    文件:GuiScreenInvite.java   
public GuiScreenInvite(GuiScreen p_i1110_1_, GuiScreenConfigureWorld p_i1110_2_, McoServer p_i1110_3_) {
   this.field_96224_c = p_i1110_1_;
   this.field_96222_d = p_i1110_2_;
   this.field_96223_b = p_i1110_3_;
}
项目:RuneCraftery    文件:GuiScreenBackup.java   
public GuiScreenBackup(GuiScreenConfigureWorld par1GuiScreenConfigureWorld, long par2)
{
    this.field_110380_a = par1GuiScreenConfigureWorld;
    this.field_110377_b = par2;
}
项目:RuneCraftery    文件:GuiScreenBackup.java   
static GuiScreenConfigureWorld func_130031_d(GuiScreenBackup par0GuiScreenBackup)
{
    return par0GuiScreenBackup.field_110380_a;
}
项目:BetterNutritionMod    文件:GuiScreenBackup.java   
public GuiScreenBackup(GuiScreenConfigureWorld par1GuiScreenConfigureWorld, long par2)
{
    this.field_110380_a = par1GuiScreenConfigureWorld;
    this.field_110377_b = par2;
}
项目:BetterNutritionMod    文件:GuiScreenBackup.java   
static GuiScreenConfigureWorld func_130031_d(GuiScreenBackup par0GuiScreenBackup)
{
    return par0GuiScreenBackup.field_110380_a;
}