Package net.minecraft.crash
Class CrashReportCategory
- java.lang.Object
-
- net.minecraft.crash.CrashReportCategory
-
public class CrashReportCategory extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
CrashReportCategory.Entry
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<CrashReportCategory.Entry>
entries
private CrashReport
report
private java.lang.StackTraceElement[]
stackTrace
private java.lang.String
title
-
Constructor Summary
Constructors Constructor Description CrashReportCategory(CrashReport p_i1353_1_, java.lang.String p_i1353_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyStackTrace(java.lang.Throwable t)
int
fillInStackTrace(int p_85073_1_)
static java.lang.String
formatLocation(double p_85074_0_, double p_85074_2_, double p_85074_4_)
static java.lang.String
formatLocation(int p_184876_0_, int p_184876_1_, int p_184876_2_)
static java.lang.String
formatLocation(BlockPos p_180522_0_)
void
getDetails(java.lang.StringBuilder p_85072_1_)
java.lang.StackTraceElement[]
getStacktrace()
static void
populateBlockDetails(CrashReportCategory p_175750_0_, BlockPos p_175750_1_, BlockState p_175750_2_)
CrashReportCategory
setDetail(java.lang.String p_71507_1_, java.lang.Object p_71507_2_)
CrashReportCategory
setDetail(java.lang.String p_189529_1_, ICrashReportDetail<java.lang.String> p_189529_2_)
void
setDetailError(java.lang.String p_71499_1_, java.lang.Throwable p_71499_2_)
void
trimStacktrace(int p_85070_1_)
boolean
validateStackTrace(java.lang.StackTraceElement p_85069_1_, java.lang.StackTraceElement p_85069_2_)
-
-
-
Field Detail
-
report
private final CrashReport report
-
title
private final java.lang.String title
-
entries
private final java.util.List<CrashReportCategory.Entry> entries
-
stackTrace
private java.lang.StackTraceElement[] stackTrace
-
-
Constructor Detail
-
CrashReportCategory
public CrashReportCategory(CrashReport p_i1353_1_, java.lang.String p_i1353_2_)
-
-
Method Detail
-
formatLocation
public static java.lang.String formatLocation(double p_85074_0_, double p_85074_2_, double p_85074_4_)
-
formatLocation
public static java.lang.String formatLocation(BlockPos p_180522_0_)
-
formatLocation
public static java.lang.String formatLocation(int p_184876_0_, int p_184876_1_, int p_184876_2_)
-
setDetail
public CrashReportCategory setDetail(java.lang.String p_189529_1_, ICrashReportDetail<java.lang.String> p_189529_2_)
-
setDetail
public CrashReportCategory setDetail(java.lang.String p_71507_1_, java.lang.Object p_71507_2_)
-
setDetailError
public void setDetailError(java.lang.String p_71499_1_, java.lang.Throwable p_71499_2_)
-
fillInStackTrace
public int fillInStackTrace(int p_85073_1_)
-
validateStackTrace
public boolean validateStackTrace(java.lang.StackTraceElement p_85069_1_, java.lang.StackTraceElement p_85069_2_)
-
trimStacktrace
public void trimStacktrace(int p_85070_1_)
-
getDetails
public void getDetails(java.lang.StringBuilder p_85072_1_)
-
getStacktrace
public java.lang.StackTraceElement[] getStacktrace()
-
applyStackTrace
public void applyStackTrace(java.lang.Throwable t)
-
populateBlockDetails
public static void populateBlockDetails(CrashReportCategory p_175750_0_, BlockPos p_175750_1_, @Nullable BlockState p_175750_2_)
-
-