Package net.minecraft.util.crash
Class CrashReportSection
java.lang.Object
net.minecraft.util.crash.CrashReportSection
public class CrashReportSection extends Object
- Mappings:
Namespace Name official m
intermediary net/minecraft/class_129
named net/minecraft/util/crash/CrashReportSection
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
CrashReportSection.Element
-
Field Summary
Fields Modifier and Type Field Description private List<CrashReportSection.Element>
elements
private CrashReport
report
private StackTraceElement[]
stackTrace
private String
title
-
Constructor Summary
Constructors Constructor Description CrashReportSection(CrashReport report, String title)
-
Method Summary
Modifier and Type Method Description CrashReportSection
add(String name, Object object)
void
add(String name, Throwable throwable)
CrashReportSection
add(String string, CrashCallable<String> crashCallable)
static void
addBlockInfo(CrashReportSection element, HeightLimitView world, BlockPos pos, BlockState state)
void
addStackTrace(StringBuilder stringBuilder)
static String
createPositionString(HeightLimitView world, double x, double y, double z)
static String
createPositionString(HeightLimitView world, int x, int y, int z)
static String
createPositionString(HeightLimitView world, BlockPos pos)
StackTraceElement[]
getStackTrace()
int
initStackTrace(int ignoredCallCount)
boolean
method_584(StackTraceElement stackTraceElement, StackTraceElement stackTraceElement2)
void
trimStackTraceEnd(int callCount)
-
Field Details
-
report
- Mappings:
Namespace Name Mixin selector official a
Lm;a:Ll;
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
- Mappings:
Namespace Name Mixin selector official b
Lm;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
- Mappings:
Namespace Name Mixin selector official c
Lm;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
- Mappings:
Namespace Name Mixin selector official d
Lm;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;
-
-
Constructor Details
-
CrashReportSection
- Mappings:
Namespace Name Mixin selector official <init>
Lm;<init>(Ll;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
-
-
Method Details
-
createPositionString
@Environment(CLIENT) public static String createPositionString(HeightLimitView world, double x, double y, double z)- Mappings:
Namespace Name Mixin selector official a
Lm;a(Lbtx;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
- Mappings:
Namespace Name Mixin selector official a
Lm;a(Lbtx;Lfx;)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
- Mappings:
Namespace Name Mixin selector official a
Lm;a(Lbtx;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
- Mappings:
Namespace Name Mixin selector official a
Lm;a(Ljava/lang/String;Ln;)Lm;
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
- Mappings:
Namespace Name Mixin selector official a
Lm;a(Ljava/lang/String;Ljava/lang/Object;)Lm;
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
- Mappings:
Namespace Name Mixin selector official a
Lm;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
Lm;a(I)I
intermediary method_579
Lnet/minecraft/class_129;method_579(I)I
named initStackTrace
Lnet/minecraft/util/crash/CrashReportSection;initStackTrace(I)I
-
method_584
public boolean method_584(StackTraceElement stackTraceElement, StackTraceElement stackTraceElement2)- Mappings:
Namespace Name Mixin selector official a
Lm;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 method_584
Lnet/minecraft/util/crash/CrashReportSection;method_584(Ljava/lang/StackTraceElement;Ljava/lang/StackTraceElement;)Z
-
trimStackTraceEnd
public void trimStackTraceEnd(int callCount)- Mappings:
Namespace Name Mixin selector official b
Lm;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
- Mappings:
Namespace Name Mixin selector official a
Lm;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
- Mappings:
Namespace Name Mixin selector official a
Lm;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 BlockState state)- Mappings:
Namespace Name Mixin selector official a
Lm;a(Lm;Lbtx;Lfx;Lcht;)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
-