mineflayer-collectblock icon indicating copy to clipboard operation
mineflayer-collectblock copied to clipboard

PhysicTick

Open airidas-rom opened this issue 9 months ago • 3 comments

Mineflayer detected that you are using a deprecated event (physicTick)! Please use this event (physicsTick) instead.

Also when the bot is mining, and i give cooblestone to build up, it misses the build timing, not sure if its related to collectBlock, but above is the text im receiving when the bot is mining.

Also getting this: Timeout: Took to long to decide path to goal! at error (C:\Users\roman\OneDrive\Desktop\mbot\node_modules\mineflayer-pathfinder\lib\goto.js:2:15) at EventEmitter.noPathListener (C:\Users\roman\OneDrive\Desktop\mbot\node_modules\mineflayer-pathfinder\lib\goto.js:28:17) at EventEmitter.emit (node:events:513:28) at EventEmitter.monitorMovement (C:\Users\roman\OneDrive\Desktop\mbot\node_modules\mineflayer-pathfinder\index.js:446:11) at EventEmitter.emit (node:events:513:28) at tickPhysics (C:\Users\roman\OneDrive\Desktop\mbot\node_modules\mineflayer\lib\plugins\physics.js:81:11) at Timeout.doPhysics [as _onTimeout] (C:\Users\roman\OneDrive\Desktop\mbot\node_modules\mineflayer\lib\plugins\physics.js:70:7) at listOnTimeout (node:internal/timers:569:17) at process.processTimers (node:internal/timers:512:7)

airidas-rom avatar Oct 05 '23 10:10 airidas-rom

Ah, I've located where it's being used, and it doesn't seem to affect anything else. It appears to be more of a legacy issue, I reckon i am gonna send a pull req

Yuwen-0 avatar Nov 26 '23 17:11 Yuwen-0

its seems like solved code

Yuwen-0 avatar Nov 26 '23 17:11 Yuwen-0

Yeah it was renamed but both events are completely the same

SilkePilon avatar Nov 26 '23 17:11 SilkePilon