WolfyUtilities
WolfyUtilities copied to clipboard
Cross-Platform GUI API [v5]
The current GUI API is only available on Spigot. There should be a cross-platform (Spigot, Sponge, Paper) API, which then would make it easier to create cross-platform inventory GUIs. Plus, the current GUI is pretty much hardcoded and not customizable outside Java classes.
The new system will be build using a functional style, meaning there is no need to create custom implementations for GUI Components and menus. All is done via builders and callback lambda functions.
API:
-
[x] Basic interface structure
-
[x] Basic common Implementation
-
[ ] Component Builders
- [ ] Allow for builder sharing across platforms. Create a builder with a common implementation, then access it on each platform to extend it.
-
[x] Config
- [x] Dynamically create builders from config.
- [x] Extend builders with states and actions via code.
- [x] Register builders that are done
Implementation
- [ ] Spigot/Paper
- [ ] Sponge