net.minecraft.core

public class IdMapper<T>

implements IdMap<T>

hj
net.minecraft.core.IdMapper
net.minecraft.class_2361
net.minecraft.util.collection.IdList
net.minecraft.src.C_4699_
net.minecraft.core.RegistryBlockID

Field summary

Modifier and TypeField
private int
b
nextId
field_11099
nextId
f_122653_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<T>
c
tToId
field_11100
idMap
f_122654_
private final List<T>
d
idToT
field_11098
list
f_122655_

Constructor summary

ModifierConstructor
public ()
public (int initialSize)

Method summary

Modifier and TypeMethod
public void
a(T arg0, int arg1)
addMapping(T arg0, int arg1)
method_10203(T arg0, int arg1)
set(T value, int id)
m_122664_(T p_122666_, int arg1)
public void
b(T arg0)
add(T arg0)
method_10205(T arg0)
add(T value)
m_122667_(T arg0)
public int
a(T arg0)
getId(T arg0)
method_10206(T arg0)
getRawId(T arg0)
m_7447_(T arg0)
public final T
a(int arg0)
byId(int arg0)
method_10200(int arg0)
get(int arg0)
m_7942_(int arg0)
public Iterator<T>
iterator()
iterator()
iterator()
public boolean
c(int arg0)
contains(int arg0)
method_35841(int arg0)
containsKey(int index)
m_175380_(int arg0)
public int
b()
size()
method_10204()
size()
m_13562_()