Package net.minecraft.crash

Examples of net.minecraft.crash.CrashReportCategory


            }
        }
        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here


            return Blocks.bedrock;
        }
        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

            return Blocks.bedrock;
        }
        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

            }
        }
        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

            return Blocks.bedrock;
        }
        catch (Throwable throwable)
        {
            CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Oxygen Sealer thread: Exception getting block type in world");
            CrashReportCategory crashreportcategory = crashreport.makeCategory("Requested block coordinates");
            crashreportcategory.addCrashSection("Location", CrashReportCategory.getLocationInfo(this.x, this.y, this.z));
            throw new ReportedException(crashreport);
        }
    }
View Full Code Here

      }
    }
    catch( Throwable t )
    {
          CrashReport crashreport = CrashReport.makeCrashReport(t, "Ticking GridNode");
          CrashReportCategory crashreportcategory = crashreport.makeCategory( tt.gt.getClass().getSimpleName() + " being ticked." );
            tt.addEntityCrashInfo(crashreportcategory);
            throw new ReportedException(crashreport);
    }
  }
View Full Code Here

    final Profiler theProfiler = this.theProfiler;
    theProfiler.startSection("updateEntities");
    int var1;
    Entity weatherEffect;
    CrashReport var4;
    CrashReportCategory var5;

    theProfiler.startSection("global");
    final List<Entity> weatherEffects = this.weatherEffects;
    synchronized (weatherEffects) {
      Iterator<Entity> iterator = weatherEffects.iterator();
View Full Code Here

    super(par1Str, par2Throwable);
  }

  @Override
  public CrashReportCategory makeCategoryDepth(String par1Str, int par2) {
    CrashReportCategory var3 = new CrashReportCategory(this, par1Str);

    if (this.field_85059_f) {
      int var4 = var3.func_85073_a(par2);
      StackTraceElement[] var5 = this.cause.getStackTrace();
      StackTraceElement var6 = null;
      StackTraceElement var7 = null;

      if (var5 != null && var5.length - var4 < var5.length && var5.length - var4 >= 0) {
        var6 = var5[var5.length - var4];

        if (var5.length + 1 - var4 < var5.length) {
          var7 = var5[var5.length + 1 - var4];
        }
      }

      this.field_85059_f = var3.func_85069_a(var6, var7);

      if (var4 > 0 && !this.crashReportSections.isEmpty()) {
        CrashReportCategory var8 = (CrashReportCategory) this.crashReportSections.get(this.crashReportSections.size() - 1);
        var8.func_85070_b(var4);
      } else if (var5 != null && var5.length >= var4) {
        this.field_85060_g = new StackTraceElement[var5.length - var4];
        System.arraycopy(var5, 0, this.field_85060_g, 0, this.field_85060_g.length);
      } else {
        this.field_85059_f = false;
View Full Code Here

TOP

Related Classes of net.minecraft.crash.CrashReportCategory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.