public class MappedRegistry<K,V,C extends Map<K,V>> extends AbstractMappedRegistry<K,V,C>
| Modifier | Constructor and Description |
|---|---|
protected |
MappedRegistry(I input,
RegistryLoader<I,C> registryLoader) |
| Modifier and Type | Method and Description |
|---|---|
static <I,K,V,C extends Map<K,V>> |
create(I input,
RegistryLoader<I,C> registryLoader) |
static <I,K,V,C extends Map<K,V>> |
create(I input,
Supplier<RegistryLoader<I,C>> registryLoader) |
static <I,K,V,C extends Map<K,V>> |
create(RegistryLoader<I,C> registryLoader) |
static <I,K,V,C extends Map<K,V>> |
create(Supplier<RegistryLoader<I,C>> registryLoader) |
static <I,K,V,C extends Map<K,V>> |
createEmpty() |
get, getOrDefault, registerprotected MappedRegistry(I input,
RegistryLoader<I,C> registryLoader)
public static <I,K,V,C extends Map<K,V>> MappedRegistry<K,V,C> createEmpty()
public static <I,K,V,C extends Map<K,V>> MappedRegistry<K,V,C> create(RegistryLoader<I,C> registryLoader)
public static <I,K,V,C extends Map<K,V>> MappedRegistry<K,V,C> create(I input, RegistryLoader<I,C> registryLoader)
public static <I,K,V,C extends Map<K,V>> MappedRegistry<K,V,C> create(Supplier<RegistryLoader<I,C>> registryLoader)
public static <I,K,V,C extends Map<K,V>> MappedRegistry<K,V,C> create(I input, Supplier<RegistryLoader<I,C>> registryLoader)
Copyright © 2021 GeyserMC. All rights reserved.