diff --git a/bot/client.go b/bot/client.go index 1fa346f..fe052ba 100644 --- a/bot/client.go +++ b/bot/client.go @@ -22,8 +22,6 @@ type Client struct { // Do not send at the same goroutine! Delegate chan func() error Events eventBroker - - Inventory [46]entity.Slot } // NewClient init and return a new Client. @@ -72,13 +70,3 @@ type PlayerAbilities struct { type Position struct { X, Y, Z int } - -//HotBar return the hotbar of inventory -func (c *Client) HotBar() []entity.Slot { - return c.Inventory[36:45] -} - -// MainInventory return the main inventory slots -func (c *Client) MainInventory() []entity.Slot { - return c.Inventory[9:36] -}