new command /animation (#1026)

This commit is contained in:
Рома Данилов 2020-05-26 14:02:09 +05:00 committed by GitHub
parent 23870711a0
commit 87b2d3bf4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 409 additions and 311 deletions

View file

@ -1481,6 +1481,16 @@ namespace MinecraftClient
public bool DoCreativeGive(int slot, ItemType itemType, int count)
{
return handler.SendCreativeInventoryAction(slot, itemType, count);
}
/// <summary>
/// Plays animation
/// </summary>
/// <param name="animation"> <0|1></param>
/// <returns>TRUE if item given successfully</returns>
public bool DoAnimation(int animation)
{
return handler.SendAnimation(animation);
}
/// <summary>