Package net.minecraft.server

Examples of net.minecraft.server.ReportedException


        CrashReport crashreport = CrashReport.a(throwable, "Exception generating new chunk");
        CrashReportSystemDetails crashreportsystemdetails = crashreport.a("Chunk to be generated");
        crashreportsystemdetails.a("Location", String.format("%d,%d", x, z));
        crashreportsystemdetails.a("Position hash", Long.valueOf(MathUtil.longHashToLong(x, z)));
        crashreportsystemdetails.a("Generator", this.chunkProvider.getName());
        throw new ReportedException(crashreport);
      }
      if (chunk != null) {
        time = System.nanoTime() - time;
        CommonPlugin.TIMINGS.onChunkGenerate(chunk, time);
      }
View Full Code Here


    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);
  }
View Full Code Here

TOP

Related Classes of net.minecraft.server.ReportedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.