Unsure of how to build 1.5 version
MoonBarc opened this issue ยท 7 comments
What do you need help with?
I've switched to the 1.5 branch (i think) and cloned it, but when I run build
in gradle in IntelliJ, it gives me the 1.2 version of baritone instead. I know I can go to releases and install it but I want to modify it and add new commands and other stuff like that. If it's possible, I'd also like to test the client without having to go through the very painful custom install process every time. Is this possible?
Final checklist
- I know how to properly use check boxes
- I have not used any OwO's or UwU's in this issue.
You need to clone the branch itself, it make sure you checked it out with git checkout
As for the last question, genIntellijRuns and set the module to baritone.main, as described on my website here (same process) https://blue.bella.wtf/contributing (see running in intellij idea)
The only thing I can find is the instructions for replacing the Impact Baritone API, not installing the standalone. I've tried the following JSON, while moving a custom api build somewhere in the libraries folder. JSON:
{
"id": "1.15.2-LEAF",
"type": "release",
"inheritsFrom": "1.15.2",
"jar": "1.15.2",
"time": "2019-07-23T20:50:21Z",
"releaseTime": "2019-07-23T20:50:21Z",
"downloads": {},
"minimumLauncherVersion": 0,
"mainClass": "net.minecraft.launchwrapper.Launch",
"arguments": {
"game": [
"--tweakClass",
"baritone.launch.BaritoneTweaker"
]
},
"libraries": [
{
"name": "net.minecraft:launchwrapper:1.12"
},
{
"name": "cabaletta:baritone-api:1.5"
},
{
"name": "com.github.ImpactDevelopment:SimpleTweaker:1.2",
"url": "https://impactdevelopment.github.io/maven/"
},
{
"name": "org.spongepowered:mixin:0.7.11-SNAPSHOT",
"url": "http://dl.liteloader.com/versions/"
},
{
"name": "org.ow2.asm:asm-all:5.0.3",
"url": "https://repo1.maven.org/maven2/"
}
]
}
and it loads into the launcher correctly, however it still uses the unmodified baritone, not the custom one that I built.