コード例 #1
0
  public IntegratedServer(
      Minecraft p_i3118_1_, String p_i3118_2_, String p_i3118_3_, WorldSettings p_i3118_4_) {
    super(new File(Minecraft.func_71380_b(), "saves"));
    this.func_71224_l(p_i3118_1_.field_71449_j.field_74286_b);
    this.func_71261_m(p_i3118_2_);
    this.func_71246_n(p_i3118_3_);
    this.func_71204_b(p_i3118_1_.func_71355_q());
    this.func_71194_c(p_i3118_4_.func_77167_c());
    this.func_71191_d(256);
    this.func_71210_a(new IntegratedPlayerList(this));
    this.field_71349_l = p_i3118_1_;
    this.field_71350_m = p_i3118_4_;
    ModLoader.registerServer(this);

    try {
      this.field_71347_n = new IntegratedServerListenThread(this);
    } catch (IOException var6) {
      throw new Error();
    }
  }