Class FoxEntity.DefendFriendGoal

Enclosing class:
FoxEntity

private class FoxEntity.DefendFriendGoal extends ActiveTargetGoal<LivingEntity>
Mappings:
Namespace Name
named net/minecraft/entity/passive/FoxEntity$DefendFriendGoal
intermediary net/minecraft/class_4019$class_4020
official cfr$a
  • Field Details

    • offender

      @Nullable private @Nullable LivingEntity offender
      Mappings:
      Namespace Name Mixin selector
      named offender Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;offender:Lnet/minecraft/entity/LivingEntity;
      intermediary field_17966 Lnet/minecraft/class_4019$class_4020;field_17966:Lnet/minecraft/class_1309;
      official j Lcfr$a;j:Lbtr;
    • friend

      Mappings:
      Namespace Name Mixin selector
      named friend Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;friend:Lnet/minecraft/entity/LivingEntity;
      intermediary field_17967 Lnet/minecraft/class_4019$class_4020;field_17967:Lnet/minecraft/class_1309;
      official k Lcfr$a;k:Lbtr;
    • lastAttackedTime

      private int lastAttackedTime
      Mappings:
      Namespace Name Mixin selector
      named lastAttackedTime Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;lastAttackedTime:I
      intermediary field_17968 Lnet/minecraft/class_4019$class_4020;field_17968:I
      official l Lcfr$a;l:I
  • Constructor Details

    • DefendFriendGoal

      public DefendFriendGoal(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, @Nullable @Nullable Predicate<LivingEntity> targetPredicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;Ljava/lang/Class;ZZLjava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_4019$class_4020;<init>(Lnet/minecraft/class_4019;Ljava/lang/Class;ZZLjava/util/function/Predicate;)V
      official <init> Lcfr$a;<init>(Lcfr;Ljava/lang/Class;ZZLjava/util/function/Predicate;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class ActiveTargetGoal<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official a Lcap;a()Z
    • start

      public void start()
      Overrides:
      start in class ActiveTargetGoal<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official c Lcap;c()V