Class OwnerHurtByTargetGoal


public class OwnerHurtByTargetGoal extends TargetGoal
  • Field Details

    • tameAnimal

      private final TameableEntity tameAnimal
    • ownerLastHurtBy

      private LivingEntity ownerLastHurtBy
    • timestamp

      private int timestamp
  • Constructor Details

    • OwnerHurtByTargetGoal

      public OwnerHurtByTargetGoal(TameableEntity p_i1667_1_)
  • Method Details

    • canUse

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

      public void start()
      Overrides:
      start in class TargetGoal