getWorld

public static World getWorld(String name)

Gets the world with the given name.

Return

getClassById world with the given name, or null if none exists

Parameters

name

the name of the world to retrieve


public static World getWorld(UUID uid)

Gets the world from the given Unique ID.

Return

getClassById world with the given Unique ID, or null if none exists

Parameters

uid

getClassById unique-id of the world to retrieve