Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Please add a brief but descriptive title

jeffkman1 opened this issue ยท 2 comments

commented

Operating system: windows 10
Java version:0.22 (newest i think)
Minecraft version:1.21.3
Baritone version:1.11.1
Other mods (if used): Litematica (newest version)

Exception, error or logs

[10:29:38] [main/INFO]: Loading Minecraft 1.21.3 with Fabric Loader 0.16.10
[10:29:38] [main/INFO]: Loading 11 mods:
- baritone 1.11.1
-- dev_babbaj_nether-pathfinder 1.4.1
- fabricloader 0.16.10
-- mixinextras 0.4.1
- java 21
- litematica 0.20.0
- malilib 0.22.0
|-- fabric-api-base 0.4.48+2127dc7240
|-- fabric-networking-api-v1 4.3.3+56ec7ac640
-- fabric-resource-loader-v0 3.0.5+c47b9d4340
- minecraft 1.21.3
[10:29:38] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.7 Source=file:/C:/Users/cjche/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.15.4+mixin.0.8.7/sponge-mixin-0.15.4+mixin.0.8.7.jar Service=Knot/Fabric Env=CLIENT
[10:29:39] [main/INFO]: Compatibility level set to JAVA_17
[10:29:39] [main/INFO]: Compatibility level set to JAVA_21
[10:29:46] [Datafixer Bootstrap/INFO]: 237 Datafixer optimizations took 2380 milliseconds
[10:29:46] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.4.1).
[10:29:59] [Render thread/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[10:29:59] [Render thread/INFO]: Setting user: Jeffkman
[10:30:02] [Render thread/INFO]: Backend library: LWJGL version 3.3.3-snapshot
[10:30:05] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric, fabric-api-base, fabric-networking-api-v1, fabric-resource-loader-v0, fabricloader, litematica, malilib
[10:30:06] [Worker-Main-2/INFO]: Found unifont_all_no_pua-15.1.05.hex, loading
[10:30:07] [Worker-Main-2/INFO]: Found unifont_jp_patch-15.1.05.hex, loading
[10:30:08] [Render thread/INFO]: [STDOUT]: [nether-pathfinder] Created temp file at C:\Users\cjche\AppData\Local\Temp\nether_pathfinder-x86_64484194768803337542.dll
[10:30:08] [Render thread/INFO]: [STDERR]: [nether-pathfinder] Failed to delete temp file
[10:30:08] [Render thread/INFO]: [STDOUT]: [nether-pathfinder] Loaded shared library
[10:30:12] [Render thread/WARN]: Missing sound for event: minecraft:block.spawner.fall
[10:30:13] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Speakers (Realtek(R) Audio)
[10:30:13] [Render thread/INFO]: Sound engine started
[10:30:13] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[10:30:13] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[10:30:13] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[10:30:13] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[10:30:13] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[10:30:13] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[10:30:13] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[10:30:13] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[10:30:13] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[10:30:14] [Render thread/INFO]: Created: 64x64x0 minecraft:textures/atlas/map_decorations.png-atlas
[10:30:14] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/particles.png-atlas
[10:30:14] [Render thread/INFO]: Created: 512x256x0 minecraft:textures/atlas/paintings.png-atlas
[10:30:14] [Render thread/INFO]: Created: 256x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[10:30:14] [Render thread/INFO]: Created: 1024x512x0 minecraft:textures/atlas/gui.png-atlas
[10:30:25] [Render thread/INFO]: Loaded 1337 recipes
[10:30:25] [Render thread/INFO]: Loaded 1448 advancements
[10:30:25] [Server thread/INFO]: Starting integrated minecraft server version 1.21.3
[10:30:25] [Server thread/INFO]: Generating keypair
[10:30:27] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 0%
[10:30:35] [Render thread/INFO]: Preparing spawn area: 18%
[10:30:35] [Render thread/INFO]: Time elapsed: 8108 ms
[10:30:35] [Server thread/INFO]: Changing view distance to 7, from 10
[10:30:35] [Server thread/INFO]: Changing simulation distance to 5, from 0
[10:30:37] [Server thread/INFO]: Jeffkman[local:E:1aa4049e] logged in with entity id 58 at (243.62889258209637, 67.0, -126.47200704170628)
[10:30:37] [Server thread/INFO]: Jeffkman joined the game
[10:30:37] [Render thread/INFO]: [STDOUT]: Baritone world data dir: C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384
[10:30:37] [Render thread/INFO]: [STDOUT]: Cached world directory: C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:30:37] [Render thread/INFO]: [STDOUT]: Would save waypoints to C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\waypoints
[10:30:38] [Render thread/INFO]: Using 3 total BufferAllocator caches
[10:30:38] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3700 -> 4082
[10:30:42] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3700 -> 4082
[10:30:44] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3700 -> 4082
[10:30:45] [Render thread/INFO]: Loaded 49 advancements
[10:30:45] [pool-4-thread-1/INFO]: [STDOUT]: Loading region 0,-1 from disk C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:30:46] [pool-4-thread-1/INFO]: [STDOUT]: Loaded region successfully in 1089ms
[10:30:51] [pool-4-thread-1/INFO]: [STDOUT]: Loading region 0,0 from disk C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:30:51] [pool-4-thread-1/INFO]: [STDOUT]: Loaded region successfully in 47ms
[10:31:07] [pool-4-thread-2/INFO]: [STDOUT]: Saving region 0,-1 to disk C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:31:07] [ForkJoinPool.commonPool-worker-1/INFO]: [STDOUT]: Saving region 0,0 to disk C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:31:08] [ForkJoinPool.commonPool-worker-1/INFO]: [STDOUT]: Saved region successfully
[10:31:08] [pool-4-thread-2/INFO]: [STDOUT]: Saved region successfully
[10:31:08] [pool-4-thread-2/INFO]: [STDOUT]: World save took 703ms
[10:31:13] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3218 -> 4082
[10:31:14] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3218 -> 4082
[10:31:16] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3218 -> 4082
[10:31:31] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3700 -> 4082
[10:31:31] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3700 -> 4082
[10:31:31] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3700 -> 4082
[10:31:44] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3218 -> 4082
[10:31:44] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3218 -> 4082
[10:31:44] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3218 -> 4082
[10:31:52] [Server thread/INFO]: Saving and pausing game...
[10:31:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:overworld
[10:31:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:the_nether
[10:31:52] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:the_end
[10:31:56] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Tile Entities DataVersion 3218 -> 4082
[10:31:56] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Entities DataVersion 3218 -> 4082
[10:31:57] [Render thread/INFO]: LitematicaSchematic: executing Vanilla DataFixer for Block State Palette DataVersion 3218 -> 4082
[10:32:05] [Server thread/INFO]: Saving and pausing game...
[10:32:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:overworld
[10:32:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:the_nether
[10:32:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:the_end
[10:32:27] [Render thread/INFO]: [CHAT] [Baritone] > litematica
[10:32:27] [Render thread/INFO]: [CHAT] [Baritone] An unhandled exception occurred. The error is in your game's log, please report this at https://github.com/cabaletta/baritone/issues
[10:32:27] [Render thread/INFO]: [STDERR]: baritone.api.command.exception.CommandUnhandledException: java.lang.NoSuchMethodError: 'net.minecraft.class_2680 fi.dy.masa.litematica.world.WorldSchematic.getBlockState(net.minecraft.class_2338)'
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.bs.execute(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.w.a(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.w.onSendChatMessage(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.bt.a(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:891)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.bt.onSendChatMessage(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_634.handler$zzb000$baritone$sendChatMessage(class_634.java)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_634.method_45729(class_634.java)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_408.method_44056(class_408.java:260)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_408.method_25404(class_408.java:103)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.method_1466(class_309.java:423)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.method_22678(class_309.java:527)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1255.execute(class_1255.java:110)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_309.method_22676(class_309.java:527)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//org.lwjgl.glfw.GLFWKeyCallbackI.callback(GLFWKeyCallbackI.java:44)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//org.lwjgl.system.JNI.invokeV(Native Method)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3438)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//com.mojang.blaze3d.systems.RenderSystem.pollEvents(RenderSystem.java:149)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//com.mojang.blaze3d.systems.RenderSystem.flipFrame(RenderSystem.java:170)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_1041.method_15998(class_1041.java:314)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_310.method_1523(class_310.java:1370)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.class_310.method_1514(class_310.java:933)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//net.minecraft.client.main.Main.main(Main.java:265)
[10:32:27] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
[10:32:27] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
[10:32:27] [Render thread/INFO]: [STDERR]: at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
[10:32:27] [Render thread/INFO]: [STDERR]: Caused by: java.lang.NoSuchMethodError: 'net.minecraft.class_2680 fi.dy.masa.litematica.world.WorldSchematic.getBlockState(net.minecraft.class_2338)'
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.utils.schematic.litematica.LitematicaHelper.a(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.dq.buildOpenLitematic(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: at knot//baritone.bb.execute(Unknown Source)
[10:32:27] [Render thread/INFO]: [STDERR]: ... 26 more
[10:32:36] [Render thread/INFO]: [CHAT] [Baritone] > litematica chicken
[10:32:36] [Render thread/INFO]: [CHAT] [Baritone] Error at argument #1: Expected Integer
[10:37:24] [Render thread/INFO]: Loaded 52 advancements
[10:37:35] [Render thread/INFO]: Loaded 66 advancements
[10:38:10] [Render thread/INFO]: Loaded 68 advancements
[10:38:19] [Render thread/INFO]: Loaded 69 advancements
[10:38:58] [Render thread/INFO]: Loaded 70 advancements
[10:40:45] [Render thread/INFO]: [CHAT] [Baritone] Command not found: litematic
[10:40:47] [Server thread/INFO]: Saving and pausing game...
[10:40:47] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:overworld
[10:40:47] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:the_nether
[10:40:47] [Server thread/INFO]: Saving chunks for level 'ServerLevel[sigma]'/minecraft:the_end
[10:41:08] [pool-4-thread-2/INFO]: [STDOUT]: Saving region 0,-1 to disk C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:41:08] [ForkJoinPool.commonPool-worker-2/INFO]: [STDOUT]: Saving region 0,0 to disk C:\Users\cjche\AppData\Roaming.minecraft\saves\sigma.\baritone\minecraft\overworld_384\cache
[10:41:08] [ForkJoinPool.commonPool-worker-2/INFO]: [STDOUT]: Saved region successfully
[10:41:09] [pool-4-thread-2/INFO]: [STDOUT]: Saved region successfully
[10:41:09] [pool-4-thread-2/INFO]: [STDOUT]: World save took 649ms

How to reproduce

find any .litematic and attempt to do #litematica and it fails

Modified settings

allow parkour, desktop notifications

commented

This is a known bug and fixed on all supported versions, however there is no release with the fix yet.

commented

Duplicate of #4560