net.minecraft.util.registry

public class SimpleRegistry<T>

extends MutableRegistry<T>

All mapped superinterfaces:

IndexedIterable

fx
net.minecraft.core.MappedRegistry
net.minecraft.class_2370
net.minecraft.util.registry.SimpleRegistry
net.minecraft.unmapped.C_secmvxxe
net.minecraft.util.registry.SimpleRegistry
net.minecraft.util.registry.SimpleRegistry

Field summary

Modifier and TypeField
protected static final org.apache.logging.log4j.Logger
a
LOGGER
field_11111
LOGGER
f_wddqhgft
field_148743_a
LOGGER0
protected final Int2ObjectBiMap<T>
b
map
field_11110
indexedEntries
f_llijtyvn
field_148759_a
underlyingIntegerMap
protected final com.google.common.collect.BiMap<Identifier, T>
c
storage
field_11107
entries
f_jfiktwye
field_82596_a
registryObjects
protected Object[]
d
randomCache
field_11108
randomEntries
f_ahrzywoz
field_186802_b
values
private int
V
nextId
field_11109
nextId
f_rbivtjbc
field_195869_d
nextFreeId

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public <V extends T> V
a(int arg0, sm arg1, V arg2)
registerMapping(int arg0, ResourceLocation arg1, V arg2)
method_10273(int arg0, class_2960 arg1, V arg2)
set(int arg0, Identifier arg1, V arg2)
m_klxbakqc(int arg0, C_ncpywfca arg1, V arg2)
func_218382_a(int arg0, ResourceLocation arg1, V arg2)
register(int arg0, ResourceLocation arg1, V arg2)
public <V extends T> V
a(sm arg0, V arg1)
register(ResourceLocation arg0, V arg1)
method_10272(class_2960 arg0, V arg1)
add(Identifier arg0, V arg1)
m_yomgwjob(C_ncpywfca arg0, V arg1)
func_218381_a(ResourceLocation arg0, V arg1)
register(ResourceLocation arg0, V arg1)
public Identifier
b(T arg0)
getKey(T arg0)
method_10221(T arg0)
getId(T arg0)
m_vqpjfuha(T arg0)
func_177774_c(T arg0)
getKey(T arg0)
public int
a(T arg0)
getId(T arg0)
method_10249(T arg0)
getRawId(T arg0)
m_yjcttayg(T arg0)
func_148757_b(T arg0)
getId(T arg0)
public T
a(int arg0)
byId(int arg0)
method_10200(int arg0)
get(int arg0)
m_jmjsmdoh(int arg0)
func_148745_a(int arg0)
getByValue(int arg0)
public Iterator<T>
iterator()
iterator()
iterator()
iterator()
iterator()
public T
a(sm arg0)
get(ResourceLocation arg0)
method_10223(class_2960 arg0)
get(Identifier arg0)
m_bhutarvs(C_ncpywfca arg0)
func_82594_a(ResourceLocation arg0)
getOrDefault(ResourceLocation arg0)
public Optional<T>
b(sm arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier arg0)
m_ccjpcnxk(C_ncpywfca arg0)
func_218349_b(ResourceLocation arg0)
getValue(ResourceLocation arg0)
public Set<Identifier>
b()
keySet()
method_10235()
getIds()
m_tuivosjn()
func_148742_b()
keySet()
public boolean
c()
isEmpty()
method_10274()
isEmpty()
m_uapzeinx()
func_195866_d()
isEmpty()
public T
a(Random arg0)
getRandom(Random arg0)
method_10240(Random arg0)
getRandom(Random arg0)
m_uxrzxmkr(Random arg0)
func_186801_a(Random arg0)
getRandom(Random arg0)
public boolean
c(sm arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier arg0)
m_ivlrigsg(C_ncpywfca arg0)
func_212607_c(ResourceLocation arg0)
containsKey(ResourceLocation arg0)