Uses of Interface
net.minecraft.util.TypeFilter
| Package | Description |
|---|---|
| net.minecraft.command | |
| net.minecraft.entity | |
| net.minecraft.server.world | |
| net.minecraft.util | |
| net.minecraft.world | |
| net.minecraft.world.entity |
-
Uses of TypeFilter in net.minecraft.command
Fields in net.minecraft.command declared as TypeFilter Modifier and Type Field Description private TypeFilter<Entity,?>EntitySelector. entityFilterprivate static TypeFilter<Entity,?>EntitySelector. PASSTHROUGH_FILTER -
Uses of TypeFilter in net.minecraft.entity
Classes in net.minecraft.entity that implement TypeFilter Modifier and Type Class Description classEntityType<T extends Entity> -
Uses of TypeFilter in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type TypeFilter Modifier and Type Method Description <T extends Entity>
List<? extends T>ServerWorld. 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
Methods in net.minecraft.util that return TypeFilter Modifier and Type Method Description static <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 TypeFilter Modifier and Type Method Description <T extends Entity>
List<T>ChunkRegion. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>EntityView. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>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 TypeFilter Modifier and Type Method Description <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 anactionon each entity of typeUwithin 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 anactionon each entity of typeUwithin 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)