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