Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Runtime Remapping

frogocomics opened this issue ยท 12 comments

commented

I'm using baritone-api-forge-1.2.11.jar, and I can't run it due to remapping stuff. I'm trying to make a forge mod that uses Baritone. I believe that I'm using the correct file here.

I know this might be a common issue, but I didn't see much pertaining to it. Thank you in advance.

commented

I talked to leijruv, we got stuck at notch mappings being loaded before searge mappings causing a crash. Commenting to follow any insight on this.

commented

I talked to leijruv, we got stuck at notch mappings being loaded before searge mappings causing a crash. Commenting to follow any insight on this.

Unrelated

commented

I'm using baritone-api-forge-1.2.11.jar, and I can't run it due to remapping stuff. I'm trying to make a forge mod that uses Baritone. I believe that I'm using the correct file here.

Read the default forge mdk build.gradle file for this and use jitpack to get per commit builds.

commented

I'm using jitpack now, com.github.cabaletta:baritone:1.2.11. Running it is still not working, I'm still getting problems with mappings.

commented

I'm not sure how my comment was unrelated as that's exactly the issue @frogocomics is running into.

commented

I'm not sure how it's unrelated as that's exactly @frogocomics issue

Runtime issue != dev env issue.

commented

I hope I'm describing my issue clearly enough. I'm using "com.github.cabaletta:baritone:1.2.11" in my build.gradle and the forge-api version in my mods folder. I'm getting a NoSuchFieldError, which indicates that there is a mapping issue. I don't know where I went wrong.

commented

Literally my issue word for word.

commented

I hope I'm describing my issue clearly enough. I'm using "com.github.cabaletta:baritone:1.2.11" in my build.gradle and the forge-api version in my mods folder. I'm getting a NoSuchFieldError, which indicates that there is a mapping issue. I don't know where I went wrong.

Read my reply in the forge discord to where you included it in the wrong maven section in the build .gradle.

Literally my issue word for word.

Yeah, except it is not he is just having IntelliJ Gradle weirdness.

commented

Send your log?

commented

image

commented

Nevermind, yea. I got stuck at this after adding all of it to my gradle. Probably unrelated then.

[22:04:40] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[22:04:40] [main/FATAL] [mixin]: Mixin apply failed mixins.baritone.json:MixinMinecraft -> net.minecraft.client.Minecraft: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Shadow field player was not located in the target class net.minecraft.client.Minecraft. Using refmap mixins.baritone.refmap.json
[22:10:52] [main/FATAL] [mixin]: Mixin apply failed mixins.baritone.json:MixinMinecraft -> net.minecraft.client.Minecraft: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException Shadow field player was not located in the target class net.minecraft.client.Minecraft. Using refmap mixins.baritone.refmap.json
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: Shadow field player was not located in the target class net.minecraft.client.Minecraft. Using refmap mixins.baritone.refmap.json