Class CrashReportSection

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

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

    • title

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

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

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

    • CrashReportSection

      public CrashReportSection(String title)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lp;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_129;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/util/crash/CrashReportSection;<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
      official a Lp;a(Lcmk;DDD)Ljava/lang/String;
      intermediary method_583 Lnet/minecraft/class_129;method_583(Lnet/minecraft/class_5539;DDD)Ljava/lang/String;
      named createPositionString Lnet/minecraft/util/crash/CrashReportSection;createPositionString(Lnet/minecraft/world/HeightLimitView;DDD)Ljava/lang/String;
    • createPositionString

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

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

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

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

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

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

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

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

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

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

      public static void addBlockInfo(CrashReportSection element, HeightLimitView world, BlockPos pos, @Nullable @Nullable BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lp;a(Lp;Lcmk;Lgt;Ldbq;)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
      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