Search in sources :

Example 1 with SpongeWorldTypeOverworld

use of org.spongepowered.common.world.type.SpongeWorldTypeOverworld in project SpongeCommon by SpongePowered.

the class GeneratorTypeRegistryModule method registerDefaults.

@Override
public void registerDefaults() {
    for (WorldType worldType : WorldType.WORLD_TYPES) {
        this.registerAdditionalCatalog((GeneratorType) worldType);
    }
    this.registerAdditionalCatalog((GeneratorType) new SpongeWorldTypeEnd());
    this.registerAdditionalCatalog((GeneratorType) new SpongeWorldTypeNether());
    this.registerAdditionalCatalog((GeneratorType) new SpongeWorldTypeOverworld());
}
Also used : WorldType(net.minecraft.world.WorldType) SpongeWorldTypeOverworld(org.spongepowered.common.world.type.SpongeWorldTypeOverworld) SpongeWorldTypeNether(org.spongepowered.common.world.type.SpongeWorldTypeNether) SpongeWorldTypeEnd(org.spongepowered.common.world.type.SpongeWorldTypeEnd)

Aggregations

WorldType (net.minecraft.world.WorldType)1 SpongeWorldTypeEnd (org.spongepowered.common.world.type.SpongeWorldTypeEnd)1 SpongeWorldTypeNether (org.spongepowered.common.world.type.SpongeWorldTypeNether)1 SpongeWorldTypeOverworld (org.spongepowered.common.world.type.SpongeWorldTypeOverworld)1