Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

Example project for forge api 1.12.2

TAG-Epic opened this issue ยท 9 comments

commented

What do you need help with?

Is there a example project for using the forge api version for 1.12.2?

Final checklist

  • I know how to properly use check boxes
  • I have not used any OwO's or UwU's in this issue.
commented

That's just the java docs? There isn't a example project there?

commented

What??

if you mean an example of how to install baritone into your forge mod, there's examples in usage.md, or you can just follow the jitpack instructions https://jitpack.io/#cabaletta/baritone

commented

Thanks! Although I'm getting this error when I'm trying to build.

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all files for configuration ':compileClasspath'.
> Could not find org.spongepowered:mixin:0.7.11-SNAPSHOT.
  Searched in the following locations:
    - https://jitpack.io/org/spongepowered/mixin/0.7.11-SNAPSHOT/maven-metadata.xml
    - https://jitpack.io/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.pom
    - https://jitpack.io/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar
    - https://files.minecraftforge.net/maven/org/spongepowered/mixin/0.7.11-SNAPSHOT/maven-metadata.xml
    - https://files.minecraftforge.net/maven/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.pom
    - https://files.minecraftforge.net/maven/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar
    - file:/home/epic/.gradle/caches/forge_gradle/bundeled_repo/org/spongepowered/mixin/0.7.11-SNAPSHOT/maven-metadata.xml
    - file:/home/epic/.gradle/caches/forge_gradle/bundeled_repo/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.pom
    - file:/home/epic/.gradle/caches/forge_gradle/bundeled_repo/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar
    - https://libraries.minecraft.net/org/spongepowered/mixin/0.7.11-SNAPSHOT/maven-metadata.xml
    - https://libraries.minecraft.net/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar
    - https://repo.maven.apache.org/maven2/org/spongepowered/mixin/0.7.11-SNAPSHOT/maven-metadata.xml
    - https://repo.maven.apache.org/maven2/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.pom
    - https://repo.maven.apache.org/maven2/org/spongepowered/mixin/0.7.11-SNAPSHOT/mixin-0.7.11-SNAPSHOT.jar
  Required by:
      project : > com.github.cabaletta:baritone:v1.2.14

commented

That's not an issue with Baritone, that means Mixin deleted their 7.11 branch for some reason. Try using 0.8

commented

Mind providing me to a github link for that? I'm getting build errors when I just changed that?

commented

Umm you'd just change 7.11-SNAPSHOT to 0.8-SNAPSHOT in the gradle. I made an issue in their repohttps://github.com/SpongePowered/Mixin/issues/420

commented

Yea, that's not really something Baritone can control. Gotta wait for a response as to why they deleted the tag

commented

I did, gave me build errors.