crwdns151097:0crwdne151097:0

crwdns151099:0:doc:crwdne151099:0

crwdns151101:0:javadoc:crwdne151101:0

crwdns151103:0crwdne151103:0

crwdns151105:0crwdne151105:0

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

public 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) {

    }

}

crwdns151107:0:javadoc:crwdnd151107:0:javadoc:crwdne151107:0

crwdns151109:0crwdne151109:0

crwdns151111:0:javadoc:crwdnd151111:0:javadoc:crwdne151111:0

crwdns151113:0crwdne151113:0

crwdns151115:0:javadoc:crwdne151115:0

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

crwdns151117:0[dimension]crwdnd151117:0[worldName]crwdne151117:0

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

crwdns151119:0crwdne151119:0

crwdns151121:0crwdne151121:0