Examples of unloadChunkForce()


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

    for (ChunkCoordIntPair chunkCoordIntPair : worldServer.getPersistentChunks().keySet()) {
      chunksToUnload.remove(ChunkCoordIntPair.chunkXZ2Int(chunkCoordIntPair.chunkXPos, chunkCoordIntPair.chunkZPos));
    }

    for (long chunk : chunksToUnload) {
      chunkProvider.unloadChunkForce(chunk);
    }

    profiler.endSection();
  }
}
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.