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 classCrashReportSection.Element -
Field Summary
Fields Modifier and Type Field Description private List<CrashReportSection.Element>elementsprivate CrashReportreportprivate StackTraceElement[]stackTraceprivate Stringtitle -
Constructor Summary
Constructors Constructor Description CrashReportSection(CrashReport report, String title) -
Method Summary
Modifier and Type Method Description CrashReportSectionadd(String name, Object object)voidadd(String name, Throwable throwable)CrashReportSectionadd(String string, CrashCallable<String> crashCallable)static voidaddBlockInfo(CrashReportSection element, HeightLimitView heightLimitView, BlockPos blockPos, BlockState blockState)voidaddStackTrace(StringBuilder stringBuilder)static StringcreatePositionString(HeightLimitView heightLimitView, double double2, double double3, double double4)static StringcreatePositionString(HeightLimitView heightLimitView, int int2, int int3, int int4)static StringcreatePositionString(HeightLimitView heightLimitView, BlockPos blockPos)StackTraceElement[]getStackTrace()intinitStackTrace(int ignoredCallCount)booleanmethod_584(StackTraceElement stackTraceElement, StackTraceElement stackTraceElement2)voidtrimStackTraceEnd(int callCount)
-
Field Details
-
report
-
title
-
elements
-
stackTrace
-
-
Constructor Details
-
CrashReportSection
-
-
Method Details
-
createPositionString
@Environment(CLIENT) public static String createPositionString(HeightLimitView heightLimitView, double double2, double double3, double double4) -
createPositionString
-
createPositionString
public static String createPositionString(HeightLimitView heightLimitView, int int2, int int3, int int4) -
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, HeightLimitView heightLimitView, BlockPos blockPos, @Nullable BlockState blockState)
-