mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Add Chatbot API for accessing Using Hand and changing slot
This commit is contained in:
parent
2fb4a91252
commit
89c97c794c
1 changed files with 14 additions and 0 deletions
|
|
@ -668,6 +668,20 @@ namespace MinecraftClient
|
||||||
{
|
{
|
||||||
return Handler.GetInventories();
|
return Handler.GetInventories();
|
||||||
}
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// Use item in hand
|
||||||
|
/// </summary>
|
||||||
|
protected void UseItemInHand()
|
||||||
|
{
|
||||||
|
Handler.UseItemOnHand();
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// SetSlot
|
||||||
|
/// </summary>
|
||||||
|
protected void SetSlot(int slotNum)
|
||||||
|
{
|
||||||
|
Handler.ChangeSlot((short) slotNum);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the current Minecraft World
|
/// Get the current Minecraft World
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue