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

How to compile the baritone folder into an executable jar file? #4540

Open
AVGCODESpy opened this issue Oct 31, 2024 · 2 comments
Open

How to compile the baritone folder into an executable jar file? #4540

AVGCODESpy opened this issue Oct 31, 2024 · 2 comments
Labels
question Further information is requested

Comments

@AVGCODESpy
Copy link

I never used java before. I'm on Minecraft 1.21 and with the help of #4466 I made baritone compatible with that version. The only issue is that I don't know how to compile it into an executable jar file so I can use it.
Thanks!

@AVGCODESpy AVGCODESpy added the question Further information is requested label Oct 31, 2024
@awesomeshot5051
Copy link

What IDE are you using? I just went through this as well. I was using Intellij. I had to pop out the Gradle menu, then under Tasks->unimined I double click remapJar. It compiles all the versions into a usable jar file located at (in the explorer) ->build->libs
image
image

@Blaze8834
Copy link

open powershell, cd to the baritone folder, and do ./gradlew build. this will take a bit, but there will now be a folder called builds. the jar file can be found there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants