Uses of Interface
net.minecraft.util.function.LazyIterationConsumer
-
Uses of LazyIterationConsumer in net.minecraft.util.function
Modifier and TypeMethodDescriptionstatic <T> LazyIterationConsumer
<T> LazyIterationConsumer.forConsumer
(Consumer<T> consumer) -
Uses of LazyIterationConsumer in net.minecraft.world.entity
Modifier and TypeMethodDescription<U extends T>
voidEntityIndex.forEach
(TypeFilter<T, U> filter, LazyIterationConsumer<U> consumer) <U extends T>
voidEntityLookup.forEach
(TypeFilter<T, U> filter, LazyIterationConsumer<U> consumer) Performs anaction
on each entity of typeU
within this lookup.EntityTrackingSection.forEach
(Box box, LazyIterationConsumer<T> consumer) <U extends T>
LazyIterationConsumer.NextIterationEntityTrackingSection.forEach
(TypeFilter<T, U> type, Box box, LazyIterationConsumer<? super U> consumer) <U extends T>
voidSimpleEntityLookup.forEach
(TypeFilter<T, U> filter, LazyIterationConsumer<U> consumer) Performs anaction
on each entity of typeU
within this lookup.void
SectionedEntityCache.forEachInBox
(Box box, LazyIterationConsumer<EntityTrackingSection<T>> consumer) Runs the given action on each collection of entities in the chunk sections within the given box.<U extends T>
voidEntityLookup.forEachIntersects
(TypeFilter<T, U> filter, Box box, LazyIterationConsumer<U> consumer) void
SectionedEntityCache.forEachIntersects
(Box box, LazyIterationConsumer<T> consumer) <U extends T>
voidSectionedEntityCache.forEachIntersects
(TypeFilter<T, U> filter, Box box, LazyIterationConsumer<U> consumer) <U extends T>
voidSimpleEntityLookup.forEachIntersects
(TypeFilter<T, U> filter, Box box, LazyIterationConsumer<U> consumer)