getWorldByKey

Gets a world by McServerWorld.key.

Return

The world or null.

Parameters

key

The world key, e.g. "minecraft:the_nether"