loadTemplateWorld

fun loadTemplateWorld(templateWorldName: String, action: Consumer<World?> = Consumer {})

Loads a new instance world by the given templateWorldName. This function will copy all world files from the templateWorldName to a new world that can be used for a new VitalMinigameInstance, e.g. "VitalMinigameInstance.id_templateWorldName", and will then immediately return. An action function can be provided to perform an action on the newly loaded world.