ADVANCEMENT, ART, BIOME, BOSS_BARS, ENCHANTMENT, ENTITY_TYPE, LOOT_TABLES, MATERIAL, MEMORY_MODULE_TYPE, STATISTIC, VILLAGER_PROFESSION, VILLAGER_TYPE
Modifier | Constructor | Description |
---|---|---|
protected |
SimpleRegistry(Class<T> type) |
|
protected |
SimpleRegistry(Class<T> type,
Predicate<T> predicate) |
Modifier and Type | Method | Description |
---|---|---|
T |
get(NamespacedKey key) |
Get the object by its key.
|
Iterator<T> |
iterator() |
forEach, spliterator
@Nullable public T get(@NotNull NamespacedKey key)
Registry
Copyright © 2020. All rights reserved.