crwdns131903:0crwdne131903:0

crwdns131905:0:doc:crwdne131905:0

crwdns131907:0:javadoc:crwdne131907:0

crwdns131909:0crwdne131909:0

crwdns131911:0crwdne131911:0

import org.spongepowered.api.world.storage.WorldProperties;

private class MyModifier implements WorldGeneratorModifier {

    @Override
    public String getId() {
        return "pluginid:mymodifier";
    }

    @Override
    public String getName() {
        return "My Modifier";
    }

    @Override
    public void modifyWorldGenerator(WorldProperties world, DataContainer settings, WorldGenerator worldGenerator) {

    }

}

crwdns131913:0:javadoc:crwdnd131913:0:javadoc:crwdne131913:0

crwdns131915:0crwdne131915:0

crwdns131917:0:javadoc:crwdnd131917:0:javadoc:crwdne131917:0

crwdns131919:0crwdne131919:0

crwdns131921:0:javadoc:crwdne131921:0

@Listener
public void onGameInitialization(GameInitializationEvent event) {
    Sponge.getRegistry().register(WorldGeneratorModifier.class , new MyModifier());
}

crwdns131923:0[dimension]crwdnd131923:0[worldName]crwdne131923:0

# WorldGenerationModifiers to apply to the world
world-generation-modifiers=[
"sponge:skylands"
]

crwdns131925:0crwdne131925:0

crwdns131927:0crwdne131927:0