Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to use elytra fly on nether's roof #4356

Open
4 tasks done
jujur10 opened this issue May 5, 2024 · 4 comments
Open
4 tasks done

Impossible to use elytra fly on nether's roof #4356

jujur10 opened this issue May 5, 2024 · 4 comments

Comments

@jujur10
Copy link

jujur10 commented May 5, 2024

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.
@jujur10 jujur10 added the bug Something isn't working label May 5, 2024
@YoJames2019
Copy link

YoJames2019 commented May 17, 2024

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)

@1s0n
Copy link

1s0n commented May 18, 2024

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

@1s0n
Copy link

1s0n commented May 18, 2024

it might just be a hardcoded limit, and i can't change it since the pathfinder itself seems to be proprietary or sum

@ZacSharp
Copy link
Collaborator

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.

@ZacSharp ZacSharp removed the bug Something isn't working label May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants