From aca6503ac6f491026e39b46cbb7ae7806c775c27 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Mon, 27 Aug 2018 12:02:51 -0700 Subject: [PATCH] readme --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5d5d9c47..d2750b35 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,19 @@ the original version of the bot for Minecraft 1.8, rebuilt for 1.12.2. - Run the Gradle task `setupDecompWorkspace` - Run the Gradle task `genIntellijRuns` - Restart IntelliJ and import Gradle changes -- Select the "Minecraft Client" launch config and run \ No newline at end of file +- Select the "Minecraft Client" launch config and run + +# Chat control +Defined here + +Quick start example: `thisway 1000` or `goal 70` to set the goal, `path` to actually start pathing. Also try `mine diamond_ore`. `cancel` to cancel. + +# API example + +``` +Baritone.settings().allowSprint.value = true; +Baritone.settings().pathTimeoutMS.value = 2000L; + +PathingBehavior.INSTANCE.setGoal(new GoalXZ(10000, 20000)); +PathingBehavior.INSTANCE.path(); +``` \ No newline at end of file