Search in sources :

Example 1 with CustomSeedData

use of cavern.world.CustomSeedData in project Cavern2 by kegare.

the class WorldProviderCrownCliffs method init.

@Override
protected void init() {
    hasSkyLight = true;
    biomeProvider = new BiomeProvider(world.getWorldInfo());
    seedData = world instanceof WorldServer ? new CustomSeedData(world.getWorldInfo().getDimensionData(getDimension())) : new CustomSeedData();
}
Also used : BiomeProvider(net.minecraft.world.biome.BiomeProvider) CustomSeedData(cavern.world.CustomSeedData) WorldServer(net.minecraft.world.WorldServer)

Example 2 with CustomSeedData

use of cavern.world.CustomSeedData in project Cavern2 by kegare.

the class WorldProviderWideDesert method init.

@Override
protected void init() {
    hasSkyLight = true;
    biomeProvider = new BiomeProviderSingle(Biomes.DESERT);
    seedData = world instanceof WorldServer ? new CustomSeedData(world.getWorldInfo().getDimensionData(getDimension())) : new CustomSeedData();
}
Also used : CustomSeedData(cavern.world.CustomSeedData) WorldServer(net.minecraft.world.WorldServer) BiomeProviderSingle(net.minecraft.world.biome.BiomeProviderSingle)

Example 3 with CustomSeedData

use of cavern.world.CustomSeedData in project Cavern2 by kegare.

the class WorldProviderDarkForest method init.

@Override
protected void init() {
    hasSkyLight = true;
    biomeProvider = new BiomeProviderSingle(Biomes.ROOFED_FOREST);
    seedData = world instanceof WorldServer ? new CustomSeedData(world.getWorldInfo().getDimensionData(getDimension())) : new CustomSeedData();
}
Also used : CustomSeedData(cavern.world.CustomSeedData) WorldServer(net.minecraft.world.WorldServer) BiomeProviderSingle(net.minecraft.world.biome.BiomeProviderSingle)

Example 4 with CustomSeedData

use of cavern.world.CustomSeedData in project Cavern2 by kegare.

the class WorldProviderFrostMountains method init.

@Override
protected void init() {
    hasSkyLight = true;
    biomeProvider = new BiomeProviderSingle(Biomes.ICE_MOUNTAINS);
    seedData = world instanceof WorldServer ? new CustomSeedData(world.getWorldInfo().getDimensionData(getDimension())) : new CustomSeedData();
}
Also used : CustomSeedData(cavern.world.CustomSeedData) WorldServer(net.minecraft.world.WorldServer) BiomeProviderSingle(net.minecraft.world.biome.BiomeProviderSingle)

Aggregations

CustomSeedData (cavern.world.CustomSeedData)4 WorldServer (net.minecraft.world.WorldServer)4 BiomeProviderSingle (net.minecraft.world.biome.BiomeProviderSingle)3 BiomeProvider (net.minecraft.world.biome.BiomeProvider)1