Interface TargetPredicate.EntityPredicate

All Known Implementing Classes:
FoxEntity.WorriableEntityFilter, GuardianEntity.GuardianTargetPredicate
Enclosing class:
TargetPredicate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TargetPredicate.EntityPredicate
Mappings:
Namespace Name
named net/minecraft/entity/ai/TargetPredicate$EntityPredicate
intermediary net/minecraft/class_4051$class_10254
official cgw$a
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(LivingEntity target, ServerWorld world)
     
  • Method Details

    • test

      boolean test(LivingEntity target, ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;test(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_18303 Lnet/minecraft/class_4051$class_10254;method_18303(Lnet/minecraft/class_1309;Lnet/minecraft/class_3218;)Z
      official test Lcgw$a;test(Lbwf;Lash;)Z