-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulating Inventory Events #247
Comments
We currently do not have support for this yet, although this kind of functionality is perfectly within the scope of MockBukkit. |
Thanks for commenting even after three months! I would really like to see that functionality since I was and still am developing an inventory API. |
Hello @Trqhxrd
doAnswer(invocation -> {
InventoryCloseEvent event = new InventoryCloseEvent(inventoryView);
// TODO Call the Bukkit event or a custom method of your inventory class
return null;
}).when(player).closeInventory(); |
Is this still open? Or can we close this |
We only have one of the suggested methods, and there are a lot more inventory simulations that can be added so I'd keep it open. |
Hi yall!
I try to make an API, that simplifies the way you create inventory menus.
I want to test it and have simulate clicks, closes and drags in the inventory.
How do I do that?
Kind regards,
Trqhxrd
The text was updated successfully, but these errors were encountered: