Package org.terasology.world.chunks.pipeline

Examples of org.terasology.world.chunks.pipeline.ChunkGenerationPipeline


    private ChunkGenerationPipeline pipeline;

    private LightMerger<Chunk> lightMerger = new LightMerger<>(this);

    public RemoteChunkProvider() {
        pipeline = new ChunkGenerationPipeline(new ChunkTaskRelevanceComparator());
        ChunkMonitor.fireChunkProviderInitialized(this);
    }
View Full Code Here


    public LocalChunkProvider(StorageManager storageManager, EntityManager entityManager, WorldGenerator generator) {
        this.blockManager = CoreRegistry.get(BlockManager.class);
        this.storageManager = storageManager;
        this.entityManager = entityManager;
        this.generator = generator;
        this.pipeline = new ChunkGenerationPipeline(new ChunkTaskRelevanceComparator());
        this.unloadRequestTaskMaster = TaskMaster.createFIFOTaskMaster("Chunk-Unloader", 4);
        ChunkMonitor.fireChunkProviderInitialized(this);
    }
View Full Code Here

        sortedReadyChunks.clear();
        storageManager.deleteWorld();
        preparingChunks.clear();
        worldEntity.send(new PurgeWorldEvent());

        pipeline = new ChunkGenerationPipeline(new ChunkTaskRelevanceComparator());
        unloadRequestTaskMaster = TaskMaster.createFIFOTaskMaster("Chunk-Unloader", 8);
        lightMerger = new LightMerger<>(this);
        lightMerger.restart();
        ChunkMonitor.fireChunkProviderInitialized(this);
View Full Code Here

TOP

Related Classes of org.terasology.world.chunks.pipeline.ChunkGenerationPipeline

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.