mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Done auxiliary methods for Direction
This commit is contained in:
parent
91ef890bb6
commit
df9443381b
3 changed files with 44 additions and 1 deletions
|
|
@ -1631,6 +1631,15 @@ namespace MinecraftClient.Scripting
|
|||
return Handler.GetProtocolVersion();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the horizontal direction of the takeoff.
|
||||
/// </summary>
|
||||
/// <returns>Return direction of view</returns>
|
||||
protected Direction GetHorizontalFacing()
|
||||
{
|
||||
return Handler.GetHorizontalFacing();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invoke a task on the main thread, wait for completion and retrieve return value.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue