Added Entity Action handling, and A TSneak command that will Toggle Sneak.

This commit is contained in:
CarbonNeuron 2020-05-01 08:28:22 -05:00
parent 9dae40153c
commit 384c804e54
10 changed files with 176 additions and 5 deletions

View file

@ -85,7 +85,15 @@ namespace MinecraftClient.Protocol
/// <param name="data">packet Data</param>
/// <returns>True if message was successfully sent</returns>
bool SendPluginChannelPacket(string channel, byte[] data);
/// <summary>
/// Send Entity Action packet to the server.
/// </summary>
/// <param name="entityID">PlayerID</param>
/// <param name="type">Type of packet to send</param>
/// <returns>True if packet was successfully sent</returns>
bool SendEntityAction(int EntityID, int type);
/// <summary>
/// Send a held item change packet to the server.
/// </summary>