Class GeneratorUtil

  • public final class GeneratorUtil
    extends Object
    Generator utility methods
    • Method Summary

      Modifier and Type Method Description
      static @Nullable org.bukkit.generator.ChunkGenerator getGenerator​(@NotNull String world)
      Attempt to find the generator for a given world name
      static boolean isGeneratorAvailable​(@Nullable String generatorName)
      Check if there is an available generator with the given name
      static @Nullable matchGenerator​(@NotNull org.bukkit.generator.ChunkGenerator generator)
      Attempt to find the generator plugin from a chunk generator instance