spockbot.plugins.helpers.pathfinding module

Very rough asychronous pathfinding plugin Implements the Lazy Theta* pathfinding algorithm

class spockbot.plugins.helpers.pathfinding.Path(start_node, end_node)

Bases: object

calc_f_val(node)
class spockbot.plugins.helpers.pathfinding.PathNode(*xyz)

Bases: spockbot.vector.Vector3

set(parent=None, is_fall=False, is_jump=False)
class spockbot.plugins.helpers.pathfinding.PathfindingCore(start_path)

Bases: object

class spockbot.plugins.helpers.pathfinding.PathfindingPlugin(ploader, settings)

Bases: spockbot.plugins.base.PluginBase

build_list_from_node(node)
check_for_bbox(pos)
check_node(node, offset, node_list, walk_fall=True, jump=True)
do_job(_=None, __=None)
find_valid_nodes(node)
get_block(pos)
pathfind(path)
pl_announce = ('Pathfinding',)
raycast_bbox(start, end)
requires = ('Event', 'World', 'Physics', 'ClientInfo', 'Timers')
start_path(pos, target, scb, fcb=None)