Ejemplo n.º 1
0
 public static void func_85068_a(
     CrashReportCategory p_85068_0_,
     int p_85068_1_,
     int p_85068_2_,
     int p_85068_3_,
     int p_85068_4_,
     int p_85068_5_) {
   p_85068_0_.func_71500_a("Block type", new CallableBlockType(p_85068_4_));
   p_85068_0_.func_71500_a("Block data value", new CallableBlockDataValue(p_85068_5_));
   p_85068_0_.func_71500_a(
       "Block location", new CallableBlockLocation(p_85068_1_, p_85068_2_, p_85068_3_));
 }
Ejemplo n.º 2
0
  private CrashReport func_82581_a(
      String p_82581_1_, int p_82581_2_, ClassCastException p_82581_3_) {
    CrashReport var4 = CrashReport.func_85055_a(p_82581_3_, "Reading NBT data");
    CrashReportCategory var5 = var4.func_85057_a("Corrupt NBT tag", 1);
    var5.func_71500_a("Tag type found", new CallableTagCompound1(this, p_82581_1_));
    var5.func_71500_a("Tag type expected", new CallableTagCompound2(this, p_82581_2_));
    var5.func_71507_a("Tag name", p_82581_1_);
    if (this.func_74740_e() != null && this.func_74740_e().length() > 0) {
      var5.func_71507_a("Tag parent", this.func_74740_e());
    }

    return var4;
  }
Ejemplo n.º 3
0
 public void func_85118_a(CrashReportCategory p_85118_1_) {
   p_85118_1_.func_71500_a("Level seed", new CallableLevelSeed(this));
   p_85118_1_.func_71500_a("Level generator", new CallableLevelGenerator(this));
   p_85118_1_.func_71500_a("Level generator options", new CallableLevelGeneratorOptions(this));
   p_85118_1_.func_71500_a("Level spawn location", new CallableLevelSpawnLocation(this));
   p_85118_1_.func_71500_a("Level time", new CallableLevelTime(this));
   p_85118_1_.func_71500_a("Level dimension", new CallableLevelDimension(this));
   p_85118_1_.func_71500_a("Level storage version", new CallableLevelStorageVersion(this));
   p_85118_1_.func_71500_a("Level weather", new CallableLevelWeather(this));
   p_85118_1_.func_71500_a("Level game mode", new CallableLevelGamemode(this));
 }
Ejemplo n.º 4
0
  public void func_72567_b(Packet p_72567_1_) {
    if (p_72567_1_ instanceof Packet3Chat) {
      Packet3Chat var2 = (Packet3Chat) p_72567_1_;
      int var3 = this.field_72574_e.func_71126_v();
      if (var3 == 2) {
        return;
      }

      if (var3 == 1 && !var2.func_73475_d()) {
        return;
      }
    }

    try {
      this.field_72575_b.func_74429_a(p_72567_1_);
    } catch (Throwable var5) {
      CrashReport var6 = CrashReport.func_85055_a(var5, "Sending packet");
      CrashReportCategory var4 = var6.func_85058_a("Packet being sent");
      var4.func_71500_a("Packet ID", new CallablePacketID(this, p_72567_1_));
      var4.func_71500_a("Packet class", new CallablePacketClass(this, p_72567_1_));
      throw new ReportedException(var6);
    }
  }
Ejemplo n.º 5
0
 public CrashReportCategory func_72914_a(CrashReport p_72914_1_) {
   CrashReportCategory var2 = super.func_72914_a(p_72914_1_);
   var2.func_71500_a("Forced entities", new CallableMPL1(this));
   var2.func_71500_a("Retry entities", new CallableMPL2(this));
   return var2;
 }