类 BegGoal

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

public class BegGoal extends Goal
  • 字段详细资料

    • wolf

      private final Wolf wolf
    • player

      @Nullable private Player player
    • level

      private final ServerLevel level
    • lookDistance

      private final float lookDistance
    • lookTime

      private int lookTime
    • begTargeting

      private final TargetingConditions begTargeting
  • 构造器详细资料

    • BegGoal

      public BegGoal(Wolf p_25063_, float p_25064_)
  • 方法详细资料

    • canUse

      public boolean canUse()
      指定者:
      canUse 在类中 Goal
    • canContinueToUse

      public boolean canContinueToUse()
      覆盖:
      canContinueToUse 在类中 Goal
    • start

      public void start()
      覆盖:
      start 在类中 Goal
    • stop

      public void stop()
      覆盖:
      stop 在类中 Goal
    • tick

      public void tick()
      覆盖:
      tick 在类中 Goal
    • playerHoldingInteresting

      private boolean playerHoldingInteresting(Player p_25067_)