mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Add item moving helper class (#1243)
* Create item moving helper class * Change the method calling order for joined game Dispatch bot after things are initialized such as inventories * Add GetItemMovingHelper ChatBot method
This commit is contained in:
parent
de9dcd6d77
commit
cd1badb9d6
4 changed files with 186 additions and 1 deletions
|
|
@ -1182,6 +1182,16 @@ namespace MinecraftClient
|
|||
return Handler.DoWindowAction(inventoryId, slot, actionType);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get inventory action helper
|
||||
/// </summary>
|
||||
/// <param name="container">Inventory Container</param>
|
||||
/// <returns>ItemMovingHelper instance</returns>
|
||||
protected ItemMovingHelper GetItemMovingHelper(Container container)
|
||||
{
|
||||
return new ItemMovingHelper(container, Handler);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Change player selected hotbar slot
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue