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
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