From 2c60220e32383f529f7c31c502c1e2217431f496 Mon Sep 17 00:00:00 2001 From: Howard Stark Date: Wed, 1 Aug 2018 14:05:04 -0400 Subject: [PATCH] Fix config files --- .gitignore | 5 ++--- build.gradle | 4 ++-- mixins.baritone.json | 2 +- src/minecraft/Start.java | 20 -------------------- 4 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 src/minecraft/Start.java diff --git a/.gitignore b/.gitignore index 42abafa51..68f3f8954 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ # Gradle /build/ .gradle/ +/classes/ +*.class # IntelliJ Files .idea/ @@ -54,6 +56,3 @@ nbproject/ /updatenames.sh /src/minecraft/net /src/minecraft/mcp -/classes - -*.class diff --git a/build.gradle b/build.gradle index 47da83523..e50c77c4a 100755 --- a/build.gradle +++ b/build.gradle @@ -33,9 +33,9 @@ apply plugin: 'org.spongepowered.mixin' minecraft { version = '1.12.2' mappings = 'snapshot_20180731' - tweakClass = 'baritone.launch.MinebotTweaker' + tweakClass = 'baritone.launch.BaritoneTweaker' runDir = 'run' - makeObfSourceJar = true + makeObfSourceJar = false } repositories { diff --git a/mixins.baritone.json b/mixins.baritone.json index 248c21be8..068def0ee 100755 --- a/mixins.baritone.json +++ b/mixins.baritone.json @@ -1,6 +1,6 @@ { "required": true, - "package": "minebot.launch.mixins", + "package": "baritone.launch.mixins", "refmap": "mixins.client.refmap.json", "compatibilityLevel": "JAVA_8", "verbose": false, diff --git a/src/minecraft/Start.java b/src/minecraft/Start.java deleted file mode 100644 index 46ccf4f22..000000000 --- a/src/minecraft/Start.java +++ /dev/null @@ -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[] 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; - } -}