Class CrashReportCategory
java.lang.Object
net.minecraft.CrashReportCategory
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<CrashReportCategory.Entry> private StackTraceElement[]private final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfillInStackTrace(int nestedOffset) static StringformatLocation(double x, double y, double z) static StringformatLocation(LevelHeightAccessor levelHeightAccessor, double x, double y, double z) static StringformatLocation(LevelHeightAccessor levelHeightAccessor, int x, int y, int z) static StringformatLocation(LevelHeightAccessor levelHeightAccessor, BlockPos pos) voidgetDetails(StringBuilder builder) static voidpopulateBlockDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos, BlockState state) static CrashReportCategorypopulateBlockLocationDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos) setDetail(String key, CrashReportDetail<String> callback) voidsetDetailError(String key, Throwable t) voidsetStackTrace(StackTraceElement[] stackTrace) voidtrimStacktrace(int length) booleanvalidateStackTrace(StackTraceElement source, StackTraceElement next)
-
Field Details
-
title
-
entries
-
stackTrace
-
-
Constructor Details
-
CrashReportCategory
-
-
Method Details
-
formatLocation
-
formatLocation
public static String formatLocation(LevelHeightAccessor levelHeightAccessor, double x, double y, double z) -
formatLocation
-
formatLocation
-
setDetail
-
setDetail
-
setDetailError
-
fillInStackTrace
public int fillInStackTrace(int nestedOffset) -
validateStackTrace
-
trimStacktrace
public void trimStacktrace(int length) -
getDetails
-
getStacktrace
-
setStackTrace
-
populateBlockDetails
public static void populateBlockDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos, BlockState state) -
populateBlockLocationDetails
public static CrashReportCategory populateBlockLocationDetails(CrashReportCategory category, LevelHeightAccessor levelHeightAccessor, BlockPos pos)
-