Package net.minecraftforge.fml
Class CrashReportExtender
java.lang.Object
net.minecraftforge.fml.CrashReportExtender
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCrashReportHeader
(StringBuilder stringbuilder, CrashReport crashReport) static File
dumpModLoadingCrashReport
(org.apache.logging.log4j.Logger logger, LoadingFailedException error, File topLevelDir) static void
enhanceCrashReport
(CrashReport crashReport, CrashReportCategory category) static String
generateEnhancedStackTrace
(StackTraceElement[] stacktrace) static String
generateEnhancedStackTrace
(Throwable throwable) static String
generateEnhancedStackTrace
(Throwable throwable, boolean header) static void
registerCrashCallable
(String headerName, Callable<String> reportGenerator) static void
registerCrashCallable
(ICrashCallable callable)
-
Field Details
-
crashCallables
-
-
Constructor Details
-
CrashReportExtender
public CrashReportExtender()
-
-
Method Details
-
enhanceCrashReport
-
registerCrashCallable
-
registerCrashCallable
-
addCrashReportHeader
-
generateEnhancedStackTrace
-
generateEnhancedStackTrace
-
generateEnhancedStackTrace
-
dumpModLoadingCrashReport
public static File dumpModLoadingCrashReport(org.apache.logging.log4j.Logger logger, LoadingFailedException error, File topLevelDir)
-