类 FollowMobGoal

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

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

    • mob

      private final Mob mob
    • followPredicate

      private final Predicate<Mob> followPredicate
    • followingMob

      @Nullable private Mob followingMob
    • speedModifier

      private final double speedModifier
    • timeToRecalcPath

      private int timeToRecalcPath
    • stopDistance

      private final float stopDistance
    • oldWaterCost

      private float oldWaterCost
    • areaSize

      private final float areaSize
  • 构造器详细资料

    • FollowMobGoal

      public FollowMobGoal(Mob p_25271_, double p_25272_, float p_25273_, float p_25274_)
  • 方法详细资料

    • 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