* @param throwable that was thrown
* @param chunkX coordinate of the chunk
* @param chunkZ coordinate of the chunk
*/
public void handleGeneratorError(Throwable throwable, int chunkX, int chunkZ) {
CrashReport crashreport = CrashReport.a(throwable, "Exception generating new chunk");
CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Chunk to be generated");
crashreportsystemdetails.a("Location", String.format("%d,%d", chunkX, chunkZ));
crashreportsystemdetails.a("Position hash", Long.valueOf(MathUtil.longHashToLong(chunkX, chunkZ)));
crashreportsystemdetails.a("Generator", this.chunkProvider.getName());
throw new ReportedException(crashreport);
}