net.minecraft.world.level.entity

public class EntityLookup<T extends EntityAccess>

dxi
net.minecraft.world.level.entity.EntityLookup
net.minecraft.class_5570
net.minecraft.world.entity.EntityIndex
net.minecraft.src.C_141282_
net.minecraft.world.level.entity.EntityLookup

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_27244
LOGGER
f_156806_
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<T>
b
byId
field_27245
idToEntity
f_156807_
private final Map<UUID, T>
c
byUuid
field_27246
uuidToEntity
f_156808_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public <U extends T> void
a(dxn<T, U> arg0, axa<U> arg1)
getEntities(EntityTypeTest<T, U> arg0, AbortableIterationConsumer<U> arg1)
method_31754(class_5575<T, U> arg0, class_7927<U> arg1)
forEach(TypeFilter<T, U> filter, LazyIterationConsumer<U> consumer)
m_260822_(C_141287_<T, U> p_261925_, C_260372_<U> arg1)
public Iterable<T>
a()
getAllEntities()
method_31751()
iterate()
m_156811_()
public void
a(T arg0)
add(T arg0)
method_31753(T arg0)
add(T entity)
m_156814_(T arg0)
public void
b(T arg0)
remove(T arg0)
method_31757(T arg0)
remove(T entity)
m_156822_(T arg0)
public T
a(int arg0)
getEntity(int arg0)
method_31752(int arg0)
get(int id)
m_156812_(int arg0)
public T
a(UUID arg0)
getEntity(UUID arg0)
method_31755(UUID arg0)
get(UUID uuid)
m_156819_(UUID arg0)
public int
b()
count()
method_31756()
size()
m_156821_()