From b55d96169f571ea2578ccc03e81792c990eb0593 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 19 Oct 2018 21:15:37 -0700 Subject: [PATCH] update some documentation --- Dockerfile | 8 ++++---- INSTALL.md | 8 +++----- scripts/proguard.pro | 3 +++ 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 321a902af..bec43d699 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,10 @@ RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr COPY . /code -# this .deb is specially patched to support lwjgl -# source: https://github.com/tectonicus/tectonicus/issues/60#issuecomment-154239173 -RUN dpkg -i /code/scripts/xvfb_1.16.4-1_amd64.deb - WORKDIR /code +# this .deb is specially patched to support lwjgl +# source: https://github.com/tectonicus/tectonicus/issues/60#issuecomment-154239173 +RUN dpkg -i scripts/xvfb_1.16.4-1_amd64.deb + RUN ./gradlew build \ No newline at end of file diff --git a/INSTALL.md b/INSTALL.md index 3dfa76752..d829ccfc3 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -3,6 +3,8 @@ Impact 4.4 has Baritone included. These instructions apply to Impact 4.3 (and potentially other hacked clients). +To run Baritone on Vanilla, just follow the instructions in the README (it's `./gradlew runClient`). + ## An Introduction There are some basic steps to getting Baritone setup with Impact. @@ -12,7 +14,7 @@ There are some basic steps to getting Baritone setup with Impact. - How to use Baritone ## Acquiring a build of Baritone -There are 3 methods of acquiring a build of Baritone (While it is still in development) +There are two methods of acquiring a build of Baritone ### Official Release (Not always up to date) https://github.com/cabaletta/baritone/releases @@ -33,10 +35,6 @@ command line - Mac/Linux: ``./gradlew build`` - The build should be exported into ``/build/libs/baritone-X.Y.Z.jar`` -### Cutting Edge Release -If you want to trust @Plutie#9079, you can download an automatically generated build of the latest commit -from his Jenkins server, found here. - ## Placing Baritone in the libraries directory ``/libraries`` is a neat directory in your Minecraft Installation Directory that contains all of the dependencies that are required from the game and some mods. This is where we will be diff --git a/scripts/proguard.pro b/scripts/proguard.pro index 739774ca3..a13a0e3f1 100644 --- a/scripts/proguard.pro +++ b/scripts/proguard.pro @@ -13,9 +13,12 @@ -repackageclasses 'baritone' -keep class baritone.api.** { *; } # this is the keep api + +# service provider needs these class names -keep class baritone.BaritoneProvider -keep class baritone.api.IBaritoneProvider +# hack -keep class baritone.utils.ExampleBaritoneControl { *; } # setting names are reflected from field names, so keep field names