类 CrashReportSection


  • public class CrashReportSection
    extends Object
    Mappings:
    Namespace Name
    official r
    intermediary net/minecraft/class_129
    named net/minecraft/util/crash/CrashReportSection
    • 字段详细资料

      • report

        private final CrashReport report
        Mappings:
        Namespace Name Mixin selector
        official a Lr;a:Lq;
        intermediary field_1095 Lnet/minecraft/class_129;field_1095:Lnet/minecraft/class_128;
        named report Lnet/minecraft/util/crash/CrashReportSection;report:Lnet/minecraft/util/crash/CrashReport;
      • title

        private final String title
        Mappings:
        Namespace Name Mixin selector
        official b Lr;b: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 c Lr;c: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 d Lr;d:[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;
    • 构造器详细资料

      • CrashReportSection

        public CrashReportSection​(CrashReport report,
                                  String title)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lr;<init>(Lq;Ljava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_129;<init>(Lnet/minecraft/class_128;Ljava/lang/String;)V
        named <init> Lnet/minecraft/util/crash/CrashReportSection;<init>(Lnet/minecraft/util/crash/CrashReport;Ljava/lang/String;)V
    • 方法详细资料

      • createPositionString

        public static String createPositionString​(HeightLimitView world,
                                                  double x,
                                                  double y,
                                                  double z)
        Mappings:
        Namespace Name Mixin selector
        official a Lr;a(Lbvt;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 Lr;a(Lbvt;Lgb;)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 Lr;a(Lbvt;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> crashCallable)
        Mappings:
        Namespace Name Mixin selector
        official a Lr;a(Ljava/lang/String;Ls;)Lr;
        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 Lr;a(Ljava/lang/String;Ljava/lang/Object;)Lr;
        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 Lr;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 Lr;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 Lr;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 Lr;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 Lr;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 Lr;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 Lr;a(Lr;Lbvt;Lgb;Lcjr;)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