Skip to content

pocketmine\entity\ai\navigation ​

Classes ​

NameKindSummary
Path 5.46.0classA list of block positions (the block the mob's feet should be in) from the start to the end of a path
PathBlockTypes 5.46.0classClassifies block states for mob navigation and line of sight, reading block state IDs straight from chunks (no Block objects on the hot path
PathFinder 5.46.0classA* over the block grid for walking mobs
PathNavigator 5.46.0classPlans paths for a walking mob and feeds their waypoints to its \pocketmine\entity\ai\control\MoveControl
RandomPos 5.46.0classPicks random standable positions around a mob (wandering, panicking, fleeing)
StraightLineNavigator 5.46.0classNavigation of flying and swimming mobs: they move in a straight line to the target (vanilla fish, bats, bees and allays mostly do too) with

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.