Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/debugpath: Difference between revisions

From SAS Gaming Wiki
imported>Nethonos
de-interwiki
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 5: Line 5:
| name = debugpath
| name = debugpath
| oplevel = 2
| oplevel = 2
| others = <code>-DMC_DEBUG_DEV_COMMANDS</code> [[Minecraft:debug property]]
| others = <code>-DMC_DEBUG_DEV_COMMANDS</code> debug property
}}
}}


'''/debugpath''' is a command that can be enabled with the [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>. It attempts to create a path for a mob to a specified position.
'''/debugpath''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>. It attempts to create a path for a mob to a specified position.


== Syntax ==
== Syntax ==
Line 22: Line 22:
{{Result table|onlyje=1}}
{{Result table|onlyje=1}}
{{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable}}
{{Result table|The command is incomplete, or any argument is not specified correctly.|unparseable}}
{{Result table|The executor of the command is not a mob (i.e. it's a player, a [[Minecraft:mannequin]], a [[Minecraft:command block]], or the server itself).|fail}}
{{Result table|The executor of the command is not a mob (i.e. it's a player, a mannequin, a command block, or the server itself).|fail}}
{{Result table|A path from the execution position to the specified block position could not be made.}}
{{Result table|A path from the execution position to the specified block position could not be made.}}
{{Result table|The created path cannot be followed by the mob, due to obstacles.}}
{{Result table|The created path cannot be followed by the mob, due to obstacles.}}
Line 37: Line 37:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
}}
}}


Line 43: Line 43:
{{Navbox commands}}
{{Navbox commands}}


[[Minecraft:de:Befehl/debugpath]]
de:Befehl/debugpath
[[Minecraft:zh:命令/debugpath]]
zh:命令/debugpath

Revision as of 15:43, 9 April 2026

Template:Distinguish Template:Exclusive Template:Debug warning Template:Infobox command

/debugpath is a command that can be enabled with the debug property -DMC_DEBUG_DEV_COMMANDS. It attempts to create a path for a mob to a specified position.

Syntax

debugpath <to>

If the executor is a mob, attempts to create a path for that mob to the specified position, using its pathfinding algorithm. This does not cause the mob to try to pathfind to that position; it simply tests if such a path can be made.

Arguments

Template:Argument

Specifies the block position the mob will attempt to pathfind to.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table Template:Output table

History

Template:HistoryTable

Navigation

Template:Navbox commands

de:Befehl/debugpath zh:命令/debugpath