net.minecraft.world.entity

public class SimpleEntityLookup<T extends EntityLike>

implements EntityLookup<T>

net.minecraft.world.level.entity.LevelEntityGetterAdapter
net.minecraft.class_5578
net.minecraft.world.entity.SimpleEntityLookup

Field summary

Modifier and TypeField
private final EntityIndex<T>
visibleEntities
field_27258
index
private final SectionedEntityCache<T>
sectionStorage
field_27259
cache

Constructor summary

ModifierConstructor
public (EntityIndex<T> index, SectionedEntityCache<T> cache)

Method summary

Modifier and TypeMethod
public T
get(int id)
method_31804(int arg0)
get(int arg0)
public T
get(UUID id)
method_31808(UUID arg0)
get(UUID arg0)
public Iterable<T>
getAll()
method_31803()
iterate()
public <U extends T> void
get(EntityTypeTest<T, U> type, AbortableIterationConsumer<U> consumer)
method_31806(class_5575<T, U> arg0, class_7927<U> arg1)
forEach(TypeFilter<T, U> arg0, LazyIterationConsumer<U> arg1)
public void
get(AABB bb, Consumer<T> output)
method_31807(class_238 arg0, Consumer<T> arg1)
forEachIntersects(Box arg0, Consumer<T> arg1)
public <U extends T> void
get(EntityTypeTest<T, U> type, AABB bb, AbortableIterationConsumer<U> consumer)
method_31805(class_5575<T, U> arg0, class_238 arg1, class_7927<U> arg2)
forEachIntersects(TypeFilter<T, U> arg0, Box arg1, LazyIterationConsumer<U> arg2)