Interface UpdateAttackTargetTask.TargetGetter<E>

Enclosing class:
UpdateAttackTargetTask
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 UpdateAttackTargetTask.TargetGetter<E>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/UpdateAttackTargetTask$TargetGetter
intermediary net/minecraft/class_4824$class_10251
official cak$b
  • Method Details

    • get

      Optional<? extends LivingEntity> get(ServerWorld world, E entity)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/entity/ai/brain/task/UpdateAttackTargetTask$TargetGetter;get(Lnet/minecraft/server/world/ServerWorld;Ljava/lang/Object;)Ljava/util/Optional;
      intermediary get Lnet/minecraft/class_4824$class_10251;get(Lnet/minecraft/class_3218;Ljava/lang/Object;)Ljava/util/Optional;
      official get Lcak$b;get(Lash;Ljava/lang/Object;)Ljava/util/Optional;