zml
59c5a8310c
build: update build-time dependencies, address new warnings ( #413 )
...
* build: update build-time dependencies, address new warnings
* build: switch to central repo declaration, remove redundant repositories
* build: use spotless predeclaration, more task avoidance on kotlin modules
2022-12-13 11:13:00 -07:00
Jason
0bb6625de6
Update cloud-bukkit & cloud-paper for Minecraft 1.19.3 ( #412 )
2022-12-13 11:13:00 -07:00
Jason
eca81f7372
Improve FilteringCommandSuggestionProcessor and adjust default filters ( #410 )
2022-12-13 11:13:00 -07:00
Jason Penilla
adea7d5ba9
Set paper override when available in selector suggestions to match parsing behavior
2022-12-13 11:13:00 -07:00
Jason Penilla
ead52ef3aa
Javadoc and SelectorUtils cleanup
2022-12-13 11:13:00 -07:00
Jason Penilla
c9d0040596
Update license
2022-12-13 11:13:00 -07:00
Jason Penilla
82894ccdff
Fix pre-1.13 compat
2022-12-13 11:13:00 -07:00
Jason Penilla
3a0768500b
Add Javadoc for selector arguments
2022-12-13 11:13:00 -07:00
Jason Penilla
d403063622
Fix license
2022-12-13 11:13:00 -07:00
Jason Penilla
f92f26f6df
Fix EntitySelectorWrapper annotations
2022-12-13 11:13:00 -07:00
Jason Penilla
2f34437398
Rewrite Bukkit entity selector arguments using WrappedBrigadierParser instead of Bukkit API
...
- Proper handling of spaces
- Possible to use built-in minecraft translations for brigadier exceptions
- Fixes suggestions on Paper in combination with their option to fix tag selector suggestions
- Added option to fail parse when the result collection is empty
2022-12-13 11:13:00 -07:00
Jason Penilla
4179bc4290
Fix #388
2022-08-26 11:49:37 -07:00
Jason Penilla
abf662a51d
bukkit/paper : Fix ItemStackPredicateArgument reflection
2022-08-26 11:49:37 -07:00
Alexander Söderberg
296539d56c
chore(core): deprecate prefixed accessors/mutators in CommandManager ( #377 )
...
chore(core): deprecate prefixed accessors/mutators in CommandManager.java
All prefixed (actual) getters/setters in CommandManager have been deprecated, and non-prefixed alternatives have been introduced. I've also put some effort into improving the JavaDocs of these methods.
2022-06-18 22:52:58 -07:00
Jason Penilla
687cd4c536
bukkit/paper: Update for commodore 2.0
2022-06-18 22:52:58 -07:00
Citymonstret
2dfbefdd7a
fix(bukkit): only update commands if the method exists
2022-06-18 22:52:58 -07:00
Citymonstret
de22d70669
fix(bukkit): use Server#getMinecraftVersion when available
2022-06-18 22:52:58 -07:00
Citymonstret
89ec3fbf29
chore: make code style consistent
2022-06-18 22:52:58 -07:00
Jason Penilla
a2cea2f33e
bukkit/paper: NamespacedKeyParseException cleanup
2022-06-18 22:52:58 -07:00
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