Matt-MX / KtPaperGui

Declarative GUI focused library for PaperMC. Made for personal use but open source enjoy! :)
Apache License 2.0
26 stars 5 forks source link

New features #31

Open mani1232 opened 4 months ago

mani1232 commented 4 months ago

Auto generation pages, like this https://github.com/mani1232/CommandsToGui/blob/spigot-support/src/main/kotlin/cc/worldmandia/guis/MultiPageGui.kt And animation

Command builder like this https://github.com/mani1232/CommandsToGui/blob/spigot-support/src/main/kotlin/cc/worldmandia/commands/Commands.kt

KtPaperGui example https://github.com/mani1232/CommandsToGui

Matt-MX commented 4 months ago

I like the multi page i think that'd be a good feature, it was initially added as an example but I think it could be built upon some more.

The new declarative command builder I'm working on should work there, I plan on also using Brigadier for arguments if the versin is >= 1.20.6, see dev branch impl progress. Also includes pre-made arguments and will include a more effective implementation, since making new args requires quite some boilerplate sometimes.