类 FollowParentGoal

java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FollowParentGoal
直接已知子类:
Fox.FoxFollowParentGoal

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

    • HORIZONTAL_SCAN_RANGE

      public static final int HORIZONTAL_SCAN_RANGE
      另请参阅:
    • VERTICAL_SCAN_RANGE

      public static final int VERTICAL_SCAN_RANGE
      另请参阅:
    • DONT_FOLLOW_IF_CLOSER_THAN

      public static final int DONT_FOLLOW_IF_CLOSER_THAN
      另请参阅:
    • animal

      private final Animal animal
    • parent

      @Nullable private Animal parent
    • speedModifier

      private final double speedModifier
    • timeToRecalcPath

      private int timeToRecalcPath
  • 构造器详细资料

    • FollowParentGoal

      public FollowParentGoal(Animal p_25319_, double p_25320_)
  • 方法详细资料

    • 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