baritone
baritone copied to clipboard
Baritone Elytra Fly
Some information
Operating system: Windows 11
Java version: OpenJDK Runtime Environment Temurin-21.0.6+7 (build 21.0.6+7-LTS)
Minecraft version: 1.21.4
Other mods (if used): jefff mod
Exception, error or logs
Attached is the relevant log excerpt from latest.log:
[16:34:18] [Render thread/INFO]: [STDERR]: java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 55
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:100)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:106)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:302)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.Objects.checkIndex(Objects.java:385)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.ArrayList.get(ArrayList.java:427)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//baritone.en.a(Unknown Source)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//baritone.em$d.a(Unknown Source)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CompletableFuture.postFire(CompletableFuture.java:614)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:726)
[16:34:18] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1255.method_18859(class_1255.java:164)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_4093.method_18859(class_4093.java:23)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1255.method_16075(class_1255.java:138)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1255.method_5383(class_1255.java:123)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_310.method_1523(class_310.java:1296)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_310.method_1514(class_310.java:922)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.main$mixinextras$wrapped$20(Main.java:267)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.mixinextras$bridge$main$mixinextras$wrapped$20$21(Main.java)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.f$call(Main.java:2211)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.wrapMethod$gpd000$f$F(Main.java:2177)
[16:34:18] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.main(Main.java)
[16:34:18] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
[16:34:18] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
[16:34:18] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
[16:34:18] [Render thread/INFO]: [STDERR]: at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105)
[16:34:18] [Render thread/INFO]: [STDERR]: at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
[16:34:18] [Render thread/INFO]: [STDERR]: at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
How to reproduce
- Launch Minecraft with jefff mod and Baritone installed.
- Enable the TrailFollower feature from jefff mod.
- Wait until the Baritone error occurs (java.lang.IndexOutOfBoundsException).
Can you please enable chatDebug and elytraChatSpam and try reproducing this again with an unoptimized build? The better stack trace and additional log information can hopefully help find the bug.