mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Implement more realisic fall to ground
Should help moving around in servers using anti-cheat plugins. See #195
This commit is contained in:
parent
8ccc5d5af2
commit
a344ac4101
6 changed files with 85 additions and 30 deletions
|
|
@ -71,8 +71,10 @@ namespace MinecraftClient.Protocol
|
|||
/// Send a location update telling that we moved to that location
|
||||
/// </summary>
|
||||
/// <param name="location">The new location</param>
|
||||
/// <param name="onGround">True if the player is on the ground</param>
|
||||
/// <param name="yawpitch">Yaw and pitch (optional and currently not parsed)</param>
|
||||
/// <returns>True if packet was successfully sent</returns>
|
||||
bool SendLocationUpdate(Location location, bool onGround);
|
||||
bool SendLocationUpdate(Location location, bool onGround, byte[] yawpitch);
|
||||
|
||||
/// <summary>
|
||||
/// Send a plugin channel packet to the server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue