diff --git a/MinecraftClient/ChatBot.cs b/MinecraftClient/ChatBot.cs index 020951e3..64e9c8ba 100644 --- a/MinecraftClient/ChatBot.cs +++ b/MinecraftClient/ChatBot.cs @@ -581,6 +581,28 @@ namespace MinecraftClient return null; } + /// + /// Get the current location of the player + /// + /// Minecraft world or null if associated setting is disabled + + protected Mapping.Location GetCurrentLocation() + { + return Handler.GetCurrentLocation(); + } + + /// + /// Move to the specified location + /// + /// Location to reach + /// Allow possible but unsafe locations + /// True if a path has been found + + protected bool MoveToLocation(Mapping.Location location, bool allowUnsafe = false) + { + return Handler.MoveTo(location, allowUnsafe); + } + /// /// Get a Y-M-D h:m:s timestamp representing the current system date and time /// diff --git a/MinecraftClient/config/README.txt b/MinecraftClient/config/README.txt index a55ff28f..0f1ad802 100644 --- a/MinecraftClient/config/README.txt +++ b/MinecraftClient/config/README.txt @@ -16,6 +16,7 @@ First, extract the archive if not already extracted. On Windows, simply open MinecraftClient.exe by double-clicking on it. On Mac or Linux, open a terminal in this folder and run "mono MinecraftClient.exe". If you cannot authenticate on Mono, you'll need to run "mozroots --import --ask-remove" once. +If Mono crashes, retry with mono-complete, not mono-runtime. Mono v4.0 to 4.2 is recommended. =========================================== Using Configuration files & Enabling bots