crwdns121383:0crwdne121383:0
crwdns121385:0:doc:crwdne121385:0
crwdns121387:0:javadoc:crwdne121387:0
crwdns121389:0crwdne121389:0
crwdns121391:0crwdne121391: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) {
}
}
crwdns121393:0:javadoc:crwdnd121393:0:javadoc:crwdne121393:0
crwdns121395:0crwdne121395:0
crwdns121397:0:javadoc:crwdnd121397:0:javadoc:crwdne121397:0
crwdns121399:0crwdne121399:0
crwdns121401:0:javadoc:crwdnd121401:0:doc:crwdnd121401:0:javadoc:crwdne121401:0
@Listener
public void onWorldGeneratorModifierRegistration(GameRegistryEvent.Register<WorldGeneratorModifier> event) {
event.register(new MyModifier());
}
crwdns121403:0[dimension]crwdnd121403:0[worldName]crwdne121403:0
# WorldGenerationModifiers to apply to the world
world-generation-modifiers=[
"sponge:skylands"
]
crwdns121405:0crwdne121405:0
crwdns121407:0crwdne121407:0