Commit graph

8 commits

Author SHA1 Message Date
Alexander Söderberg
74fd40f403 feat(annotations): add @CommandMethod annotation processing (#366)
We now verify the following at compile time:
- That `@CommandMethod` annotated methods are non-static (error)
- That `@CommandMethod` annotated methods are public (warning)
- That the `@CommandMethod` syntax and specified `@Argument`s match
- That no optional argument precedes a required argument
2022-06-18 22:52:58 -07:00
Jason Penilla
708d11854e Fix import order 2021-12-02 02:04:43 -08:00
jmp
99040ca68a bukkit: Use WrappedBrigadierParser for modern ItemStack suggestions 2021-07-05 02:56:06 -07:00
Jason
e3cc7d43cb bukkit: Implement ItemStackArgument (#257)
Fully featured on 1.13+, falls back to Material parser on legacy versions.

Also some general cleanup to the Bukkit impl
2021-07-05 02:56:06 -07:00
jmp
d72558ee81 fabric: Remove unfinished argument types, add some javadoc, fix checkstyle issues 2021-07-05 02:56:06 -07:00
Zach Levis
3be50956cc fabric: Begin adding support for some wrapped vanilla arguments 2021-07-05 02:56:06 -07:00
broccolai
d5259dfbe4 Add explict this checkstyle rule and fix violations 2021-07-05 02:56:06 -07:00
Zach Levis
98f389a72a build: Move to using Indra 2021-01-17 09:43:45 +01:00