类 GroundPathNavigation

java.lang.Object
net.minecraft.world.entity.ai.navigation.PathNavigation
net.minecraft.world.entity.ai.navigation.GroundPathNavigation
直接已知子类:
Strider.StriderPathNavigation, WallClimberNavigation

public class GroundPathNavigation extends PathNavigation
  • 字段详细资料

    • avoidSun

      private boolean avoidSun
  • 构造器详细资料

    • GroundPathNavigation

      public GroundPathNavigation(Mob pMob, Level pLevel)
  • 方法详细资料

    • createPathFinder

      protected PathFinder createPathFinder(int pMaxVisitedNodes)
      指定者:
      createPathFinder 在类中 PathNavigation
    • canUpdatePath

      protected boolean canUpdatePath()
      指定者:
      canUpdatePath 在类中 PathNavigation
    • getTempMobPos

      protected Vec3 getTempMobPos()
      指定者:
      getTempMobPos 在类中 PathNavigation
    • createPath

      public Path createPath(BlockPos pPos, int pAccuracy)
      覆盖:
      createPath 在类中 PathNavigation
    • createPath

      public Path createPath(Entity pEntity, int pAccuracy)
      覆盖:
      createPath 在类中 PathNavigation
    • getSurfaceY

      private int getSurfaceY()
    • trimPath

      protected void trimPath()
      覆盖:
      trimPath 在类中 PathNavigation
    • hasValidPathType

      protected boolean hasValidPathType(BlockPathTypes pPathType)
    • setCanOpenDoors

      public void setCanOpenDoors(boolean pCanOpenDoors)
    • canPassDoors

      public boolean canPassDoors()
    • setCanPassDoors

      public void setCanPassDoors(boolean pCanPassDoors)
    • canOpenDoors

      public boolean canOpenDoors()
    • setAvoidSun

      public void setAvoidSun(boolean pAvoidSun)
    • setCanWalkOverFences

      public void setCanWalkOverFences(boolean pCanWalkOverFences)