Done auxiliary methods for Direction

This commit is contained in:
Roman Danilov 2024-03-05 21:49:29 +05:00
parent 91ef890bb6
commit df9443381b
3 changed files with 44 additions and 1 deletions

View file

@ -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>