public class GeneratorRegistry extends Object implements org.cloudburstmc.api.registry.Registry
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static GeneratorRegistry |
get() |
org.cloudburstmc.api.util.Identifier |
getFallback() |
GeneratorFactory |
getGeneratorFactory(org.cloudburstmc.api.util.Identifier identifier) |
boolean |
isRegistered(org.cloudburstmc.api.util.Identifier identifier) |
void |
register(org.cloudburstmc.api.util.Identifier identifier,
GeneratorFactory factory,
int fallbackWeight) |
public static GeneratorRegistry get()
public void register(org.cloudburstmc.api.util.Identifier identifier,
GeneratorFactory factory,
int fallbackWeight)
throws org.cloudburstmc.api.registry.RegistryException
org.cloudburstmc.api.registry.RegistryExceptionpublic GeneratorFactory getGeneratorFactory(org.cloudburstmc.api.util.Identifier identifier)
public org.cloudburstmc.api.util.Identifier getFallback()
public boolean isRegistered(org.cloudburstmc.api.util.Identifier identifier)
public void close()
close in interface org.cloudburstmc.api.registry.RegistryCopyright © 2021. All rights reserved.