crwdns140827:0crwdne140827:0
Warning
crwdns140829:0crwdne140829:0
crwdns140831:0:doc:crwdne140831:0
crwdns140833:0:javadoc:crwdne140833:0
crwdns140835:0crwdne140835:0
crwdns140837:0crwdne140837: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) {
}
}
crwdns140839:0:javadoc:crwdnd140839:0:javadoc:crwdne140839:0
crwdns140841:0crwdne140841:0
crwdns140843:0:javadoc:crwdnd140843:0:javadoc:crwdne140843:0
crwdns140845:0crwdne140845:0
crwdns140847:0:javadoc:crwdnd140847:0:doc:crwdnd140847:0:javadoc:crwdne140847:0
@Listener
public void onWorldGeneratorModifierRegistration(GameRegistryEvent.Register<WorldGeneratorModifier> event) {
event.register(new MyModifier());
}
crwdns140849:0[dimension]crwdnd140849:0[worldName]crwdne140849:0
# WorldGenerationModifiers to apply to the world
world-generation-modifiers=[
"sponge:skylands"
]
crwdns140851:0crwdne140851:0
crwdns140853:0crwdne140853:0