Uses of Interface
net.minecraft.util.TypeFilter
Packages that use TypeFilter
Package
Description
Contains utility method classes, various enums, serialization helpers, and
miscellaneous classes.
-
Uses of TypeFilter in net.minecraft.command
Fields in net.minecraft.command declared as TypeFilterModifier and TypeFieldDescriptionprivate final TypeFilter<Entity,?> EntitySelector.entityFilterprivate static final TypeFilter<Entity,?> EntitySelector.PASSTHROUGH_FILTER -
Uses of TypeFilter in net.minecraft.entity
Classes in net.minecraft.entity that implement TypeFilter -
Uses of TypeFilter in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type TypeFilterModifier 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
Methods in net.minecraft.util that return TypeFilterModifier 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
Methods in net.minecraft.world with parameters of type TypeFilterModifier 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
Methods in net.minecraft.world.entity with parameters of type TypeFilterModifier 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 anactionon each entity of typeUwithin 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 anactionon each entity of typeUwithin 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)