Skip to content
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

Add more methods to OpenGui #32

Open
PedroMPagani opened this issue Dec 22, 2022 · 0 comments
Open

Add more methods to OpenGui #32

PedroMPagani opened this issue Dec 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@PedroMPagani
Copy link

Finish implementation of
https://github.com/brcdev-minecraft/shopgui-api/blob/master/src/main/java/net/brcdev/shopgui/gui/gui/OpenGui.java

maybe add methods such as:

.getButtons(),
.getCategory()

Maybe change that gui or something to have a InventoryHolder implementation so that we can keep track with the .getOpenInventory, and then the inventory holder would bet he one holding htese 2 methods getButtons and category

There could be an event such as ShopOpenGuiEvent, it would contain 3 main fields, Player, OpenGui oldGUi, and OpenGui openingGui
so its also known if the player is switching guis(oldGUi not null)..

Maybe someone else has more addons for the API?

@brcdev brcdev added the enhancement New feature or request label Dec 22, 2022
@brcdev brcdev changed the title API Request Add more methods to OpenGui Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants