net.minecraft.core

public class IdMapper<T>

implements IdMap<T>

jx
net.minecraft.core.IdMapper
net.minecraft.class_2361
net.minecraft.util.collection.IdList
net.minecraft.core.RegistryBlockID

Field summary

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

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)
public void
b(T arg0)
add(T arg0)
method_10205(T arg0)
add(T value)
public int
a(T arg0)
getId(T arg0)
method_10206(T arg0)
getRawId(T arg0)
public final T
a(int arg0)
byId(int arg0)
method_10200(int arg0)
get(int arg0)
public Iterator<T>
iterator()
iterator()
public boolean
c(int arg0)
contains(int arg0)
method_35841(int arg0)
containsKey(int index)
public int
d()
size()
method_10204()
size()