Examples of unloadQueuedChunks()


Examples of net.minecraft.world.gen.ChunkProviderServer.unloadQueuedChunks()

    // verify that chunks unloaded
    int lastloaded = 0;
    while (providerServer.getLoadedChunkCount() != lastloaded) {
      lastloaded = providerServer.getLoadedChunkCount();
      providerServer.unloadQueuedChunks();

      for (final Pair<Integer, Integer> coord : chunks.keySet()) {
        final Chunk chunk = chunks.get(coord);
        if (chunk != null) {
          if (chunk.isChunkLoaded) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.