Package net.minecraft.util.crash
Class CrashReportSection
java.lang.Object
net.minecraft.util.crash.CrashReportSection
public class CrashReportSection extends Object
-
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, BlockPos pos, BlockState state)
void
addStackTrace(StringBuilder stringBuilder)
static String
createPositionString(double x, double y, double z)
static String
createPositionString(int x, int y, int z)
static String
createPositionString(BlockPos pos)
StackTraceElement[]
getStackTrace()
int
initStackTrace(int ignoredCallCount)
boolean
method_584(StackTraceElement stackTraceElement, StackTraceElement stackTraceElement2)
void
trimStackTraceEnd(int callCount)
-
Field Details
-
report
-
title
-
elements
-
stackTrace
-
-
Constructor Details
-
CrashReportSection
-
-
Method Details
-
createPositionString
-
createPositionString
-
createPositionString
-
add
-
add
-
add
-
initStackTrace
public int initStackTrace(int ignoredCallCount) -
method_584
public boolean method_584(StackTraceElement stackTraceElement, StackTraceElement stackTraceElement2) -
trimStackTraceEnd
public void trimStackTraceEnd(int callCount) -
addStackTrace
-
getStackTrace
-
addBlockInfo
public static void addBlockInfo(CrashReportSection element, BlockPos pos, @Nullable BlockState state)
-