Commit graph

143 commits

Author SHA1 Message Date
Jason
c250aa642f bukkit/paper: Add NamespacedKeyArgument (#376) 2022-06-18 22:52:58 -07:00
Jason Penilla
a441f42666 bukkit/paper: Deprecate unused BukkitCommandSender and inheritors 2022-06-18 22:52:58 -07:00
Jason Penilla
ef2582edc3 bukkit/paper: Fix BlockPredicateArgument on 1.18.2 2022-06-18 22:52:58 -07:00
Jason Penilla
9f6fb76a2a bukkit/paper: Fix BukkitBrigadierMapper#mapSimpleContextNMS on 1.18.2 2022-06-18 22:52:58 -07:00
Jason Penilla
52e6a53175 bukkit/paper: Fix Holder#value reflection in obf environment 2022-06-18 22:52:58 -07:00
Jason
1fe1b4a0d3 bukkit/paper: Update reflection for Minecraft 1.19 (#374) 2022-06-18 22:52:58 -07:00
Alexander Söderberg
2572b73c4b feat(bukkit/paper): add root command deletion support (#371) 2022-06-18 22:52:58 -07:00
Alexander Söderberg
28ff5d3003 feat(core): support root command deletion & standardize capabilities (#369) 2022-06-18 22:52:58 -07:00
zml
ed7b7569a8 build: switch to spotless (#355)
* build: switch to spotless

add in some other basic formatting steps that allow for easy
auto-correction

* build: lint text files as well

* chore: remove license headers from package-info files

spotless can't verify these
2022-06-18 22:52:58 -07:00
Jason Penilla
eae247954f build and publishing updates 2022-06-18 22:52:58 -07:00
Jason Penilla
c26fbcb6fc Fix incorrect inputQueue usage in some argument types 2022-02-28 13:57:35 -07:00
Jason Penilla
3d2d850533 Update MinecraftArgumentTypes util for 1.18.2 2022-02-28 13:57:35 -07:00
Jason Penilla
5fb18ddc6e Update BlockPredicateArgument for 1.18.2 2022-02-28 13:57:35 -07:00
Jason Penilla
708d11854e Fix import order 2021-12-02 02:04:43 -08:00
Jason Penilla
dd4f67ad2e undo intellij auto format 2021-12-02 02:04:43 -08:00
Jason Penilla
a22d9e0100 Remove redundant Function 2021-12-02 02:04:43 -08:00
Jason Penilla
c473e9674a Fixup duplicated field 2021-12-02 02:04:43 -08:00
Jason Penilla
66c803852c Update CraftBukkit reflection for 1.18 2021-12-02 02:04:43 -08:00
Jason Penilla
9dc4e87fa8 Use typesafe dependency accessors 2021-12-02 02:04:43 -08:00
Jason Penilla
9c804addbd bukkit: Use name from root argument for consistency with rest of BukkitCommand
shouldn't actually make any difference
2021-12-02 02:04:43 -08:00
Jason Penilla
8399bce8d2 bukkit: Use command name instead of label to get node 2021-12-02 02:04:43 -08:00
Jason Penilla
cf05494fae Fix annotations 2021-12-02 02:04:43 -08:00
Jason Penilla
e5acfb2414 bukkit: Fix usage string and permission checking for Bukkit help menu 2021-12-02 02:04:43 -08:00
Jason Penilla
b4492e9bc5 Fix Brigadier suggestions for KeyedWorldArgument 2021-12-02 02:04:43 -08:00
Jason Penilla
3b2f2edb60 bukkit: Improve failure handling in EnchantmentArgument 2021-12-02 02:04:43 -08:00
Jason Penilla
f7b7b93251 Various minor cleanup 2021-07-05 02:56:06 -07:00
Jason Penilla
ab0a9299e4 bukkit: Check class presence for CloudBukkitCapabilities instead of using Minecraft version 2021-07-05 02:56:06 -07:00
Jason Penilla
b163dce3c1 bukkit: Fix typo in MinecraftArgumentTypes 2021-07-05 02:56:06 -07:00
Jason
04e697cca6 bukkit: Update Minecraft Brigadier argument types to work on Mojang-mapped servers (#267) 2021-07-05 02:56:06 -07:00
Shane Freeder
db2c3f1724 Support running on a mojmap'd paper server 2021-07-05 02:56:06 -07:00
Jason Penilla
e4bc67e906 bukkit: Use correct constructor for Brigadier Vec2 argument type 2021-07-05 02:56:06 -07:00
Jason Penilla
4312062e82 Fix checkstyle violation 2021-07-05 02:56:06 -07:00
Jason Penilla
123341563d bukkit: Update for Minecraft 1.17 2021-07-05 02:56:06 -07:00
Jason
7da05da323 bukkit: Implement ItemStack and Block predicate arguments (#259) 2021-07-05 02:56:06 -07:00
jmp
99040ca68a bukkit: Use WrappedBrigadierParser for modern ItemStack suggestions 2021-07-05 02:56:06 -07:00
jmp
56f8b58489 bukkit: Only suggest items for ItemStackArgument 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
Jason
e109e639a1 core: Improvements to number arguments (#255) 2021-07-05 02:56:06 -07:00
Jason
c9ac39ed26 Update build scripts for Gradle 7 (#247)
* fabric: Update Loom to 0.7-SNAPSHOT

* Update to Gradle 7

Switch to CadixDev/licenser
The plugin we were using before does not support Gradle 7, and hasn't been updated in over a year.

* Remove `jcenter()` references

* Move to new JDA repo and bump version

* Use setup-java v2 and Adopt JDK 16 in gh actions

* build: Temporarily add Incendo repo for plugin resolution

Allows building until licenser has a new release

* Import indra plugin classes instead of string applies

* remove space

Co-authored-by: broccolai <me@broccol.ai>
2021-07-05 02:56:06 -07:00
jmp
0722bf6ead bukkit/paper/velocity: Add convenience methods for constructing command managers using native platform sender types 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
jmp
956700b310 Remove unused imports 2021-07-05 02:56:06 -07:00
jmp
58f49033ce Use Command instead of TabCompleteEvent on Bukkit 2021-07-05 02:56:06 -07:00
Alexander Söderberg
1600ef16c3
:clock: 2021 let's go!!! 2021-01-16 09:58:46 +01:00
Zach Levis
78b081ccc2 core: Allow attaching a default description to arguments 2021-01-16 08:54:07 +01:00
Jason
fcae5b8637 Add Location2DArgument, mapped to NMS Vec2I (#201) 2021-01-16 08:54:07 +01:00
jmp
8913b2495e 🐛 Transition to AFTER_REGISTRATION even when no commands have been registered 2021-01-16 08:54:07 +01:00
jmp
b848070d57 Use an Object with fields instead of a Map for dependency versions 2021-01-16 08:54:07 +01:00
jmp
f1e467038c Rename vers to versions 2021-01-16 08:54:07 +01:00
jmp
2c188eb130 Convert build scripts to Kotlin
Also added some new tasks to only build/install to maven local certain platforms
`buildMinecraft`, `installMinecraft`, `buildDiscord`, `installDiscord`, `buildIRC`, `installIRC`
2021-01-16 08:54:07 +01:00