net.minecraft.entity.ai.pathing

public class MobNavigation

extends EntityNavigation

net.minecraft.world.entity.ai.navigation.GroundPathNavigation
net.minecraft.class_1409
net.minecraft.entity.ai.pathing.MobNavigation

Field summary

Modifier and TypeField
private boolean
avoidSun
field_6686
avoidSunlight
private boolean
canPathToTargetsBelowSurface
field_63015
skipRetarget

Constructor summary

ModifierConstructor
public (MobEntity mob, World level)

Method summary

Modifier and TypeMethod
protected PathNodeNavigator
createPathFinder(int maxVisitedNodes)
method_6336(int arg0)
createPathNodeNavigator(int arg0)
protected boolean
canUpdatePath()
method_6358()
isAtValidPosition()
protected Vec3d
getTempMobPos()
method_6347()
getPos()
public Path
createPath(BlockPos pos, int reachRange)
method_6348(class_2338 arg0, int arg1)
findPathTo(BlockPos arg0, int arg1)
final BlockPos
findSurfacePosition(LevelChunk chunk, BlockPos pos, int reachRange)
method_74873(class_2818 arg0, class_2338 arg1, int arg2)
retargetToSolidBlock(WorldChunk chunk, BlockPos pos, int distance)
public Path
createPath(Entity target, int reachRange)
method_6349(class_1297 arg0, int arg1)
findPathTo(Entity arg0, int arg1)
private int
getSurfaceY()
method_6362()
getPathfindingY()
protected void
trimPath()
method_6359()
adjustPath()
public boolean
canNavigateGround()
method_70686()
canControlOpeningDoors()
protected boolean
hasValidPathType(PathType pathType)
method_26338(class_7 arg0)
canWalkOnPath(PathNodeType pathType)
public void
setAvoidSun(boolean avoidSun)
method_6361(boolean arg0)
setAvoidSunlight(boolean avoidSunlight)
public void
setCanWalkOverFences(boolean canWalkOverFences)
method_46645(boolean arg0)
setCanWalkOverFences(boolean canWalkOverFences)
public void
setCanPathToTargetsBelowSurface(boolean canPathToTargetsBelowSurface)
method_74874(boolean arg0)
setSkipRetarget(boolean skipRetarget)