net.minecraft.util.registry

public class IdRegistry<V>

implements Registry<V>

ey
net.minecraft.class_1943
net.minecraft.util.registry.IdRegistry
net.minecraft.util.registry.RegistryNamespaced
net.minecraft.util.registry.RegistryNamespaced

Field summary

Modifier and TypeField
protected static final org.apache.logging.log4j.Logger
a
field_21312
LOGGER
field_148743_a
LOGGER0
protected final CrudeIncrementalIntIdentityHashMap<V>
b
field_13718
ids
field_148759_a
underlyingIntegerMap
protected final com.google.common.collect.BiMap<Identifier, V>
c
field_21313
values
field_82596_a
registryObjects
protected Object[]
d
field_21314
cache
field_186802_b
values
private int
x
field_21315
nextId
field_195869_d
nextFreeId

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public void
a(int arg0, pc arg1, V arg2)
method_19953(int arg0, class_1653 arg1, V arg2)
register(int arg0, Identifier arg1, V arg2)
func_177775_a(int arg0, ResourceLocation arg1, V arg2)
register(int arg0, ResourceLocation arg1, V arg2)
public void
a(pc arg0, V arg1)
method_19957(class_1653 arg0, V arg1)
register(Identifier arg0, V arg1)
func_82595_a(ResourceLocation arg0, V arg1)
put(ResourceLocation arg0, V arg1)
public Identifier
b(V arg0)
method_19959(V arg0)
getKey(V arg0)
func_177774_c(V arg0)
getKey(V arg0)
public V
a(pc arg0)
method_19956(class_1653 arg0)
getOrDefault(Identifier arg0)
func_82594_a(ResourceLocation arg0)
getOrDefault(ResourceLocation arg0)
public Identifier
b()
method_19958()
getDefaultKey()
func_212609_b()
getDefaultKey()
public int
a(V arg0)
method_12580(V arg0)
getId(V arg0)
func_148757_b(V arg0)
getId(V arg0)
public V
a(int arg0)
method_7326(int arg0)
get(int arg0)
func_148754_a(int arg0)
get(int arg0)
public Iterator<V>
iterator()
iterator()
iterator()
iterator()
public V
b(pc arg0)
method_19960(class_1653 arg0)
get(Identifier arg0)
func_212608_b(ResourceLocation arg0)
get(ResourceLocation arg0)
public Set<Identifier>
c()
method_12583()
keySet()
func_148742_b()
keySet()
public boolean
d()
method_19962()
isEmpty()
func_195866_d()
isEmpty()
public V
a(Random arg0)
method_12584(Random arg0)
pick(Random arg0)
func_186801_a(Random arg0)
getRandom(Random arg0)
public boolean
c(pc arg0)
method_19961(class_1653 arg0)
containsKey(Identifier arg0)
func_212607_c(ResourceLocation arg0)
containsKey(ResourceLocation arg0)