Package net.minecraft.util.crash
Class CrashReport
java.lang.Object
net.minecraft.util.crash.CrashReport
public class CrashReport extends Object
- Mappings:
Namespace Name official bintermediary net/minecraft/class_825named net/minecraft/util/crash/CrashReport
-
Field Summary
Fields Modifier and Type Field Description private Throwablecauseprivate Filefileprivate booleanhasStackTraceprivate static LoggerLOGGERprivate Stringmessageprivate List<CrashReportSection>otherSectionsprivate StackTraceElement[]stackTraceprivate CrashReportSectionsystemDetailsSection -
Constructor Summary
Constructors Constructor Description CrashReport(String message, Throwable cause) -
Method Summary
Modifier and Type Method Description CrashReportSectionaddElement(String name)CrashReportSectionaddElement(String name, int ignoredStackTraceCallCount)voidaddStackTrace(StringBuilder stringBuilder)StringasString()static CrashReportcreate(Throwable cause, String title)private voidfillSystemDetails()private static StringgenerateWittyComment()ThrowablegetCause()StringgetCauseAsString()FilegetFile()StringgetMessage()CrashReportSectiongetSystemDetailsSection()booleanwriteToFile(File file)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLb;a:Lorg/apache/logging/log4j/Logger;intermediary field_3595Lnet/minecraft/class_825;field_3595:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/util/crash/CrashReport;LOGGER:Lorg/apache/logging/log4j/Logger;
-
message
- Mappings:
Namespace Name Mixin selector official bLb;b:Ljava/lang/String;intermediary field_3596Lnet/minecraft/class_825;field_3596:Ljava/lang/String;named messageLnet/minecraft/util/crash/CrashReport;message:Ljava/lang/String;
-
cause
- Mappings:
Namespace Name Mixin selector official cLb;c:Ljava/lang/Throwable;intermediary field_3597Lnet/minecraft/class_825;field_3597:Ljava/lang/Throwable;named causeLnet/minecraft/util/crash/CrashReport;cause:Ljava/lang/Throwable;
-
systemDetailsSection
- Mappings:
Namespace Name Mixin selector official dLb;d:Lc;intermediary field_3598Lnet/minecraft/class_825;field_3598:Lnet/minecraft/class_1364;named systemDetailsSectionLnet/minecraft/util/crash/CrashReport;systemDetailsSection:Lnet/minecraft/util/crash/CrashReportSection;
-
otherSections
- Mappings:
Namespace Name Mixin selector official eLb;e:Ljava/util/List;intermediary field_3599Lnet/minecraft/class_825;field_3599:Ljava/util/List;named otherSectionsLnet/minecraft/util/crash/CrashReport;otherSections:Ljava/util/List;
-
file
- Mappings:
Namespace Name Mixin selector official fLb;f:Ljava/io/File;intermediary field_3600Lnet/minecraft/class_825;field_3600:Ljava/io/File;named fileLnet/minecraft/util/crash/CrashReport;file:Ljava/io/File;
-
hasStackTrace
private boolean hasStackTrace- Mappings:
Namespace Name Mixin selector official gLb;g:Zintermediary field_3601Lnet/minecraft/class_825;field_3601:Znamed hasStackTraceLnet/minecraft/util/crash/CrashReport;hasStackTrace:Z
-
stackTrace
- Mappings:
Namespace Name Mixin selector official hLb;h:[Ljava/lang/StackTraceElement;intermediary field_3602Lnet/minecraft/class_825;field_3602:[Ljava/lang/StackTraceElement;named stackTraceLnet/minecraft/util/crash/CrashReport;stackTrace:[Ljava/lang/StackTraceElement;
-
-
Constructor Details
-
CrashReport
- Mappings:
Namespace Name Mixin selector official <init>Lb;<init>(Ljava/lang/String;Ljava/lang/Throwable;)Vintermediary <init>Lnet/minecraft/class_825;<init>(Ljava/lang/String;Ljava/lang/Throwable;)Vnamed <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 hLb;h()Vintermediary method_3009Lnet/minecraft/class_825;method_3009()Vnamed fillSystemDetailsLnet/minecraft/util/crash/CrashReport;fillSystemDetails()V
-
getMessage
- Mappings:
Namespace Name Mixin selector official aLb;a()Ljava/lang/String;intermediary method_2998Lnet/minecraft/class_825;method_2998()Ljava/lang/String;named getMessageLnet/minecraft/util/crash/CrashReport;getMessage()Ljava/lang/String;
-
getCause
- Mappings:
Namespace Name Mixin selector official bLb;b()Ljava/lang/Throwable;intermediary method_3004Lnet/minecraft/class_825;method_3004()Ljava/lang/Throwable;named getCauseLnet/minecraft/util/crash/CrashReport;getCause()Ljava/lang/Throwable;
-
addStackTrace
- Mappings:
Namespace Name Mixin selector official aLb;a(Ljava/lang/StringBuilder;)Vintermediary method_3002Lnet/minecraft/class_825;method_3002(Ljava/lang/StringBuilder;)Vnamed addStackTraceLnet/minecraft/util/crash/CrashReport;addStackTrace(Ljava/lang/StringBuilder;)V
-
getCauseAsString
- Mappings:
Namespace Name Mixin selector official dLb;d()Ljava/lang/String;intermediary method_3005Lnet/minecraft/class_825;method_3005()Ljava/lang/String;named getCauseAsStringLnet/minecraft/util/crash/CrashReport;getCauseAsString()Ljava/lang/String;
-
asString
- Mappings:
Namespace Name Mixin selector official eLb;e()Ljava/lang/String;intermediary method_3006Lnet/minecraft/class_825;method_3006()Ljava/lang/String;named asStringLnet/minecraft/util/crash/CrashReport;asString()Ljava/lang/String;
-
getFile
- Mappings:
Namespace Name Mixin selector official fLb;f()Ljava/io/File;intermediary method_3007Lnet/minecraft/class_825;method_3007()Ljava/io/File;named getFileLnet/minecraft/util/crash/CrashReport;getFile()Ljava/io/File;
-
writeToFile
- Mappings:
Namespace Name Mixin selector official aLb;a(Ljava/io/File;)Zintermediary method_2999Lnet/minecraft/class_825;method_2999(Ljava/io/File;)Znamed writeToFileLnet/minecraft/util/crash/CrashReport;writeToFile(Ljava/io/File;)Z
-
getSystemDetailsSection
- Mappings:
Namespace Name Mixin selector official gLb;g()Lc;intermediary method_3008Lnet/minecraft/class_825;method_3008()Lnet/minecraft/class_1364;named getSystemDetailsSectionLnet/minecraft/util/crash/CrashReport;getSystemDetailsSection()Lnet/minecraft/util/crash/CrashReportSection;
-
addElement
- Mappings:
Namespace Name Mixin selector official aLb;a(Ljava/lang/String;)Lc;intermediary method_3000Lnet/minecraft/class_825;method_3000(Ljava/lang/String;)Lnet/minecraft/class_1364;named addElementLnet/minecraft/util/crash/CrashReport;addElement(Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReportSection;
-
addElement
- Mappings:
Namespace Name Mixin selector official aLb;a(Ljava/lang/String;I)Lc;intermediary method_3001Lnet/minecraft/class_825;method_3001(Ljava/lang/String;I)Lnet/minecraft/class_1364;named addElementLnet/minecraft/util/crash/CrashReport;addElement(Ljava/lang/String;I)Lnet/minecraft/util/crash/CrashReportSection;
-
generateWittyComment
- Mappings:
Namespace Name Mixin selector official iLb;i()Ljava/lang/String;intermediary method_3010Lnet/minecraft/class_825;method_3010()Ljava/lang/String;named generateWittyCommentLnet/minecraft/util/crash/CrashReport;generateWittyComment()Ljava/lang/String;
-
create
- Mappings:
Namespace Name Mixin selector official aLb;a(Ljava/lang/Throwable;Ljava/lang/String;)Lb;intermediary method_3003Lnet/minecraft/class_825;method_3003(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/class_825;named createLnet/minecraft/util/crash/CrashReport;create(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReport;
-