Class BegGoal

java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.BegGoal

public class BegGoal extends Goal
  • Field Details

    • wolf

      private final WolfEntity wolf
    • player

      private PlayerEntity player
    • level

      private final World level
    • lookDistance

      private final float lookDistance
    • lookTime

      private int lookTime
    • begTargeting

      private final EntityPredicate begTargeting
  • Constructor Details

    • BegGoal

      public BegGoal(WolfEntity p_i1617_1_, float p_i1617_2_)
  • Method Details

    • canUse

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

      public boolean canContinueToUse()
      Overrides:
      canContinueToUse in class Goal
    • start

      public void start()
      Overrides:
      start in class Goal
    • stop

      public void stop()
      Overrides:
      stop in class Goal
    • tick

      public void tick()
      Overrides:
      tick in class Goal
    • playerHoldingInteresting

      private boolean playerHoldingInteresting(PlayerEntity p_75382_1_)