Add ChatBot methods to get inventories.

This commit is contained in:
CarbonNeuron 2020-05-01 10:52:43 -05:00
parent 6eb12fd489
commit 8b57b657e6
2 changed files with 5 additions and 0 deletions

View file

@ -664,6 +664,10 @@ namespace MinecraftClient
{
return Handler.GetInventoryEnabled();
}
public Dictionary<int, Container> GetInventories()
{
return Handler.GetInventories();
}
/// <summary>
/// Get the current Minecraft World

View file

@ -6,6 +6,7 @@ using System.Net.Sockets;
using System.Threading;
using System.IO;
using System.Net;
using MinecraftClient.ChatBots;
using MinecraftClient.Protocol;
using MinecraftClient.Proxy;
using MinecraftClient.Protocol.Handlers.Forge;