Autojump can trigger for one tick
ZacSharp opened this issue ยท 0 comments
Some information
Minecraft version: 1.12.2
Baritone version: srg mapped fb814e9 / eabd115 with local changes to InventoryBehavior.onTick, BuilderProcess.assemble, Helper.logDirect, PathingBehavior.onTick and PathingBehavior.onPlayerUpdate / 9350124
Other mods (if used): private / no / no
Exception, error or logs
relevant log excerpt from the second setup
logDebug is changed to not output messages that were already sent (or suppressed) in the previous tick.[00:50:27] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:29] [main/INFO]: [CHAT] [Baritone] > home [00:50:29] [main/INFO]: [CHAT] [Baritone] Going to: GoalBlock{x=235,y=88,z=394} [00:50:29] [main/INFO]: [CHAT] [Baritone] Favoring size: 0 [00:50:29] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394} [00:50:29] [main/INFO]: [CHAT] [Baritone] Took 50ms, 22 movements considered [00:50:29] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks [00:50:29] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394}. 2 nodes considered [00:50:29] [main/INFO]: [CHAT] [Baritone] Ticking path [00:50:29] [main/INFO]: [CHAT] [Baritone] Disabling autojump [00:50:29] [main/INFO]: [CHAT] [Baritone] Movement returns status UNREACHABLE [00:50:29] [main/INFO]: [CHAT] [Baritone] Favoring size: 0 [00:50:29] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:29] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=235,y=90,z=393} to GoalBlock{x=235,y=88,z=394} [00:50:29] [main/INFO]: [CHAT] [Baritone] Took 1ms, 22 movements considered [00:50:29] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks [00:50:29] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=235,y=90,z=393} to GoalBlock{x=235,y=88,z=394}. 2 nodes considered [00:50:29] [main/INFO]: [CHAT] [Baritone] Disabling autojump [00:50:30] [main/INFO]: [CHAT] [Baritone] All done. At null [00:50:30] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:30] [main/INFO]: [CHAT] [Baritone] Not ticking path (there is none) [00:50:31] [Server thread/INFO]: [Player269: Teleported Player269 to 234.5, 89.0, 393.5] [00:50:31] [main/INFO]: [CHAT] Teleported Player269 to 234.5, 89.0, 393.5 [00:50:33] [main/INFO]: [CHAT] [Baritone] > home [00:50:33] [main/INFO]: [CHAT] [Baritone] Going to: GoalBlock{x=235,y=88,z=394} [00:50:33] [main/INFO]: [CHAT] [Baritone] Favoring size: 0 [00:50:33] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394} [00:50:33] [main/INFO]: [CHAT] [Baritone] Took 0ms, 22 movements considered [00:50:33] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks [00:50:33] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394}. 2 nodes considered [00:50:33] [main/INFO]: [CHAT] [Baritone] Ticking path [00:50:33] [main/INFO]: [CHAT] [Baritone] Disabling autojump [00:50:33] [main/INFO]: [CHAT] [Baritone] Movement returns status UNREACHABLE [00:50:33] [main/INFO]: [CHAT] [Baritone] Favoring size: 0 [00:50:33] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:33] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=235,y=90,z=393} to GoalBlock{x=235,y=88,z=394} [00:50:33] [main/INFO]: [CHAT] [Baritone] Took 0ms, 22 movements considered [00:50:33] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks [00:50:33] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=235,y=90,z=393} to GoalBlock{x=235,y=88,z=394}. 2 nodes considered [00:50:33] [main/INFO]: [CHAT] [Baritone] Disabling autojump [00:50:34] [main/INFO]: [CHAT] [Baritone] All done. At null [00:50:34] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:34] [main/INFO]: [CHAT] [Baritone] Not ticking path (there is none) [00:50:35] [Server thread/INFO]: [Player269: Teleported Player269 to 234.5, 89.0, 393.5] [00:50:35] [main/INFO]: [CHAT] Teleported Player269 to 234.5, 89.0, 393.5 [00:50:36] [Server thread/INFO]: Saving and pausing game... [00:50:36] [Server thread/INFO]: Saving chunks for level 'New World'/overworld [00:50:36] [Server thread/INFO]: Saving chunks for level 'New World'/the_nether [00:50:36] [Server thread/INFO]: Saving chunks for level 'New World'/the_end [00:50:39] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:42] [main/INFO]: [CHAT] [Baritone] > home [00:50:42] [main/INFO]: [CHAT] [Baritone] Going to: GoalBlock{x=235,y=88,z=394} [00:50:42] [main/INFO]: [CHAT] [Baritone] Favoring size: 0 [00:50:42] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394} [00:50:42] [main/INFO]: [CHAT] [Baritone] Took 0ms, 22 movements considered [00:50:42] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks [00:50:42] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394}. 2 nodes considered [00:50:42] [main/INFO]: [CHAT] [Baritone] Ticking path [00:50:42] [main/INFO]: [CHAT] [Baritone] Disabling autojump [00:50:43] [main/INFO]: [CHAT] [Baritone] Not ticking path (there is none) [00:50:43] [main/INFO]: [CHAT] [Baritone] Not disabling autojump [00:50:44] [Server thread/INFO]: [Player269: Teleported Player269 to 234.5, 89.0, 393.5] [00:50:44] [main/INFO]: [CHAT] Teleported Player269 to 234.5, 89.0, 393.5 [00:50:46] [main/INFO]: [CHAT] [Baritone] > home [00:50:46] [main/INFO]: [CHAT] [Baritone] Going to: GoalBlock{x=235,y=88,z=394} [00:50:46] [main/INFO]: [CHAT] [Baritone] Favoring size: 0 [00:50:46] [main/INFO]: [CHAT] [Baritone] Starting to search for path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394} [00:50:46] [main/INFO]: [CHAT] [Baritone] Took 1ms, 22 movements considered [00:50:46] [main/INFO]: [CHAT] [Baritone] Path ends within loaded chunks [00:50:46] [main/INFO]: [CHAT] [Baritone] Finished finding a path from BetterBlockPos{x=234,y=89,z=393} to GoalBlock{x=235,y=88,z=394}. 2 nodes considered [00:50:46] [main/INFO]: [CHAT] [Baritone] Ticking path [00:50:46] [main/INFO]: [CHAT] [Baritone] Disabling autojump [00:50:46] [main/INFO]: [CHAT] [Baritone] Not ticking path (there is none) [00:50:46] [main/INFO]: [CHAT] [Baritone] Not disabling autojump
How to reproduce
- Enable autojump
- Have a path starting with a diagonal descend edging around a single block at foot level so you could walk over it instead of edging around it
- Depending on your starting position autojump makes Baritone walk over the block
Sub-block position is important because you have to stand at the correct distance to the block at the side to trigger autojump on the first movement tick.
First setup:
https://user-images.githubusercontent.com/68165024/204112515-42c61fef-e1f8-4629-853d-babb98ca452f.mp4
Second setup:
https://user-images.githubusercontent.com/68165024/204113258-40232ff4-8ddc-4007-aa43-5ef674e98afb.mp4
Modified settings
First setup:
allowInventory true
allowDiagonalDescend true
allowDiagonalAscend true
allowParkour true
avoidance true
planAheadFailureTimeoutMS 1000000000000
pruneRegionsFromRAM false
renderGoalAnimated false
shortBaritonePrefix true
Second and third setup:
allowInventory true
allowDiagonalDescend true
allowDiagonalAscend true
chatDebug true
Final checklist
- I know how to properly use check boxes
- I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- I have included logs, exceptions and / or steps to reproduce the issue.
- I myself have not used any OwO's or UwU's in this issue.