Class CrashReportSection

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

public class CrashReportSection extends Object
Mappings:
Namespace Name
named net/minecraft/util/crash/CrashReportSection
intermediary net/minecraft/class_129
official p
  • Field Details

    • title

      private final String title
      Mappings:
      Namespace Name Mixin selector
      named title Lnet/minecraft/util/crash/CrashReportSection;title:Ljava/lang/String;
      intermediary field_1096 Lnet/minecraft/class_129;field_1096:Ljava/lang/String;
      official a Lp;a:Ljava/lang/String;
    • elements

      private final List<CrashReportSection.Element> elements
      Mappings:
      Namespace Name Mixin selector
      named elements Lnet/minecraft/util/crash/CrashReportSection;elements:Ljava/util/List;
      intermediary field_1094 Lnet/minecraft/class_129;field_1094:Ljava/util/List;
      official b Lp;b:Ljava/util/List;
    • stackTrace

      private StackTraceElement[] stackTrace
      Mappings:
      Namespace Name Mixin selector
      named stackTrace Lnet/minecraft/util/crash/CrashReportSection;stackTrace:[Ljava/lang/StackTraceElement;
      intermediary field_1097 Lnet/minecraft/class_129;field_1097:[Ljava/lang/StackTraceElement;
      official c Lp;c:[Ljava/lang/StackTraceElement;
  • Constructor Details

    • CrashReportSection

      public CrashReportSection(String title)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/crash/CrashReportSection;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_129;<init>(Ljava/lang/String;)V
      official <init> Lp;<init>(Ljava/lang/String;)V
  • Method Details

    • createPositionString

      public static String createPositionString(HeightLimitView world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named createPositionString Lnet/minecraft/util/crash/CrashReportSection;createPositionString(Lnet/minecraft/world/HeightLimitView;DDD)Ljava/lang/String;
      intermediary method_583 Lnet/minecraft/class_129;method_583(Lnet/minecraft/class_5539;DDD)Ljava/lang/String;
      official a Lp;a(Ldci;DDD)Ljava/lang/String;
    • createPositionString

      public static String createPositionString(HeightLimitView world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named createPositionString Lnet/minecraft/util/crash/CrashReportSection;createPositionString(Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/math/BlockPos;)Ljava/lang/String;
      intermediary method_582 Lnet/minecraft/class_129;method_582(Lnet/minecraft/class_5539;Lnet/minecraft/class_2338;)Ljava/lang/String;
      official a Lp;a(Ldci;Lja;)Ljava/lang/String;
    • createPositionString

      public static String createPositionString(HeightLimitView world, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named createPositionString Lnet/minecraft/util/crash/CrashReportSection;createPositionString(Lnet/minecraft/world/HeightLimitView;III)Ljava/lang/String;
      intermediary method_581 Lnet/minecraft/class_129;method_581(Lnet/minecraft/class_5539;III)Ljava/lang/String;
      official a Lp;a(Ldci;III)Ljava/lang/String;
    • add

      public CrashReportSection add(String name, CrashCallable<String> callable)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/crash/CrashReportSection;add(Ljava/lang/String;Lnet/minecraft/util/crash/CrashCallable;)Lnet/minecraft/util/crash/CrashReportSection;
      intermediary method_577 Lnet/minecraft/class_129;method_577(Ljava/lang/String;Lnet/minecraft/class_133;)Lnet/minecraft/class_129;
      official a Lp;a(Ljava/lang/String;Lq;)Lp;
    • add

      public CrashReportSection add(String name, Object detail)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/crash/CrashReportSection;add(Ljava/lang/String;Ljava/lang/Object;)Lnet/minecraft/util/crash/CrashReportSection;
      intermediary method_578 Lnet/minecraft/class_129;method_578(Ljava/lang/String;Ljava/lang/Object;)Lnet/minecraft/class_129;
      official a Lp;a(Ljava/lang/String;Ljava/lang/Object;)Lp;
    • add

      public void add(String name, Throwable throwable)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/crash/CrashReportSection;add(Ljava/lang/String;Ljava/lang/Throwable;)V
      intermediary method_585 Lnet/minecraft/class_129;method_585(Ljava/lang/String;Ljava/lang/Throwable;)V
      official a Lp;a(Ljava/lang/String;Ljava/lang/Throwable;)V
    • initStackTrace

      public int initStackTrace(int ignoredCallCount)
      Mappings:
      Namespace Name Mixin selector
      named initStackTrace Lnet/minecraft/util/crash/CrashReportSection;initStackTrace(I)I
      intermediary method_579 Lnet/minecraft/class_129;method_579(I)I
      official a Lp;a(I)I
    • shouldGenerateStackTrace

      public boolean shouldGenerateStackTrace(StackTraceElement prev, StackTraceElement next)
      Mappings:
      Namespace Name Mixin selector
      named shouldGenerateStackTrace Lnet/minecraft/util/crash/CrashReportSection;shouldGenerateStackTrace(Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z
      intermediary method_584 Lnet/minecraft/class_129;method_584(Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z
      official a Lp;a(Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z
    • trimStackTraceEnd

      public void trimStackTraceEnd(int callCount)
      Mappings:
      Namespace Name Mixin selector
      named trimStackTraceEnd Lnet/minecraft/util/crash/CrashReportSection;trimStackTraceEnd(I)V
      intermediary method_580 Lnet/minecraft/class_129;method_580(I)V
      official b Lp;b(I)V
    • addStackTrace

      public void addStackTrace(StringBuilder crashReportBuilder)
      Mappings:
      Namespace Name Mixin selector
      named addStackTrace Lnet/minecraft/util/crash/CrashReportSection;addStackTrace(Ljava/lang/StringBuilder;)V
      intermediary method_574 Lnet/minecraft/class_129;method_574(Ljava/lang/StringBuilder;)V
      official a Lp;a(Ljava/lang/StringBuilder;)V
    • getStackTrace

      public StackTraceElement[] getStackTrace()
      Mappings:
      Namespace Name Mixin selector
      named getStackTrace Lnet/minecraft/util/crash/CrashReportSection;getStackTrace()[Ljava/lang/StackTraceElement;
      intermediary method_575 Lnet/minecraft/class_129;method_575()[Ljava/lang/StackTraceElement;
      official a Lp;a()[Ljava/lang/StackTraceElement;
    • addBlockInfo

      public static void addBlockInfo(CrashReportSection element, HeightLimitView world, BlockPos pos, @Nullable @Nullable BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named addBlockInfo Lnet/minecraft/util/crash/CrashReportSection;addBlockInfo(Lnet/minecraft/util/crash/CrashReportSection;Lnet/minecraft/world/HeightLimitView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_586 Lnet/minecraft/class_129;method_586(Lnet/minecraft/class_129;Lnet/minecraft/class_5539;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official a Lp;a(Lp;Ldci;Lja;Ldsl;)V