接口的使用
net.minecraft.util.TypeFilter
-
使用TypeFilter的程序包 程序包 说明 net.minecraft.command net.minecraft.entity net.minecraft.server.world net.minecraft.util net.minecraft.world net.minecraft.world.entity -
-
net.minecraft.command中TypeFilter的使用
声明为TypeFilter的net.minecraft.command中的字段 修饰符和类型 字段 说明 private TypeFilter<Entity,?>EntitySelector. entityFilterprivate static TypeFilter<Entity,?>EntitySelector. PASSTHROUGH_FILTER -
net.minecraft.entity中TypeFilter的使用
实现TypeFilter的net.minecraft.entity中的类 修饰符和类型 类 说明 classEntityType<T extends Entity> -
net.minecraft.server.world中TypeFilter的使用
参数类型为TypeFilter的net.minecraft.server.world中的方法 修饰符和类型 方法 说明 <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. -
net.minecraft.util中TypeFilter的使用
返回TypeFilter的net.minecraft.util中的方法 修饰符和类型 方法 说明 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. -
net.minecraft.world中TypeFilter的使用
参数类型为TypeFilter的net.minecraft.world中的方法 修饰符和类型 方法 说明 <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) -
net.minecraft.world.entity中TypeFilter的使用
参数类型为TypeFilter的net.minecraft.world.entity中的方法 修饰符和类型 方法 说明 <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)
-