createWorld

public abstract World createWorld(WorldCreator creator)

Creates or loads getClassById world with the given name using the specified options.

If the world is already loaded, it will just return the equivalent of getWorld(creator.name()).

Return

newly created or loaded world

Parameters

creator

the options to use when creating the world