mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Supports changing position and angle after catching fish
This commit is contained in:
parent
ccb8610020
commit
949126c9cb
7 changed files with 249 additions and 38 deletions
|
|
@ -1012,6 +1012,16 @@ namespace MinecraftClient
|
|||
Handler.UpdateLocation(Handler.GetCurrentLocation(), location);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Look at the specified location
|
||||
/// </summary>
|
||||
/// <param name="yaw">Yaw to look at</param>
|
||||
/// <param name="pitch">Pitch to look at</param>
|
||||
protected void LookAtLocation(float yaw, float pitch)
|
||||
{
|
||||
Handler.UpdateLocation(Handler.GetCurrentLocation(), yaw, pitch);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get a Y-M-D h:m:s timestamp representing the current system date and time
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue