Uses of Interface
net.minecraft.util.TypeFilter
Package
Description
-
Uses of TypeFilter in net.minecraft.command
Modifier and TypeFieldDescriptionprivate 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 TypeMethodDescriptionServerWorld.getEntitiesByType
(TypeFilter<Entity, T> typeFilter, 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 TypeMethodDescriptionChunkRegion.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, Consumer<U> action) <U extends T>
voidEntityLookup.forEach
(TypeFilter<T, U> filter, Consumer<U> action) Performs anaction
on each entity of typeU
within this lookup.<U extends T>
voidEntityTrackingSection.forEach
(TypeFilter<T, U> type, Predicate<? super U> filter, Consumer<? super U> action) <U extends T>
voidSimpleEntityLookup.forEach
(TypeFilter<T, U> filter, Consumer<U> action) Performs anaction
on each entity of typeU
within this lookup.<U extends T>
voidEntityLookup.forEachIntersects
(TypeFilter<T, U> filter, Box box, Consumer<U> action) <U extends T>
voidSectionedEntityCache.forEachIntersects
(TypeFilter<T, U> filter, Box box, Consumer<U> action) <U extends T>
voidSimpleEntityLookup.forEachIntersects
(TypeFilter<T, U> filter, Box box, Consumer<U> action)