PathFinder
Managing the drawing of paths
isHasPath(id)
isHasPath(id)Parameters:
id(string)
Returns:
(boolean) Return (true) if has.
Example Usage:
-- Example code showing how to use the function
local isHasCustom = modules.pathFinder.isHasPath("Custom") -- Custom used for /path commandremovePath(id)
removePath(id)Parameters:
id(string)
Returns:
(boolean) Return true.
Example Usage:
-- Example code showing how to use the function
local status = modules.pathFinder.removePath("Custom") addOrUpdatePath(path)
addOrUpdatePath(path)Parameters:
path(table)
Returns:
(boolean) Return true.
Example Usage:
getPathBlocks(id)
getPathBlocks(id)Parameters:
id(string)
Returns:
(table) Return list of blockpos.
Example Usage:
Last updated