Finish AutoCraft core functional part

This commit is contained in:
ReinforceZwei 2020-07-09 22:21:39 +08:00 committed by ORelio
parent 82fb081828
commit 97d7325939
5 changed files with 220 additions and 52 deletions

View file

@ -1181,6 +1181,16 @@ namespace MinecraftClient
return Handler.RegisterCommand(cmdName, cmdDesc, callback);
}
/// <summary>
/// Close a opened inventory
/// </summary>
/// <param name="inventoryID"></param>
/// <returns>True if success</returns>
protected bool CloseInventory(int inventoryID)
{
return Handler.CloseInventory(inventoryID);
}
/// <summary>
/// Command runner definition.
/// Returned string will be the output of the command