类 CrashReport
- java.lang.Object
-
- net.minecraft.util.crash.CrashReport
-
public class CrashReport extends Object
- Mappings:
Namespace Name official qintermediary net/minecraft/class_128named net/minecraft/util/crash/CrashReport
-
-
字段概要
字段 修饰符和类型 字段 说明 private Throwablecauseprivate Filefileprivate booleanhasStackTraceprivate static LoggerLOGGERprivate Stringmessageprivate List<CrashReportSection>otherSectionsprivate StackTraceElement[]stackTraceprivate CrashReportSectionsystemDetailsSection
-
构造器概要
构造器 构造器 说明 CrashReport(String message, Throwable cause)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 CrashReportSectionaddElement(String name)CrashReportSectionaddElement(String name, int ignoredStackTraceCallCount)voidaddStackTrace(StringBuilder crashReportBuilder)StringasString()static CrashReportcreate(Throwable cause, String title)private voidfillSystemDetails()private static StringgenerateWittyComment()ThrowablegetCause()StringgetCauseAsString()FilegetFile()StringgetMessage()CrashReportSectiongetSystemDetailsSection()static voidinitCrashReport()Stringmethod_36147()booleanwriteToFile(File file)
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLq;a:Lorg/apache/logging/log4j/Logger;intermediary field_1091Lnet/minecraft/class_128;field_1091:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/util/crash/CrashReport;LOGGER:Lorg/apache/logging/log4j/Logger;
-
message
private final String message
- Mappings:
Namespace Name Mixin selector official bLq;b:Ljava/lang/String;intermediary field_1087Lnet/minecraft/class_128;field_1087:Ljava/lang/String;named messageLnet/minecraft/util/crash/CrashReport;message:Ljava/lang/String;
-
cause
private final Throwable cause
- Mappings:
Namespace Name Mixin selector official cLq;c:Ljava/lang/Throwable;intermediary field_1093Lnet/minecraft/class_128;field_1093:Ljava/lang/Throwable;named causeLnet/minecraft/util/crash/CrashReport;cause:Ljava/lang/Throwable;
-
systemDetailsSection
private final CrashReportSection systemDetailsSection
- Mappings:
Namespace Name Mixin selector official dLq;d:Lr;intermediary field_1092Lnet/minecraft/class_128;field_1092:Lnet/minecraft/class_129;named systemDetailsSectionLnet/minecraft/util/crash/CrashReport;systemDetailsSection:Lnet/minecraft/util/crash/CrashReportSection;
-
otherSections
private final List<CrashReportSection> otherSections
- Mappings:
Namespace Name Mixin selector official eLq;e:Ljava/util/List;intermediary field_1089Lnet/minecraft/class_128;field_1089:Ljava/util/List;named otherSectionsLnet/minecraft/util/crash/CrashReport;otherSections:Ljava/util/List;
-
file
private File file
- Mappings:
Namespace Name Mixin selector official fLq;f:Ljava/io/File;intermediary field_1090Lnet/minecraft/class_128;field_1090:Ljava/io/File;named fileLnet/minecraft/util/crash/CrashReport;file:Ljava/io/File;
-
hasStackTrace
private boolean hasStackTrace
- Mappings:
Namespace Name Mixin selector official gLq;g:Zintermediary field_1086Lnet/minecraft/class_128;field_1086:Znamed hasStackTraceLnet/minecraft/util/crash/CrashReport;hasStackTrace:Z
-
stackTrace
private StackTraceElement[] stackTrace
- Mappings:
Namespace Name Mixin selector official hLq;h:[Ljava/lang/StackTraceElement;intermediary field_1088Lnet/minecraft/class_128;field_1088:[Ljava/lang/StackTraceElement;named stackTraceLnet/minecraft/util/crash/CrashReport;stackTrace:[Ljava/lang/StackTraceElement;
-
-
构造器详细资料
-
CrashReport
public CrashReport(String message, Throwable cause)
- Mappings:
Namespace Name Mixin selector official <init>Lq;<init>(Ljava/lang/String;Ljava/lang/Throwable;)Vintermediary <init>Lnet/minecraft/class_128;<init>(Ljava/lang/String;Ljava/lang/Throwable;)Vnamed <init>Lnet/minecraft/util/crash/CrashReport;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
-
-
方法详细资料
-
fillSystemDetails
private void fillSystemDetails()
- Mappings:
Namespace Name Mixin selector official iLq;i()Vintermediary method_559Lnet/minecraft/class_128;method_559()Vnamed fillSystemDetailsLnet/minecraft/util/crash/CrashReport;fillSystemDetails()V
-
getMessage
public String getMessage()
- Mappings:
Namespace Name Mixin selector official aLq;a()Ljava/lang/String;intermediary method_561Lnet/minecraft/class_128;method_561()Ljava/lang/String;named getMessageLnet/minecraft/util/crash/CrashReport;getMessage()Ljava/lang/String;
-
getCause
public Throwable getCause()
- Mappings:
Namespace Name Mixin selector official bLq;b()Ljava/lang/Throwable;intermediary method_564Lnet/minecraft/class_128;method_564()Ljava/lang/Throwable;named getCauseLnet/minecraft/util/crash/CrashReport;getCause()Ljava/lang/Throwable;
-
method_36147
public String method_36147()
- Mappings:
Namespace Name Mixin selector official cLq;c()Ljava/lang/String;intermediary method_36147Lnet/minecraft/class_128;method_36147()Ljava/lang/String;named method_36147Lnet/minecraft/util/crash/CrashReport;method_36147()Ljava/lang/String;
-
addStackTrace
public void addStackTrace(StringBuilder crashReportBuilder)
- Mappings:
Namespace Name Mixin selector official aLq;a(Ljava/lang/StringBuilder;)Vintermediary method_555Lnet/minecraft/class_128;method_555(Ljava/lang/StringBuilder;)Vnamed addStackTraceLnet/minecraft/util/crash/CrashReport;addStackTrace(Ljava/lang/StringBuilder;)V
-
getCauseAsString
public String getCauseAsString()
- Mappings:
Namespace Name Mixin selector official dLq;d()Ljava/lang/String;intermediary method_557Lnet/minecraft/class_128;method_557()Ljava/lang/String;named getCauseAsStringLnet/minecraft/util/crash/CrashReport;getCauseAsString()Ljava/lang/String;
-
asString
public String asString()
- Mappings:
Namespace Name Mixin selector official eLq;e()Ljava/lang/String;intermediary method_568Lnet/minecraft/class_128;method_568()Ljava/lang/String;named asStringLnet/minecraft/util/crash/CrashReport;asString()Ljava/lang/String;
-
getFile
public File getFile()
- Mappings:
Namespace Name Mixin selector official fLq;f()Ljava/io/File;intermediary method_572Lnet/minecraft/class_128;method_572()Ljava/io/File;named getFileLnet/minecraft/util/crash/CrashReport;getFile()Ljava/io/File;
-
writeToFile
public boolean writeToFile(File file)
- Mappings:
Namespace Name Mixin selector official aLq;a(Ljava/io/File;)Zintermediary method_569Lnet/minecraft/class_128;method_569(Ljava/io/File;)Znamed writeToFileLnet/minecraft/util/crash/CrashReport;writeToFile(Ljava/io/File;)Z
-
getSystemDetailsSection
public CrashReportSection getSystemDetailsSection()
- Mappings:
Namespace Name Mixin selector official gLq;g()Lr;intermediary method_567Lnet/minecraft/class_128;method_567()Lnet/minecraft/class_129;named getSystemDetailsSectionLnet/minecraft/util/crash/CrashReport;getSystemDetailsSection()Lnet/minecraft/util/crash/CrashReportSection;
-
addElement
public CrashReportSection addElement(String name)
- Mappings:
Namespace Name Mixin selector official aLq;a(Ljava/lang/String;)Lr;intermediary method_562Lnet/minecraft/class_128;method_562(Ljava/lang/String;)Lnet/minecraft/class_129;named addElementLnet/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 aLq;a(Ljava/lang/String;I)Lr;intermediary method_556Lnet/minecraft/class_128;method_556(Ljava/lang/String;I)Lnet/minecraft/class_129;named addElementLnet/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 jLq;j()Ljava/lang/String;intermediary method_573Lnet/minecraft/class_128;method_573()Ljava/lang/String;named generateWittyCommentLnet/minecraft/util/crash/CrashReport;generateWittyComment()Ljava/lang/String;
-
create
public static CrashReport create(Throwable cause, String title)
- Mappings:
Namespace Name Mixin selector official aLq;a(Ljava/lang/Throwable;Ljava/lang/String;)Lq;intermediary method_560Lnet/minecraft/class_128;method_560(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/class_128;named createLnet/minecraft/util/crash/CrashReport;create(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReport;
-
initCrashReport
public static void initCrashReport()
- Mappings:
Namespace Name Mixin selector official hLq;h()Vintermediary method_24305Lnet/minecraft/class_128;method_24305()Vnamed initCrashReportLnet/minecraft/util/crash/CrashReport;initCrashReport()V
-
-