public class RegistryNamespacedDefaultedByKey<V> extends RegistryNamespaced<V>
LOGGER, registryObjects, underlyingIntegerMap, valuesfield_212616_e, field_212617_f, field_212618_g, field_212619_h, field_212620_i, field_212621_j, field_212622_k, field_212623_l, field_212624_m, field_212625_n, field_212626_o, field_212627_p, field_212628_q, field_212629_r, field_212630_s, field_212631_t, field_212632_u, field_212633_v, field_212634_w| Constructor and Description |
|---|
RegistryNamespacedDefaultedByKey(ResourceLocation p_i49828_1_) |
| Modifier and Type | Method and Description |
|---|---|
ResourceLocation |
func_212609_b() |
V |
get(int id) |
V |
get(ResourceLocation name) |
int |
getId(V value) |
ResourceLocation |
getKey(V value) |
V |
getRandom(java.util.Random random) |
void |
register(int id,
ResourceLocation key,
V value) |
func_212607_c, func_212608_b, getKeys, isEmpty, iterator, putclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_212610_a, func_212613_e, streampublic RegistryNamespacedDefaultedByKey(ResourceLocation p_i49828_1_)
public void register(int id,
ResourceLocation key,
V value)
public int getId(@Nullable
V value)
public ResourceLocation getKey(V value)
public V get(@Nullable ResourceLocation name)
@Nonnull public V get(int id)
@Nonnull public V getRandom(java.util.Random random)
public ResourceLocation func_212609_b()
func_212609_b in interface IRegistry<V>func_212609_b in class RegistryNamespaced<V>