ADVANCEMENT, ART, BIOME, BOSS_BARS, ENCHANTMENT, ENTITY_TYPE, LOOT_TABLES, MATERIAL, MEMORY_MODULE_TYPE, STATISTIC, VILLAGER_PROFESSION, VILLAGER_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
SimpleRegistry(Class<T> type) |
protected |
SimpleRegistry(Class<T> type,
Predicate<T> predicate) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(NamespacedKey key)
Get the object by its key.
|
Iterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliterator@Nullable public T get(@NotNull NamespacedKey key)
RegistryCopyright © 2022. All rights reserved.