Package net.minecraft.world.level.entity
Class EntityLookup<T extends EntityAccess>
java.lang.Object
net.minecraft.world.level.entity.EntityLookup<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
count()
<U extends T>
voidgetEntities
(EntityTypeTest<T, U> p_261575_, AbortableIterationConsumer<U> p_261925_) getEntity
(int p_156813_) void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
byId
-
byUuid
-
-
Constructor Details
-
EntityLookup
public EntityLookup()
-
-
Method Details
-
getEntities
public <U extends T> void getEntities(EntityTypeTest<T, U> p_261575_, AbortableIterationConsumer<U> p_261925_) -
getAllEntities
-
add
-
remove
-
getEntity
-
getEntity
-
count
public int count()
-