Hey Guys,
i'm new to Minecraft Forge Developing and work on my first project.
I already created my first custom biome and now i want to create my own world type(?).
I want to choose my custom world type when creating a new world instead of the default or amplified (...) types.
I already created my world type, but it doesn't appear at the world creation. I think I have register it, but I don't know how.
Do you have any hints for me? Or are there any Tutorials that I didn't found?
public class ApocalypseWorldType extends WorldType {
public static final WorldType APOCALYPSE = (new ApocalypseWorldType());
public ApocalypseWorldType()
{
super("Apocalypse");
}
@Override
public BiomeProvider getBiomeProvider(World world){
return new ApocalypseBiomeProvider(world.getWorldInfo());
}
@Override
public IChunkGenerator getChunkGenerator(World world, String generatorOptions){
return new ApocalypseChunkProvider(world, world.getWorldInfo().isMapFeaturesEnabled(), world.getSeed());
}
[...]
}