IllegalStateException: TRAVERSE_* calculated implausible cost (negative value)
Some information
Operating system: Windows 11 23H2 (10.0.22631) Java version: 21.0.7 Minecraft version: Fabric 1.21.3 Baritone version: baritone-standalone-fabric-1.11.1 Other mods (if used): ViaFabricPlus-3.5.3
Exception, error or logs
Pathing exception: java.lang.IllegalStateException: TRAVERSE_* calculated implausible cost -*
Logs: latest.log
How to reproduce
- Download baritone-standalone-fabric-1.11.1 from releases
- Download ViaFabricPlus-3.5.3 from Modrinth
- Add both mods to the mods folder / mods list
- Run Minecraft 1.21.3
- Connect to multiplayer server (e.g. wujinjun1.myqnapcloud.com:25565)
-
#goto <x> <z>(e.g.#goto 40000 ~)
Modified settings
walkOnWaterOnePenalty 3.0
allowJumpAt256 true
allowParkourAscend false
allowParkour true
allowParkourPlace true
randomLooking113 0.0
randomLooking 0.0
costHeuristic 3.563
maxFallHeightNoWater 448
chunkCaching false
Final checklist
- [x] I know how to properly use check boxes
- [x] I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- [x] I have included logs, exceptions and / or steps to reproduce the issue.
- [x] I have not used any OwO's or UwU's in this issue.
I have a suspicion what's causing this, but so far I've completely failed at reproducing the error. Can you please provide a screenshot of the location from the error message? I'd like to know what kind of blocks cause it to fail.
I made two videos, the first video shows the exception in 1.21.3, with client mod and server plugin list; the second video shows the exception in 1.21.5 (Used this port).
https://github.com/user-attachments/assets/f680860e-436a-41dd-b4e7-941ea4a482cf
https://github.com/user-attachments/assets/d419d46c-95dc-48d8-9da2-b6c0469b6121
Sorry I didn't state so explicitly. I do not mean the location where you are when the error occurs, but the location of the faulty movement. That's the position added to the error message by the patch I showed you (CI run here https://github.com/ZacSharp/baritone/actions/runs/14525747965, I just checked and it does say it's for 1.21.5, so you should be able to use that)
https://github.com/user-attachments/assets/49404c02-a0f6-409b-accc-724ac175e4da
Ok, I have asked for the same thing three times using different phrasing and you delivered three times the same slightly different thing. Maybe it is a translation issue?
In a last attempt before I give up:
- Using the patch, trigger the error message
- The error message contains a location, go to that location
- Take a screenshot
- Post the screenshot here
I have asked for the same thing three times using different phrasing and you delivered three times the same slightly different thing.
Sorry for that.
I tested twice.
Case 1:
-
Connected to my server and entered overwolrd
-
Randomly teleported to
-117.50 102.00 -6.50
-
#goto 10000 0and it threwPathing exceptionwith coordinate-92 65 3
-
/tp -92 65 3I was teleported into water (maybe that causes the exception?)
- I changed the game mode to spectator and flew up.
Case 2:
-
Connected to my server and entered
real_world_1 -
Randomly teleported to
-74.50 73.00 55.50 -
#goto 100000 100000and the new coordinate was-48 62 70 -
/tp -48 62 70and I was in water again.
- Enable freecam of wurst client and see the surroundings.