Class OwnerHurtTargetGoal


public class OwnerHurtTargetGoal extends TargetGoal
  • Field Details

    • tameAnimal

      private final TameableEntity tameAnimal
    • ownerLastHurt

      private LivingEntity ownerLastHurt
    • timestamp

      private int timestamp
  • Constructor Details

    • OwnerHurtTargetGoal

      public OwnerHurtTargetGoal(TameableEntity p_i1668_1_)
  • Method Details

    • canUse

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

      public void start()
      Overrides:
      start in class TargetGoal