public class CrashReportCategory
extends java.lang.Object
Constructor and Description |
---|
CrashReportCategory(CrashReport report,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static void |
addBlockInfo(CrashReportCategory category,
BlockPos pos,
Block blockIn,
int blockData) |
static void |
addBlockInfo(CrashReportCategory category,
BlockPos pos,
IBlockState state) |
void |
addCrashSection(java.lang.String sectionName,
java.lang.Object value) |
void |
addCrashSectionThrowable(java.lang.String sectionName,
java.lang.Throwable throwable) |
void |
addDetail(java.lang.String nameIn,
ICrashReportDetail<java.lang.String> detail) |
void |
appendToStringBuilder(java.lang.StringBuilder builder) |
boolean |
firstTwoElementsOfStackTraceMatch(java.lang.StackTraceElement s1,
java.lang.StackTraceElement s2) |
static java.lang.String |
getCoordinateInfo(BlockPos pos) |
static java.lang.String |
getCoordinateInfo(double x,
double y,
double z) |
static java.lang.String |
getCoordinateInfo(int x,
int y,
int z) |
int |
getPrunedStackTrace(int size) |
java.lang.StackTraceElement[] |
getStackTrace() |
void |
trimStackTraceEntriesFromBottom(int amount) |
public CrashReportCategory(CrashReport report, java.lang.String name)
public static java.lang.String getCoordinateInfo(double x, double y, double z)
public static java.lang.String getCoordinateInfo(BlockPos pos)
public static java.lang.String getCoordinateInfo(int x, int y, int z)
public void addDetail(java.lang.String nameIn, ICrashReportDetail<java.lang.String> detail)
public void addCrashSection(java.lang.String sectionName, java.lang.Object value)
public void addCrashSectionThrowable(java.lang.String sectionName, java.lang.Throwable throwable)
public int getPrunedStackTrace(int size)
public boolean firstTwoElementsOfStackTraceMatch(java.lang.StackTraceElement s1, java.lang.StackTraceElement s2)
public void trimStackTraceEntriesFromBottom(int amount)
public void appendToStringBuilder(java.lang.StringBuilder builder)
public java.lang.StackTraceElement[] getStackTrace()
public static void addBlockInfo(CrashReportCategory category, BlockPos pos, Block blockIn, int blockData)
public static void addBlockInfo(CrashReportCategory category, BlockPos pos, IBlockState state)