Package net.minecraft.world.level.entity
Class EntitySection<T extends EntityAccess>
java.lang.Object
net.minecraft.world.level.entity.EntitySection<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Visibility
private static final org.slf4j.Logger
private final ClassInstanceMultiMap
<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
<U extends T>
AbortableIterationConsumer.ContinuationgetEntities
(EntityTypeTest<T, U> test, AABB bounds, AbortableIterationConsumer<? super U> consumer) getEntities
(AABB bounds, AbortableIterationConsumer<T> consumer) boolean
isEmpty()
boolean
int
size()
updateChunkStatus
(Visibility chunkStatus)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
storage
-
chunkStatus
-
-
Constructor Details
-
EntitySection
-
-
Method Details
-
add
-
remove
-
getEntities
public AbortableIterationConsumer.Continuation getEntities(AABB bounds, AbortableIterationConsumer<T> consumer) -
getEntities
public <U extends T> AbortableIterationConsumer.Continuation getEntities(EntityTypeTest<T, U> test, AABB bounds, AbortableIterationConsumer<? super U> consumer) -
isEmpty
public boolean isEmpty() -
getEntities
-
getStatus
-
updateChunkStatus
-
size
public int size()
-