mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add Chatbot API for accessing SendAction for things like Shift/Unshift
This commit is contained in:
parent
89c97c794c
commit
b2075bb811
1 changed files with 7 additions and 0 deletions
|
|
@ -676,6 +676,13 @@ namespace MinecraftClient
|
|||
Handler.UseItemOnHand();
|
||||
}
|
||||
/// <summary>
|
||||
/// Send Entity Action
|
||||
/// </summary>
|
||||
protected bool SendAction(Protocol.ActionType action)
|
||||
{
|
||||
return Handler.sendEntityAction(action);
|
||||
}
|
||||
/// <summary>
|
||||
/// SetSlot
|
||||
/// </summary>
|
||||
protected void SetSlot(int slotNum)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue