mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
parent
0b32bb5a0f
commit
67fc431d4a
2 changed files with 23 additions and 0 deletions
|
|
@ -581,6 +581,28 @@ namespace MinecraftClient
|
|||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get the current location of the player
|
||||
/// </summary>
|
||||
/// <returns>Minecraft world or null if associated setting is disabled</returns>
|
||||
|
||||
protected Mapping.Location GetCurrentLocation()
|
||||
{
|
||||
return Handler.GetCurrentLocation();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Move to the specified location
|
||||
/// </summary>
|
||||
/// <param name="location">Location to reach</param>
|
||||
/// <param name="allowUnsafe">Allow possible but unsafe locations</param>
|
||||
/// <returns>True if a path has been found</returns>
|
||||
|
||||
protected bool MoveToLocation(Mapping.Location location, bool allowUnsafe = false)
|
||||
{
|
||||
return Handler.MoveTo(location, allowUnsafe);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get a Y-M-D h:m:s timestamp representing the current system date and time
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue