Class BegGoal

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

public class BegGoal extends Goal
  • Field Details

    • wolf

      private final Wolf wolf
    • player

      private Player player
    • level

      private final Level level
    • lookDistance

      private final float lookDistance
    • lookTime

      private int lookTime
    • begTargeting

      private final TargetingConditions begTargeting
  • Constructor Details

    • BegGoal

      public BegGoal(Wolf p_25063_, float p_25064_)
  • 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(Player p_25067_)