Impossible to use elytra fly on nether's roof
jujur10 opened this issue ยท 5 comments
Some information
Operating system: Linux
Java version: /
Minecraft version: 1.20.4
Baritone version: 1.10.2
Other mods (if used): /
Exception, error or logs
The y of the goal is not between 0 and 128
Linux: ~/.minecraft/logs/
Windows: %appdata%/.minecraft/logs/
Mac: /Library/Application\ Support/minecraft/logs/
How to reproduce
Go on the roof of the nether and use elytra feature to go to coordinates
Modified settings
X
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 have not used any OwO's or UwU's in this issue.
And if you manually set the y to 127, it fails with this error
[15:57:09] [pool-110-thread-1/INFO]: [STDERR]: java.lang.IllegalArgumentException: Invalid y1 or y2 [15:57:09] [pool-110-thread-1/INFO]: [STDERR]: at dev.babbaj.pathfinder.NetherPathfinder.pathFind(Native Method) [15:57:09] [pool-110-thread-1/INFO]: [STDERR]: at baritone.js.a(Unknown Source) [15:57:09] [pool-110-thread-1/INFO]: [STDERR]: at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) [15:57:09] [pool-110-thread-1/INFO]: [STDERR]: at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [15:57:09] [pool-110-thread-1/INFO]: [STDERR]: at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [15:57:09] [pool-110-thread-1/INFO]: [STDERR]: at java.base/java.lang.Thread.run(Unknown Source)
yea i think the pathfinder cant pathfind above nether roof or smt, because even if i use the goto command it still breaks above nether roof, throwing the exact same exception
it might just be a hardcoded limit, and i can't change it since the pathfinder itself seems to be proprietary or sum
The elytra pathfinder does indeed only work below the nether ceiling so rejecing goals outside that range is intentional.
I hardly know the elytra pathfinder code so I don't know how hard it is to change that. If you want to give it a try you can find the code here.