Class GroundPathNavigator

java.lang.Object
net.minecraft.pathfinding.PathNavigator
net.minecraft.pathfinding.GroundPathNavigator
Direct Known Subclasses:
ClimberPathNavigator, RavagerEntity.Navigator, StriderEntity.LavaPathNavigator

public class GroundPathNavigator extends PathNavigator
  • Field Details

    • avoidSun

      private boolean avoidSun
  • Constructor Details

    • GroundPathNavigator

      public GroundPathNavigator(MobEntity p_i45875_1_, World p_i45875_2_)
  • Method Details

    • createPathFinder

      protected PathFinder createPathFinder(int p_179679_1_)
      Specified by:
      createPathFinder in class PathNavigator
    • canUpdatePath

      protected boolean canUpdatePath()
      Specified by:
      canUpdatePath in class PathNavigator
    • getTempMobPos

      protected Vector3d getTempMobPos()
      Specified by:
      getTempMobPos in class PathNavigator
    • createPath

      public Path createPath(BlockPos p_179680_1_, int p_179680_2_)
      Overrides:
      createPath in class PathNavigator
    • createPath

      public Path createPath(Entity p_75494_1_, int p_75494_2_)
      Overrides:
      createPath in class PathNavigator
    • getSurfaceY

      private int getSurfaceY()
    • trimPath

      protected void trimPath()
      Overrides:
      trimPath in class PathNavigator
    • canMoveDirectly

      protected boolean canMoveDirectly(Vector3d p_75493_1_, Vector3d p_75493_2_, int p_75493_3_, int p_75493_4_, int p_75493_5_)
      Specified by:
      canMoveDirectly in class PathNavigator
    • canWalkOn

      private boolean canWalkOn(int p_179683_1_, int p_179683_2_, int p_179683_3_, int p_179683_4_, int p_179683_5_, int p_179683_6_, Vector3d p_179683_7_, double p_179683_8_, double p_179683_10_)
    • hasValidPathType

      protected boolean hasValidPathType(PathNodeType p_230287_1_)
    • canWalkAbove

      private boolean canWalkAbove(int p_179692_1_, int p_179692_2_, int p_179692_3_, int p_179692_4_, int p_179692_5_, int p_179692_6_, Vector3d p_179692_7_, double p_179692_8_, double p_179692_10_)
    • setCanOpenDoors

      public void setCanOpenDoors(boolean p_179688_1_)
    • canOpenDoors

      public boolean canOpenDoors()
    • setAvoidSun

      public void setAvoidSun(boolean p_179685_1_)