Releases: firejoust/mineflayer-pathfinder-lite
Releases · firejoust/mineflayer-pathfinder-lite
Stable v1.0.4
- Replace
Direction
hazard withAvoid
(Changed arguments:bot
->position
) - Fix a bug preventing certain nodes from being accessed due to avoid blocks returning null
- Cost calculation now considers the height difference between two nodes (
cost += |Node B Height - Node A Height|
) - Updated type defs
Stable v1.0.3
Hazards have been moved to their own module (accessible through module import)
Block
hazard now has a new argumentbot
(replaces missing functionality)
Stable v1.0.2
New changes:
- Nodes are now based on the height of the current standing block
- Fixed pathfinding treating fences, etc as single blocks (new height system implemented)
Misc:
- Added typescript typing support
- Rearranged
Block
hazard arguments - Changed Setter rest argument type to normal array type for certain functions
Stable v1.0.1
New hazards implementation
- Change node evaluation criteria based on blocks, entities or locations
- Multiple hazards can be applied at once
- Highly configurable using Setters and/or initialiser arguments
Stable v1.0.0
First stable release