Class OwnerHurtTargetGoal


public class OwnerHurtTargetGoal extends TargetGoal
  • Field Details

    • tameAnimal

      private final TamableAnimal tameAnimal
    • ownerLastHurt

      private LivingEntity ownerLastHurt
    • timestamp

      private int timestamp
  • Constructor Details

    • OwnerHurtTargetGoal

      public OwnerHurtTargetGoal(TamableAnimal p_26114_)
  • Method Details

    • canUse

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

      public void start()
      Overrides:
      start in class TargetGoal