Fix config files
This commit is contained in:
parent
7fb426f94d
commit
2c60220e32
5
.gitignore
vendored
5
.gitignore
vendored
@ -4,6 +4,8 @@
|
|||||||
# Gradle
|
# Gradle
|
||||||
/build/
|
/build/
|
||||||
.gradle/
|
.gradle/
|
||||||
|
/classes/
|
||||||
|
*.class
|
||||||
|
|
||||||
# IntelliJ Files
|
# IntelliJ Files
|
||||||
.idea/
|
.idea/
|
||||||
@ -54,6 +56,3 @@ nbproject/
|
|||||||
/updatenames.sh
|
/updatenames.sh
|
||||||
/src/minecraft/net
|
/src/minecraft/net
|
||||||
/src/minecraft/mcp
|
/src/minecraft/mcp
|
||||||
/classes
|
|
||||||
|
|
||||||
*.class
|
|
||||||
|
@ -33,9 +33,9 @@ apply plugin: 'org.spongepowered.mixin'
|
|||||||
minecraft {
|
minecraft {
|
||||||
version = '1.12.2'
|
version = '1.12.2'
|
||||||
mappings = 'snapshot_20180731'
|
mappings = 'snapshot_20180731'
|
||||||
tweakClass = 'baritone.launch.MinebotTweaker'
|
tweakClass = 'baritone.launch.BaritoneTweaker'
|
||||||
runDir = 'run'
|
runDir = 'run'
|
||||||
makeObfSourceJar = true
|
makeObfSourceJar = false
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"required": true,
|
"required": true,
|
||||||
"package": "minebot.launch.mixins",
|
"package": "baritone.launch.mixins",
|
||||||
"refmap": "mixins.client.refmap.json",
|
"refmap": "mixins.client.refmap.json",
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_8",
|
||||||
"verbose": false,
|
"verbose": false,
|
||||||
|
@ -1,20 +0,0 @@
|
|||||||
import java.io.File;
|
|
||||||
import java.lang.reflect.Field;
|
|
||||||
import java.util.Arrays;
|
|
||||||
|
|
||||||
import net.minecraft.client.main.Main;
|
|
||||||
|
|
||||||
public class Start
|
|
||||||
{
|
|
||||||
public static void main(String[] args)
|
|
||||||
{
|
|
||||||
Main.main(concat(new String[] {"--version", "mcp", "--accessToken", "0", "--assetsDir", "assets", "--assetIndex", "1.12", "--userProperties", "{}"}, args));
|
|
||||||
}
|
|
||||||
|
|
||||||
public static <T> T[] concat(T[] first, T[] second)
|
|
||||||
{
|
|
||||||
T[] result = Arrays.copyOf(first, first.length + second.length);
|
|
||||||
System.arraycopy(second, 0, result, first.length, second.length);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user