类 FollowOwnerGoal

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

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

    • tamable

      private final TamableAnimal tamable
    • owner

      @Nullable private LivingEntity owner
    • speedModifier

      private final double speedModifier
    • timeToRecalcPath

      private int timeToRecalcPath
    • stopDistance

      private final float stopDistance
    • startDistance

      private final float startDistance
    • oldWaterCost

      private float oldWaterCost
  • 构造器详细资料

    • FollowOwnerGoal

      public FollowOwnerGoal(TamableAnimal p_25294_, double p_25295_, float p_25296_, float p_25297_)
  • 方法详细资料

    • 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