This command causes a mob to attempt to move to a specified coordinate or location of another entity.
The syntax could be "/pathfind set <entity> <x> <y> <z> [speedModifier]" or "/pathfind set <entity> <targetEntity> [speedModifier]". In the latter case, the target would be restricted to a single entity, similar to /data.
There would also be a "/pathfind clear <entity>" option, which temporarily clears a mob's path (until it starts moving around randomly on it's own).
This can be used to create effects where mobs appear to be walking towards a location (e.g. a secret pathway) for no reason, or a "trigger" effect where doing something causes mobs to pathfind to your current location, causing them to eventually see you and attack.
Please sign in to leave a comment.
4 Comments