use of org.lanternpowered.server.world.gen.flat.FlatOverworldGeneratorType in project LanternServer by LanternPowered.
the class GeneratorTypeRegistryModule method registerDefaults.
@Override
public void registerDefaults() {
final FlatOverworldGeneratorType flat = new FlatOverworldGeneratorType("minecraft", "flat");
final FlatNetherGeneratorType flatNether = new FlatNetherGeneratorType("lantern", "flat_nether");
final FlatTheEndGeneratorType flatTheEnd = new FlatTheEndGeneratorType("lantern", "flat_the_end");
// Default inbuilt generator types
register(flat);
register(flatNether);
register(flatTheEnd);
register(new DebugGeneratorType("minecraft", "debug"));
// Plugin provided generator types, these will fall back
// to flat if missing
register(new DelegateGeneratorType("minecraft", "default", flat));
register(new DelegateGeneratorType("minecraft", "overworld", flat));
register(new DelegateGeneratorType("minecraft", "large_biomes", flat));
register(new DelegateGeneratorType("minecraft", "amplified", flat));
register(new DelegateGeneratorType("minecraft", "nether", flatNether));
register(new DelegateGeneratorType("minecraft", "the_end", flatTheEnd));
// Sponge
register(new TheVoidGeneratorType("sponge", "void"));
}
Aggregations