{"repo":"firejoust/mineflayer-GUI","free":true,"listed":false,"github":"https://github.com/firejoust/mineflayer-GUI","clone":"git clone https://github.com/firejoust/mineflayer-GUI.git","description":"Manage nested GUI windows in mineflayer using a high level API","language":"JavaScript","stars":39,"topics":["nodejs","minecraft","mineflayer","mineflayer-plugin"],"license":null,"category":"workflow-automation","readme_excerpt":"Mineflayer GUI A promise-based API for GUI interaction using mineflayer. Simplifies automating interactions such as clicking through lobby selectors, navigating shop interfaces, etc. Features chainable async methods for clean, readable code when automating complex GUI interactions. Installation Usage API Reference bot.gui.Query() Creates a new query object. This is the starting point for all inventory operations. Note: Does not require new operator. Query The main query object. Methods return selector objects (Hotbar, Window, Inventory) for further chaining. .Hotbar(comparator) : Selects the hotbar for operations. .Window(comparator) : Selects the currently open window ( bot.currentWindow ). .Inventory(comparator) : Selects the player's inventory ( bot.inventory ). .run() : Executes the queued operations. Returns a promise that resolves to true if all operations were successful, otherwise false . comparator is a function (item, p Item) = boolean that determines if an item matches. item is your search criteria (usually a string), and p Item is the item being checked. Hotbar .Equip(item) : Equips the specified item from the hotbar. .Open(item, clickType = \"right\", timeout = 5000) : Clicks the specified item to open a window (e.g. right-clicking a compass). clickType can be \"left\" or \"right\" . timeout is in milliseconds (how long to wait for the window to open; -1 to disable). .Drop(item, count = 64) : Drops the specified item from the hotbar. count specifies the number of items","default_branch":null,"files":null,"tree":[],"storefront":"/r/firejoust","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/firejoust/mineflayer-GUI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}