类 StrollThroughVillageGoal

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

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

    • DISTANCE_THRESHOLD

      private static final int DISTANCE_THRESHOLD
      另请参阅:
    • mob

      private final PathfinderMob mob
    • interval

      private final int interval
    • wantedPos

      @Nullable private BlockPos wantedPos
  • 构造器详细资料

    • StrollThroughVillageGoal

      public StrollThroughVillageGoal(PathfinderMob p_25907_, int p_25908_)
  • 方法详细资料

    • canUse

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

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

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

      private void moveRandomly()