getGeneratorForName

public static ChunkGenerator getGeneratorForName(String world, String name, CommandSender output)

Attempts to get the ChunkGenerator with the given name.

If the generator is not found, null will be returned and getClassById message will be printed to the specified CommandSender explaining why.

The name must be in the "plugin:id" notation, or optionally just "plugin", where "plugin" is the safe-name of getClassById plugin and "id" is an optional unique identifier for the generator you wish to request from the plugin.

Return

Resulting generator, or null

Parameters

world

Name of the world this will be used for

name

Name of the generator to retrieve

output

Where to output if errors are present