Support use left hand

This commit is contained in:
BruceChen 2022-09-12 02:19:20 +08:00
parent effb3050b4
commit ccb8610020
5 changed files with 24 additions and 1 deletions

View file

@ -1277,6 +1277,15 @@ namespace MinecraftClient
return InvokeOnMainThread(() => handler.SendUseItem(0, this.sequenceId));
}
/// <summary>
/// Use the item currently in the player's left hand
/// </summary>
/// <returns>TRUE if the item was successfully used</returns>
public bool UseItemOnLeftHand()
{
return InvokeOnMainThread(() => handler.SendUseItem(1, this.sequenceId));
}
/// <summary>
/// Try to merge a slot
/// </summary>