Fix missing packet IDs for older MC versions

Fix packets not implemented for versions older than 1.14
Please implement all versions when adding a new packet!
This commit is contained in:
ORelio 2020-05-26 13:01:01 +02:00
parent 86e5fe54ea
commit b2e6953075
7 changed files with 265 additions and 192 deletions

View file

@ -162,9 +162,10 @@ namespace MinecraftClient.Protocol
/// <summary>
/// Plays animation
/// </summary>
/// <param name="animation"> <0|1></param>
/// <param name="animation">0 for left arm, 1 for right arm</param>
/// <param name="playerid">Player Entity ID</param>
/// <returns>TRUE if item given successfully</returns>
bool SendAnimation(int animation);
bool SendAnimation(int animation, int playerid);
/// <summary>
/// Send a close window packet to the server