PathFinder

Managing the drawing of paths

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 command

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)

Parameters:

  • path (table)

Returns:

  • (boolean) Return true.

Example Usage:

getPathBlocks(id)

Parameters:

  • id (string)

Returns:

  • (table) Return list of blockpos.

Example Usage:

Last updated