mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Support use left hand
This commit is contained in:
parent
effb3050b4
commit
ccb8610020
5 changed files with 24 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue