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

Developer API #89

Open
NeumimTo opened this issue Mar 30, 2019 · 1 comment
Open

Developer API #89

NeumimTo opened this issue Mar 30, 2019 · 1 comment

Comments

@NeumimTo
Copy link

Im very dissapointed in the Sponge Inventory API, since its abstraction does more harm than good.

Im thinking about abandoning the Sponge Inventory API an using Virtual Chest for my menu inventory menu.

https://github.com/Sponge-RPG-dev/NT-RPG

Could you post an example how to use VirtualChest API ?

@ustc-zzzz
Copy link
Member

ustc-zzzz commented Mar 30, 2019

There is currently no such api which could provide convenience on the creation of menus. The api itself only provides a functional interface whose input is an identifier string and a player and whose output is a sponge Inventory.

Adding an api providing convenience on the creation of menus seems to be a good idea and may also be welcomed, but it is a work which may take a long time since VirtualChest itself has a relatively large code base, so the new api I am working on now is focused on how to make other plugins cooperate better with VirtualChest (which is also easier to design and implement), and the priority of the api you want is lower.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants