mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-29 13:04:59 +00:00
pathing: tighten linear parkour execution
This commit is contained in:
parent
891763602a
commit
d919bff91f
22 changed files with 2072 additions and 79 deletions
|
|
@ -154,6 +154,11 @@ namespace MinecraftClient
|
|||
public string GetUserUuidStr() { return uuidStr; }
|
||||
public string GetSessionID() { return sessionid; }
|
||||
public Location GetCurrentLocation() { return location; }
|
||||
public bool GetLocalOnGround()
|
||||
{
|
||||
Location current = GetCurrentLocation();
|
||||
return physicsInitialized ? playerPhysics.OnGround : Movement.IsOnGround(world, current);
|
||||
}
|
||||
public float GetYaw() { return playerYaw; }
|
||||
public int GetSequenceId() { return sequenceId; }
|
||||
public float GetPitch() { return playerPitch; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue