Class CrashReport

java.lang.Object
net.minecraft.util.crash.CrashReport

public class CrashReport extends Object
Mappings:
Namespace Name
official b
intermediary net/minecraft/class_1
named net/minecraft/util/crash/CrashReport
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_7610 Lnet/minecraft/class_1;field_7610:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/util/crash/CrashReport;LOGGER:Lorg/apache/logging/log4j/Logger;
    • message

      private final String message
      Mappings:
      Namespace Name Mixin selector
      official b Lb;b:Ljava/lang/String;
      intermediary field_1 Lnet/minecraft/class_1;field_1:Ljava/lang/String;
      named message Lnet/minecraft/util/crash/CrashReport;message:Ljava/lang/String;
    • cause

      private final Throwable cause
      Mappings:
      Namespace Name Mixin selector
      official c Lb;c:Ljava/lang/Throwable;
      intermediary field_2 Lnet/minecraft/class_1;field_2:Ljava/lang/Throwable;
      named cause Lnet/minecraft/util/crash/CrashReport;cause:Ljava/lang/Throwable;
    • systemDetailsSection

      private final CrashReportSection systemDetailsSection
      Mappings:
      Namespace Name Mixin selector
      official d Lb;d:Lj;
      intermediary field_4933 Lnet/minecraft/class_1;field_4933:Lnet/minecraft/class_1392;
      named systemDetailsSection Lnet/minecraft/util/crash/CrashReport;systemDetailsSection:Lnet/minecraft/util/crash/CrashReportSection;
    • otherSections

      private final List otherSections
      Mappings:
      Namespace Name Mixin selector
      official e Lb;e:Ljava/util/List;
      intermediary field_4934 Lnet/minecraft/class_1;field_4934:Ljava/util/List;
      named otherSections Lnet/minecraft/util/crash/CrashReport;otherSections:Ljava/util/List;
    • file

      private File file
      Mappings:
      Namespace Name Mixin selector
      official f Lb;f:Ljava/io/File;
      intermediary field_4 Lnet/minecraft/class_1;field_4:Ljava/io/File;
      named file Lnet/minecraft/util/crash/CrashReport;file:Ljava/io/File;
    • hasStackTrace

      private boolean hasStackTrace
      Mappings:
      Namespace Name Mixin selector
      official g Lb;g:Z
      intermediary field_4935 Lnet/minecraft/class_1;field_4935:Z
      named hasStackTrace Lnet/minecraft/util/crash/CrashReport;hasStackTrace:Z
    • stackTrace

      private StackTraceElement[] stackTrace
      Mappings:
      Namespace Name Mixin selector
      official h Lb;h:[Ljava/lang/StackTraceElement;
      intermediary field_4936 Lnet/minecraft/class_1;field_4936:[Ljava/lang/StackTraceElement;
      named stackTrace Lnet/minecraft/util/crash/CrashReport;stackTrace:[Ljava/lang/StackTraceElement;
  • Constructor Details

    • CrashReport

      public CrashReport(String message, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lb;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_1;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      named <init> Lnet/minecraft/util/crash/CrashReport;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
  • Method Details

    • fillSystemDetails

      private void fillSystemDetails()
      Mappings:
      Namespace Name Mixin selector
      official h Lb;h()V
      intermediary method_12 Lnet/minecraft/class_1;method_12()V
      named fillSystemDetails Lnet/minecraft/util/crash/CrashReport;fillSystemDetails()V
    • getMessage

      public String getMessage()
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a()Ljava/lang/String;
      intermediary method_1 Lnet/minecraft/class_1;method_1()Ljava/lang/String;
      named getMessage Lnet/minecraft/util/crash/CrashReport;getMessage()Ljava/lang/String;
    • getCause

      public Throwable getCause()
      Mappings:
      Namespace Name Mixin selector
      official b Lb;b()Ljava/lang/Throwable;
      intermediary method_7 Lnet/minecraft/class_1;method_7()Ljava/lang/Throwable;
      named getCause Lnet/minecraft/util/crash/CrashReport;getCause()Ljava/lang/Throwable;
    • addStackTrace

      public void addStackTrace(StringBuilder stringBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a(Ljava/lang/StringBuilder;)V
      intermediary method_6 Lnet/minecraft/class_1;method_6(Ljava/lang/StringBuilder;)V
      named addStackTrace Lnet/minecraft/util/crash/CrashReport;addStackTrace(Ljava/lang/StringBuilder;)V
    • getCauseAsString

      public String getCauseAsString()
      Mappings:
      Namespace Name Mixin selector
      official d Lb;d()Ljava/lang/String;
      intermediary method_9 Lnet/minecraft/class_1;method_9()Ljava/lang/String;
      named getCauseAsString Lnet/minecraft/util/crash/CrashReport;getCauseAsString()Ljava/lang/String;
    • asString

      public String asString()
      Mappings:
      Namespace Name Mixin selector
      official e Lb;e()Ljava/lang/String;
      intermediary method_10 Lnet/minecraft/class_1;method_10()Ljava/lang/String;
      named asString Lnet/minecraft/util/crash/CrashReport;asString()Ljava/lang/String;
    • getFile

      @Environment(CLIENT) public File getFile()
      Mappings:
      Namespace Name Mixin selector
      official f Lb;f()Ljava/io/File;
      intermediary method_11 Lnet/minecraft/class_1;method_11()Ljava/io/File;
      named getFile Lnet/minecraft/util/crash/CrashReport;getFile()Ljava/io/File;
    • writeToFile

      public boolean writeToFile(File file)
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a(Ljava/io/File;)Z
      intermediary method_5008 Lnet/minecraft/class_1;method_5008(Ljava/io/File;)Z
      named writeToFile Lnet/minecraft/util/crash/CrashReport;writeToFile(Ljava/io/File;)Z
    • getSystemDetailsSection

      public CrashReportSection getSystemDetailsSection()
      Mappings:
      Namespace Name Mixin selector
      official g Lb;g()Lj;
      intermediary method_4085 Lnet/minecraft/class_1;method_4085()Lnet/minecraft/class_1392;
      named getSystemDetailsSection Lnet/minecraft/util/crash/CrashReport;getSystemDetailsSection()Lnet/minecraft/util/crash/CrashReportSection;
    • addElement

      public CrashReportSection addElement(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a(Ljava/lang/String;)Lj;
      intermediary method_4082 Lnet/minecraft/class_1;method_4082(Ljava/lang/String;)Lnet/minecraft/class_1392;
      named addElement Lnet/minecraft/util/crash/CrashReport;addElement(Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReportSection;
    • addElement

      public CrashReportSection addElement(String name, int ignoredStackTraceCallCount)
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a(Ljava/lang/String;I)Lj;
      intermediary method_6613 Lnet/minecraft/class_1;method_6613(Ljava/lang/String;I)Lnet/minecraft/class_1392;
      named addElement Lnet/minecraft/util/crash/CrashReport;addElement(Ljava/lang/String;I)Lnet/minecraft/util/crash/CrashReportSection;
    • generateWittyComment

      private static String generateWittyComment()
      Mappings:
      Namespace Name Mixin selector
      official i Lb;i()Ljava/lang/String;
      intermediary method_13 Lnet/minecraft/class_1;method_13()Ljava/lang/String;
      named generateWittyComment Lnet/minecraft/util/crash/CrashReport;generateWittyComment()Ljava/lang/String;
    • create

      public static CrashReport create(Throwable cause, String title)
      Mappings:
      Namespace Name Mixin selector
      official a Lb;a(Ljava/lang/Throwable;Ljava/lang/String;)Lb;
      intermediary method_4084 Lnet/minecraft/class_1;method_4084(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/class_1;
      named create Lnet/minecraft/util/crash/CrashReport;create(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReport;