Package net.minecraft.world.biome

Examples of net.minecraft.world.biome.WorldChunkManager


        WorldSettings config = new WorldSettings(worldDirectory, worldTC, false);
        this.worldTC.Init(world, config);

        Class<? extends BiomeGenerator> biomeGenClass = worldTC.getConfigs().getWorldConfig().biomeMode;
        BiomeGenerator biomeManager = TerrainControl.getBiomeModeManager().createCached(biomeGenClass, worldTC);
        WorldChunkManager chunkManager = createWorldChunkManager(worldTC, biomeManager);
        this.worldTC.setBiomeManager(biomeManager);

        return chunkManager;
    }
View Full Code Here


     */
    private WorldChunkManager createWorldChunkManager(ForgeWorld world, BiomeGenerator biomeGenerator)
    {
        if (biomeGenerator instanceof ForgeVanillaBiomeGenerator)
        {
            WorldChunkManager worldChunkManager = super.getChunkManager(world.getWorld());
            ((ForgeVanillaBiomeGenerator) biomeGenerator).setWorldChunkManager(worldChunkManager);
            return worldChunkManager;
        } else
        {
            return new TCWorldChunkManager(this.worldTC, biomeGenerator);
View Full Code Here

TOP

Related Classes of net.minecraft.world.biome.WorldChunkManager

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.