use of net.minecraft.util.crash.CrashException in project lithium-fabric by CaffeineMC.
the class DataTrackerMixin method onGetException.
private static <T> CrashException onGetException(Throwable cause, TrackedData<T> data) {
CrashReport report = CrashReport.create(cause, "Getting synced entity data");
CrashReportSection section = report.addElement("Synced entity data");
section.add("Data ID", data);
return new CrashException(report);
}
Aggregations