Class OwnerHurtByTargetGoal


public class OwnerHurtByTargetGoal extends TargetGoal
  • Field Details

    • tameAnimal

      private final TamableAnimal tameAnimal
    • ownerLastHurtBy

      private LivingEntity ownerLastHurtBy
    • timestamp

      private int timestamp
  • Constructor Details

    • OwnerHurtByTargetGoal

      public OwnerHurtByTargetGoal(TamableAnimal p_26107_)
  • Method Details

    • canUse

      public boolean canUse()
      Specified by:
      canUse in class Goal
    • start

      public void start()
      Overrides:
      start in class TargetGoal