net.minecraft.util.registry

public class DefaultedIdRegistry<K, V>

extends IdRegistry<K, V>

All mapped superinterfaces:

Registry, IdObjectIterable

cq
net.minecraft.class_1940
net.minecraft.util.registry.DefaultedIdRegistry
net.minecraft.util.registry.RegistryNamespacedDefaultedByKey

Field summary

Modifier and TypeField
private final K
d
field_11453
defaultKey
defaultValueKey
private V
e
field_8396
defaultValue
defaultValue

Constructor summary

ModifierConstructor
public (K defaultKey)

Method summary

Modifier and TypeMethod
public void
a(int arg0, K arg1, V arg2)
method_10554(int arg0, K arg1, V arg2)
register(int arg0, K arg1, V arg2)
register(int arg0, K arg1, V arg2)
public void
a()
method_12577()
validate()
validateKey()
public int
a(V arg0)
method_12580(V arg0)
getId(V arg0)
getIDForObject(V arg0)
public K
b(V arg0)
method_10555(V arg0)
getKey(V arg0)
getNameForObject(V arg0)
public V
c(K arg0)
m_65457132(K arg0)
get(K arg0)
getObject(K arg0)
public V
a(int arg0)
method_7326(int arg0)
get(int arg0)
getObjectById(int arg0)
public V
a(Random arg0)
method_12584(Random arg0)
getRandom(Random arg0)
getRandomObject(Random arg0)