Add basic location handling

- Retrieve player location from the server
- Send back player location from the server
- Requires that a specific setting is enabled
- Should allow items to be picked up by the player
- May also trigger some anti chead plugins
This commit is contained in:
ORelio 2015-11-27 17:16:33 +01:00
parent 5654871a57
commit 72bd485e67
11 changed files with 319 additions and 17 deletions

View file

@ -7,6 +7,7 @@ using System.Threading;
using MinecraftClient.Crypto;
using MinecraftClient.Proxy;
using System.Security.Cryptography;
using MinecraftClient.Mapping;
namespace MinecraftClient.Protocol.Handlers
{
@ -615,6 +616,11 @@ namespace MinecraftClient.Protocol.Handlers
return false; //Only supported since MC 1.7
}
public bool SendLocationUpdate(Location location, bool onGround)
{
return false; //Currently not implemented
}
/// <summary>
/// Send a plugin channel packet to the server.
/// </summary>