程序包 net.minecraft
类 CrashReportCategory
java.lang.Object
net.minecraft.CrashReportCategory
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private final List<CrashReportCategory.Entry>
private StackTraceElement[]
private final String
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
int
fillInStackTrace
(int pSize) static String
formatLocation
(LevelHeightAccessor pLevelHeightAccess, double pX, double pY, double pZ) static String
formatLocation
(LevelHeightAccessor pLevelHeightAccess, int pX, int pY, int pZ) static String
formatLocation
(LevelHeightAccessor pLevelHeightAccess, BlockPos pPos) void
getDetails
(StringBuilder pBuilder) static void
populateBlockDetails
(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos, BlockState pState) setDetail
(String pName, CrashReportDetail<String> pDetail) void
setDetailError
(String pSectionName, Throwable pThrowable) void
trimStacktrace
(int pAmount) boolean
-
字段详细资料
-
title
-
entries
-
stackTrace
-
-
构造器详细资料
-
CrashReportCategory
-
-
方法详细资料
-
formatLocation
public static String formatLocation(LevelHeightAccessor pLevelHeightAccess, double pX, double pY, double pZ) -
formatLocation
-
formatLocation
-
setDetail
-
setDetail
-
setDetailError
-
fillInStackTrace
public int fillInStackTrace(int pSize) -
validateStackTrace
-
trimStacktrace
public void trimStacktrace(int pAmount) -
getDetails
-
getStacktrace
-
applyStackTrace
-
populateBlockDetails
public static void populateBlockDetails(CrashReportCategory pCategory, LevelHeightAccessor pLevelHeightAccessor, BlockPos pPos, @Nullable BlockState pState)
-