net.minecraft.core

public class MappedRegistry<T>

extends WritableRegistry<T>

All mapped superinterfaces:

IdMap

fx
net.minecraft.core.MappedRegistry
net.minecraft.class_2370
net.minecraft.util.registry.SimpleRegistry
net.minecraft.util.registry.SimpleRegistry
net.minecraft.server.v1_15_R1.RegistryMaterials

Field summary

Modifier and TypeField
protected static final org.apache.logging.log4j.Logger
a
LOGGER
field_11111
LOGGER
field_148743_a
protected final CrudeIncrementalIntIdentityHashBiMap<T>
b
map
field_11110
indexedEntries
field_148759_a
protected final com.google.common.collect.BiMap<ResourceLocation, T>
c
storage
field_11107
entries
field_82596_a
protected Object[]
d
randomCache
field_11108
randomEntries
field_186802_b
private int
V
nextId
field_11109
nextId
field_195869_d

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)
func_218382_a(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)
func_218381_a(ResourceLocation arg0, V arg1)
public ResourceLocation
b(T arg0)
getKey(T arg0)
method_10221(T arg0)
getId(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)
func_148757_b(T arg0)
public T
a(int arg0)
byId(int arg0)
method_10200(int arg0)
get(int arg0)
func_148745_a(int arg0)
fromId(int arg0)
public Iterator<T>
iterator()
iterator()
iterator()
iterator()
public T
a(sm arg0)
get(ResourceLocation arg0)
method_10223(class_2960 arg0)
get(Identifier arg0)
func_82594_a(ResourceLocation arg0)
get(MinecraftKey arg0)
public Optional<T>
b(sm arg0)
getOptional(ResourceLocation arg0)
method_17966(class_2960 arg0)
getOrEmpty(Identifier arg0)
func_218349_b(ResourceLocation arg0)
getOptional(MinecraftKey arg0)
public Set<ResourceLocation>
b()
keySet()
method_10235()
getIds()
func_148742_b()
keySet()
public boolean
c()
isEmpty()
method_10274()
isEmpty()
func_195866_d()
public T
a(Random arg0)
getRandom(Random arg0)
method_10240(Random arg0)
getRandom(Random arg0)
func_186801_a(Random arg0)
public boolean
c(sm arg0)
containsKey(ResourceLocation arg0)
method_10250(class_2960 arg0)
containsId(Identifier arg0)
func_212607_c(ResourceLocation arg0)