Class CrashReport

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

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lq;a:Lorg/slf4j/Logger;
      intermediary field_1091 Lnet/minecraft/class_128;field_1091:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/util/crash/CrashReport;LOGGER:Lorg/slf4j/Logger;
    • DATE_TIME_FORMATTER

      private static final DateTimeFormatter DATE_TIME_FORMATTER
      Mappings:
      Namespace Name Mixin selector
      official b Lq;b:Ljava/time/format/DateTimeFormatter;
      intermediary field_39880 Lnet/minecraft/class_128;field_39880:Ljava/time/format/DateTimeFormatter;
      named DATE_TIME_FORMATTER Lnet/minecraft/util/crash/CrashReport;DATE_TIME_FORMATTER:Ljava/time/format/DateTimeFormatter;
    • message

      private final String message
      Mappings:
      Namespace Name Mixin selector
      official c Lq;c:Ljava/lang/String;
      intermediary field_1087 Lnet/minecraft/class_128;field_1087: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 d Lq;d:Ljava/lang/Throwable;
      intermediary field_1093 Lnet/minecraft/class_128;field_1093:Ljava/lang/Throwable;
      named cause Lnet/minecraft/util/crash/CrashReport;cause:Ljava/lang/Throwable;
    • otherSections

      private final List<CrashReportSection> otherSections
      Mappings:
      Namespace Name Mixin selector
      official e Lq;e:Ljava/util/List;
      intermediary field_1089 Lnet/minecraft/class_128;field_1089: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 Lq;f:Ljava/io/File;
      intermediary field_1090 Lnet/minecraft/class_128;field_1090: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 Lq;g:Z
      intermediary field_1086 Lnet/minecraft/class_128;field_1086:Z
      named hasStackTrace Lnet/minecraft/util/crash/CrashReport;hasStackTrace:Z
    • stackTrace

      private StackTraceElement[] stackTrace
      Mappings:
      Namespace Name Mixin selector
      official h Lq;h:[Ljava/lang/StackTraceElement;
      intermediary field_1088 Lnet/minecraft/class_128;field_1088:[Ljava/lang/StackTraceElement;
      named stackTrace Lnet/minecraft/util/crash/CrashReport;stackTrace:[Ljava/lang/StackTraceElement;
    • systemDetailsSection

      private final SystemDetails systemDetailsSection
      Mappings:
      Namespace Name Mixin selector
      official i Lq;i:Lac;
      intermediary field_1092 Lnet/minecraft/class_128;field_1092:Lnet/minecraft/class_6396;
      named systemDetailsSection Lnet/minecraft/util/crash/CrashReport;systemDetailsSection:Lnet/minecraft/util/SystemDetails;
  • Constructor Details

    • CrashReport

      public CrashReport(String message, Throwable cause)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lq;<init>(Ljava/lang/String;Ljava/lang/Throwable;)V
      intermediary <init> Lnet/minecraft/class_128;<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

    • getMessage

      public String getMessage()
      Mappings:
      Namespace Name Mixin selector
      official a Lq;a()Ljava/lang/String;
      intermediary method_561 Lnet/minecraft/class_128;method_561()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 Lq;b()Ljava/lang/Throwable;
      intermediary method_564 Lnet/minecraft/class_128;method_564()Ljava/lang/Throwable;
      named getCause Lnet/minecraft/util/crash/CrashReport;getCause()Ljava/lang/Throwable;
    • getStackTrace

      public String getStackTrace()
      Mappings:
      Namespace Name Mixin selector
      official c Lq;c()Ljava/lang/String;
      intermediary method_36147 Lnet/minecraft/class_128;method_36147()Ljava/lang/String;
      named getStackTrace Lnet/minecraft/util/crash/CrashReport;getStackTrace()Ljava/lang/String;
    • addStackTrace

      public void addStackTrace(StringBuilder crashReportBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Lq;a(Ljava/lang/StringBuilder;)V
      intermediary method_555 Lnet/minecraft/class_128;method_555(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 Lq;d()Ljava/lang/String;
      intermediary method_557 Lnet/minecraft/class_128;method_557()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 Lq;e()Ljava/lang/String;
      intermediary method_568 Lnet/minecraft/class_128;method_568()Ljava/lang/String;
      named asString Lnet/minecraft/util/crash/CrashReport;asString()Ljava/lang/String;
    • getFile

      public File getFile()
      Mappings:
      Namespace Name Mixin selector
      official f Lq;f()Ljava/io/File;
      intermediary method_572 Lnet/minecraft/class_128;method_572()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 Lq;a(Ljava/io/File;)Z
      intermediary method_569 Lnet/minecraft/class_128;method_569(Ljava/io/File;)Z
      named writeToFile Lnet/minecraft/util/crash/CrashReport;writeToFile(Ljava/io/File;)Z
    • getSystemDetailsSection

      public SystemDetails getSystemDetailsSection()
      Mappings:
      Namespace Name Mixin selector
      official g Lq;g()Lac;
      intermediary method_567 Lnet/minecraft/class_128;method_567()Lnet/minecraft/class_6396;
      named getSystemDetailsSection Lnet/minecraft/util/crash/CrashReport;getSystemDetailsSection()Lnet/minecraft/util/SystemDetails;
    • addElement

      public CrashReportSection addElement(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lq;a(Ljava/lang/String;)Lr;
      intermediary method_562 Lnet/minecraft/class_128;method_562(Ljava/lang/String;)Lnet/minecraft/class_129;
      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 Lq;a(Ljava/lang/String;I)Lr;
      intermediary method_556 Lnet/minecraft/class_128;method_556(Ljava/lang/String;I)Lnet/minecraft/class_129;
      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 Lq;i()Ljava/lang/String;
      intermediary method_573 Lnet/minecraft/class_128;method_573()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 Lq;a(Ljava/lang/Throwable;Ljava/lang/String;)Lq;
      intermediary method_560 Lnet/minecraft/class_128;method_560(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/class_128;
      named create Lnet/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 h Lq;h()V
      intermediary method_24305 Lnet/minecraft/class_128;method_24305()V
      named initCrashReport Lnet/minecraft/util/crash/CrashReport;initCrashReport()V