Class CrashReport

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

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

    • LOGGER

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

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

      private final String message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/util/crash/CrashReport;message:Ljava/lang/String;
      intermediary field_1087 Lnet/minecraft/class_128;field_1087:Ljava/lang/String;
      official c Lo;c:Ljava/lang/String;
    • cause

      private final Throwable cause
      Mappings:
      Namespace Name Mixin selector
      named cause Lnet/minecraft/util/crash/CrashReport;cause:Ljava/lang/Throwable;
      intermediary field_1093 Lnet/minecraft/class_128;field_1093:Ljava/lang/Throwable;
      official d Lo;d:Ljava/lang/Throwable;
    • otherSections

      private final List<CrashReportSection> otherSections
      Mappings:
      Namespace Name Mixin selector
      named otherSections Lnet/minecraft/util/crash/CrashReport;otherSections:Ljava/util/List;
      intermediary field_1089 Lnet/minecraft/class_128;field_1089:Ljava/util/List;
      official e Lo;e:Ljava/util/List;
    • file

      @Nullable private @Nullable Path file
      Mappings:
      Namespace Name Mixin selector
      named file Lnet/minecraft/util/crash/CrashReport;file:Ljava/nio/file/Path;
      intermediary field_1090 Lnet/minecraft/class_128;field_1090:Ljava/nio/file/Path;
      official f Lo;f:Ljava/nio/file/Path;
    • hasStackTrace

      private boolean hasStackTrace
      Mappings:
      Namespace Name Mixin selector
      named hasStackTrace Lnet/minecraft/util/crash/CrashReport;hasStackTrace:Z
      intermediary field_1086 Lnet/minecraft/class_128;field_1086:Z
      official g Lo;g:Z
    • stackTrace

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

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

    • CrashReport

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

    • getMessage

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

      public Throwable getCause()
      Mappings:
      Namespace Name Mixin selector
      named getCause Lnet/minecraft/util/crash/CrashReport;getCause()Ljava/lang/Throwable;
      intermediary method_564 Lnet/minecraft/class_128;method_564()Ljava/lang/Throwable;
      official b Lo;b()Ljava/lang/Throwable;
    • getStackTrace

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

      public void addDetails(StringBuilder crashReportBuilder)
      Mappings:
      Namespace Name Mixin selector
      named addDetails Lnet/minecraft/util/crash/CrashReport;addDetails(Ljava/lang/StringBuilder;)V
      intermediary method_555 Lnet/minecraft/class_128;method_555(Ljava/lang/StringBuilder;)V
      official a Lo;a(Ljava/lang/StringBuilder;)V
    • getCauseAsString

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

      public String asString(ReportType type, List<String> extraInfo)
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/crash/CrashReport;asString(Lnet/minecraft/util/crash/ReportType;Ljava/util/List;)Ljava/lang/String;
      intermediary method_60921 Lnet/minecraft/class_128;method_60921(Lnet/minecraft/class_9813;Ljava/util/List;)Ljava/lang/String;
      official a Lo;a(Ly;Ljava/util/List;)Ljava/lang/String;
    • asString

      public String asString(ReportType type)
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/crash/CrashReport;asString(Lnet/minecraft/util/crash/ReportType;)Ljava/lang/String;
      intermediary method_60920 Lnet/minecraft/class_128;method_60920(Lnet/minecraft/class_9813;)Ljava/lang/String;
      official a Lo;a(Ly;)Ljava/lang/String;
    • getFile

      @Nullable public @Nullable Path getFile()
      Mappings:
      Namespace Name Mixin selector
      named getFile Lnet/minecraft/util/crash/CrashReport;getFile()Ljava/nio/file/Path;
      intermediary method_572 Lnet/minecraft/class_128;method_572()Ljava/nio/file/Path;
      official e Lo;e()Ljava/nio/file/Path;
    • writeToFile

      public boolean writeToFile(Path path, ReportType type, List<String> extraInfo)
      Mappings:
      Namespace Name Mixin selector
      named writeToFile Lnet/minecraft/util/crash/CrashReport;writeToFile(Ljava/nio/file/Path;Lnet/minecraft/util/crash/ReportType;Ljava/util/List;)Z
      intermediary method_569 Lnet/minecraft/class_128;method_569(Ljava/nio/file/Path;Lnet/minecraft/class_9813;Ljava/util/List;)Z
      official a Lo;a(Ljava/nio/file/Path;Ly;Ljava/util/List;)Z
    • writeToFile

      public boolean writeToFile(Path path, ReportType type)
      Mappings:
      Namespace Name Mixin selector
      named writeToFile Lnet/minecraft/util/crash/CrashReport;writeToFile(Ljava/nio/file/Path;Lnet/minecraft/util/crash/ReportType;)Z
      intermediary method_60919 Lnet/minecraft/class_128;method_60919(Ljava/nio/file/Path;Lnet/minecraft/class_9813;)Z
      official a Lo;a(Ljava/nio/file/Path;Ly;)Z
    • getSystemDetailsSection

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

      public CrashReportSection addElement(String name)
      Mappings:
      Namespace Name Mixin selector
      named addElement Lnet/minecraft/util/crash/CrashReport;addElement(Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReportSection;
      intermediary method_562 Lnet/minecraft/class_128;method_562(Ljava/lang/String;)Lnet/minecraft/class_129;
      official a Lo;a(Ljava/lang/String;)Lp;
    • addElement

      public CrashReportSection addElement(String name, int ignoredStackTraceCallCount)
      Mappings:
      Namespace Name Mixin selector
      named addElement Lnet/minecraft/util/crash/CrashReport;addElement(Ljava/lang/String;I)Lnet/minecraft/util/crash/CrashReportSection;
      intermediary method_556 Lnet/minecraft/class_128;method_556(Ljava/lang/String;I)Lnet/minecraft/class_129;
      official a Lo;a(Ljava/lang/String;I)Lp;
    • create

      public static CrashReport create(Throwable cause, String title)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/util/crash/CrashReport;create(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/util/crash/CrashReport;
      intermediary method_560 Lnet/minecraft/class_128;method_560(Ljava/lang/Throwable;Ljava/lang/String;)Lnet/minecraft/class_128;
      official a Lo;a(Ljava/lang/Throwable;Ljava/lang/String;)Lo;
    • initCrashReport

      public static void initCrashReport()
      Mappings:
      Namespace Name Mixin selector
      named initCrashReport Lnet/minecraft/util/crash/CrashReport;initCrashReport()V
      intermediary method_24305 Lnet/minecraft/class_128;method_24305()V
      official g Lo;g()V