net.minecraft.core

public class IdMapper<T>

implements IdMap<T>

gh
net.minecraft.core.IdMapper
net.minecraft.class_2361
net.minecraft.util.collection.IdList
net.minecraft.util.ObjectIntIdentityMap
net.minecraft.server.v1_16_R3.RegistryBlockID

Field summary

Modifier and TypeField
private int
a
nextId
field_11099
nextId
field_195868_a
private final IdentityHashMap<T, Integer>
b
tToId
field_11100
idMap
field_148749_a
private final List<T>
c
idToT
field_11098
list
field_148748_b

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)
func_148746_a(T arg0, int arg1)
public void
b(T arg0)
add(T arg0)
method_10205(T arg0)
add(T value)
func_195867_b(T arg0)
public int
a(T arg0)
getId(T arg0)
method_10206(T arg0)
getRawId(T arg0)
func_148757_b(T arg0)
getId(T arg0)
public final 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()
iterator()
public int
a()
size()
method_10204()
size()
func_186804_a()