From b2075bb8116889915fdea454ffd5f95cb1b3ef65 Mon Sep 17 00:00:00 2001 From: CarbonNeuron Date: Sat, 2 May 2020 03:53:39 -0500 Subject: [PATCH] Add Chatbot API for accessing SendAction for things like Shift/Unshift --- MinecraftClient/ChatBot.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/MinecraftClient/ChatBot.cs b/MinecraftClient/ChatBot.cs index 67787247..a90a9600 100644 --- a/MinecraftClient/ChatBot.cs +++ b/MinecraftClient/ChatBot.cs @@ -676,6 +676,13 @@ namespace MinecraftClient Handler.UseItemOnHand(); } /// + /// Send Entity Action + /// + protected bool SendAction(Protocol.ActionType action) + { + return Handler.sendEntityAction(action); + } + /// /// SetSlot /// protected void SetSlot(int slotNum)