9.7 KiB
9.7 KiB
History
2.4.5
- Fix block update resets for optimized paths (@m000z0rz)
- reword .stop() for more clarity (@Jovan-04)
- add more detailed tutorial for mineflayer-pathfinder goals (@Jovan-04)
- Fixed typo: "physicsTick" (@FreezeEngine)
2.4.4
- Update readme.md (@Vinciepincie)
- Fix file linting (@IceTank)
- Fix possible reference error for block updates (@IceTank)
- Fix a bunch of spelling/grammar errors (@182exe)
2.4.3
- Change canOpenDoors default value to false because its buggy (@IceTank)
- Added missing constructor definitions for GoalCompositeAny and GoalCompositeAll (@rutexd)
- Added "sneak" on interact blocks to avoid open it (@sefirosweb)
- Block face position fix (@WhoTho)
- Remove mcData param in movements.js (@rtm516)
2.4.2
- Fix pathfinder trying to make a parkour jump that fails most times
- Fix pathfinder not going below level 0
- Fix wheat not being break able (@maximmasiutin)
- Add parameter typing to Composite goals (@Ic3Tank)
- Fix GoalLookAtBlock documentation (@Ic3Tank)
2.4.1
2.4.0
2.3.3
2.3.2
- Revert broken goto implementation update.
2.3.1
- Fix reference error in
getNumEntitiesAt
(2e7b3daff2
)
2.3.0
- Add entity Avoidance Feature
- Fix bugs in movements.js
- Update Dependencies
- Fix issue with starting paths
2.2.0
- Add events typings
- Force look at blocks when breaking them
- Fix bot sometimes not triggering path end correctly
- Fix missing null check at block update
- Bump mocha to 10.x
2.1.1
- Fix GitHub action for publishing
2.1.0
- Add automated tests
- Add getPathFromTo function
- Fix path optimization check
- Bumb minecraft data to version 3.x
- Add goal chaining example
2.0.0
1.10.0
-
Typing fixes:
1.9.1
1.9.0
- Fixed floor check
- Avoid cobwebs
- Fixed diagonal move not considering collision height when jumping up diagonally
- Fixed movements for older versions
1.8.0
- Fixed placeBlock example
- Fixed Readme typos
- Fixed bot placing wrong blocks as scaffolding
- Fixed GoalNearXZ
- Fixed typings
- Fixed index.d.ts compile errors
1.7.0
- Add GoalNearXZ
- Improve docs
1.6.3
- Add setGoal null to typings
- Add safeOrBreak check to getMoveDiagonal
- Fix reference to LOSWhenPlacingBlocks
- Fixed raycasting not considering block face
- Add GoalPlaceBlock typing
- Add placeBlock.js example
- Add callback.js and promise.js example
- Fix reference error in GoalPlaceBlock
- Function to stop path finding when safe
1.6.2
- Fix swimming in lava
- Fix TypeScript headers
- Add +1 to movement cost when going forward and up 1 block
- Fix bot trying to go underwater
- Add
path_reset
event
1.6.1
- Add option to limit search range
- Expose tickTimeout
1.6.0
- Add GoalPlaceBlock
- Fix various parkour moves
- Fix goto
1.5.0
- Improve diagonal movements (add up/down)
- Expose A* context in result
- Fix fences
- Fix carpets
1.4.0
- Legit bot bridging (with sneak)
- Fixed bug for detect when mining is stopped correctly
- Fix GoalGetToBlock
1.3.7
- Promisified goto
1.3.0
- Add ladder support
- Add ability to drop in water from high places
- Improve movement execution
1.2.0
- Use physics to predict motion and choose best controls
- Add more parkour moves
- Sprint and sprint-jump over gaps
1.1.2
- Set every non diggable block automatically from mcdata
- Fix jumps in snow
1.1.1
- Fix 1x1 towering
- Fix path starting on shorter blocks
1.1.0
- Fixed crash with null positions
- API in the readme
- Expose movements and goal
1.0.12
- Added
canDig
movements variable - Added
goto(goal, cb)
function
1.0.11
- Added
goal_updated
event - Movements are now initialized by default
- Fixed Typescript headers
- Fixed bugs with block height when jumping
1.0.10
- Fixed "cannot read property 'shapes' of null" bug
- Exposed
thinkTimeout
pathfinder variable
1.0.9
- Added simple postprocessing fallback for unsuitable positions
1.0.8
- Fixed null pointer exception for "getPositionOnTopOf"
1.0.7
- Improved post processing for standing on more block types
- Improved tool selection when breaking blocks
- Retrieve player state from Prismarine-Physics
- Fixed bug with parkour cooldown
- Added Typescript headers
- Fixed bug with clearing controls while recalculating path
- Removed path recalculation detection radius
1.0.6
- Added basic parkour movements
- Movement nodes are now stored as classes
- Astar algorithm is now stored as a class
- Improved blocks-to-break estimation in the path
- Fixed 12.x Node.js compatibility in example bot
1.0.5
- Added multiple bot example
- Added experimental "free-motion"
- Added composite goal
- Added
isMoving()
function - Added
isMining()
function - Added
isBuilding()
function - Added
isThinking()
function
1.0.4
- Paths are now recalculated on chunk loading to fix long paths
- Minor bug fixes
- Moved scaffolding blocks from index.js to movements.js internally
- Updated readme todo list
- Added 1x1 tower creation
1.0.3
- Fixed
goal_reached
not being called if bot is already at the goal - Control state is cleared when path is reset
- Fixed example bot code in readme
- Improved readme
- Fixed bug with place/dig logic
- Added swimming support
1.0.2
- Exposed goals and movements classes
- Fixed bugs with bot stopping incorrectly
- Improved readme
- Added performance benchmarks
- Added build CI support
1.0.1
- Added deployment CI support
- Added standard
- Fixed bug with not canceling digging when resetting path
- Fixed undefined pos error
- Added configurable fall height
- Added dynamic goals
- Added automatic path recalculation
- Added 1x1 digging holes
- Added more movement abilities
- Added internal scaffolding block count
1.0.0
- Initial release