mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
New method for getting looking location (#1503)
* New method for getting looking location * improve
This commit is contained in:
parent
240468ad22
commit
90505dbc4c
5 changed files with 98 additions and 12 deletions
|
|
@ -1016,7 +1016,25 @@ namespace MinecraftClient
|
|||
{
|
||||
return Handler.GetGamemode();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Return the head yaw of the client player
|
||||
/// </summary>
|
||||
/// <returns>Yaw of the client player</returns>
|
||||
protected float GetYaw()
|
||||
{
|
||||
return Handler.GetYaw();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the head pitch of the client player
|
||||
/// </summary>
|
||||
/// <returns>Pitch of the client player</returns>
|
||||
protected float GetPitch()
|
||||
{
|
||||
return Handler.GetPitch();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Return the UserUUID of the current account
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue