Class GeneratorRegistry

java.lang.Object
org.cloudburstmc.server.registry.GeneratorRegistry
All Implemented Interfaces:
org.cloudburstmc.api.registry.Registry

public class GeneratorRegistry extends Object implements org.cloudburstmc.api.registry.Registry
  • Method Details

    • get

      public static GeneratorRegistry get()
    • register

      public void register(org.cloudburstmc.api.util.Identifier identifier, GeneratorFactory factory, int fallbackWeight) throws org.cloudburstmc.api.registry.RegistryException
      Throws:
      org.cloudburstmc.api.registry.RegistryException
    • getGeneratorFactory

      public GeneratorFactory getGeneratorFactory(org.cloudburstmc.api.util.Identifier identifier)
    • getFallback

      public org.cloudburstmc.api.util.Identifier getFallback()
    • isRegistered

      public boolean isRegistered(org.cloudburstmc.api.util.Identifier identifier)
    • close

      public void close()
      Specified by:
      close in interface org.cloudburstmc.api.registry.Registry