GameplayJava
/debugpath
Visualize an entity's calculated pathfinding (debug).
Syntax
Examples
Show pathfinding debug lines for nearby mobs.
Permission level
/debugpath requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.