Package org.terasology.world.chunks.event

Examples of org.terasology.world.chunks.event.BeforeChunkUnload


                                break;
                            }
                        }
                        continue;
                    }
                    worldEntity.send(new BeforeChunkUnload(pos));
                    for (ChunkRelevanceRegion region : regions.values()) {
                        region.chunkUnloaded(pos);
                    }
                    storageManager.deactivateChunk(chunk);
                    chunk.dispose();
View Full Code Here


        unloadRequestTaskMaster.shutdown(new ChunkUnloadRequest(), true);
        lightMerger.shutdown();

        for (Chunk chunk : nearCache.values()) {
            if (chunk.isReady()) {
                worldEntity.send(new BeforeChunkUnload(chunk.getPosition()));
                storageManager.deactivateChunk(chunk);
                chunk.dispose();
            }
        }
        nearCache.clear();
View Full Code Here

TOP

Related Classes of org.terasology.world.chunks.event.BeforeChunkUnload

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.