Uses of Interface
net.minecraft.util.TypeFilter
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of TypeFilter in net.minecraft.command
Modifier and TypeFieldDescriptionprivate final TypeFilter<Entity,
?> EntitySelector.entityFilter
private static final TypeFilter<Entity,
?> EntitySelector.PASSTHROUGH_FILTER
-
Uses of TypeFilter in net.minecraft.entity
-
Uses of TypeFilter in net.minecraft.server.world
Modifier and TypeMethodDescription<T extends Entity>
voidServerWorld.collectEntitiesByType
(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result) <T extends Entity>
voidServerWorld.collectEntitiesByType
(TypeFilter<Entity, T> filter, Predicate<? super T> predicate, List<? super T> result, int limit) Collects entities of the given type, up tolimit
.ServerWorld.getEntitiesByType
(TypeFilter<Entity, T> filter, Predicate<? super T> predicate) Computes a list of entities of the given type. -
Uses of TypeFilter in net.minecraft.util
Modifier and TypeMethodDescriptionstatic <B,
T extends B>
TypeFilter<B,T> TypeFilter.instanceOf
(Class<T> cls) Creates a filter whose filtering condition is whether the object is an instance of the given class. -
Uses of TypeFilter in net.minecraft.world
Modifier and TypeMethodDescription<T extends Entity>
voidWorld.collectEntitiesByType
(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate, List<? super T> result) <T extends Entity>
voidWorld.collectEntitiesByType
(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate, List<? super T> result, int limit) Collects entities of the given type inbox
, up tolimit
.ChunkRegion.getEntitiesByType
(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) EntityView.getEntitiesByType
(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) World.getEntitiesByType
(TypeFilter<Entity, T> filter, Box box, Predicate<? super T> predicate) -
Uses of TypeFilter 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.<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.<U extends T>
voidEntityLookup.forEachIntersects
(TypeFilter<T, U> filter, Box box, LazyIterationConsumer<U> 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)