Jason Penilla
cd6fe0e120
build/fabric: Use Quiet Fabric Loom
2021-07-05 02:56:06 -07:00
Jason Penilla
e22b75fe86
build/fabric: Update loom to 0.8-SNAPSHOT
2021-07-05 02:56:06 -07:00
zml
1d2d5d373d
fix loom being broken
2021-07-05 02:56:06 -07:00
Jason Penilla
f7b7b93251
Various minor cleanup
2021-07-05 02:56:06 -07:00
Jason Penilla
8460284ea0
fabric: Remove get prefixes from new methods
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
9692593095
fabric: Fix line length violations
2021-07-05 02:56:06 -07:00
Jason Penilla
28821b5ff1
fabric: Remap to Mojang names
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
ab86332990
fabric: General cleanup and javadoc improvements
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
broccolai
4957a23e5d
Fix todo
2021-07-05 02:56:06 -07:00
broccolai
950d69ac5c
Initial work
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
09fac7734e
brigadier: Use StringArgumentType.word() as fallback
...
`StringArgumentType.string()` is quoted mode.
2021-07-05 02:56:06 -07:00
broccolai
2a4c29267c
Use default descriptions and others
2021-07-05 02:56:06 -07:00
jmp
05bf533419
fabric: Use lockRegistration instead of calling transitionOrThrow to lock registration
2021-07-05 02:56:06 -07:00
jmp
fd9a819e30
fabric: Update Loom to 0.7-SNAPSHOT
2021-07-05 02:56:06 -07:00
jmp
dbb293017a
fabric: Add missing dependency to fabric.mod.json
2021-07-05 02:56:06 -07:00
zml
900335df8b
fabric: Catch late command manager instantiation ( #245 )
...
This would previously result in command registration silently failing,
since commands are registered before the server starts.
2021-07-05 02:56:06 -07:00
jmp
ab615127b9
Remove todos
2021-07-05 02:56:06 -07:00
jmp
e98ae06594
fabric: remove redundant @Unique
2021-07-05 02:56:06 -07:00
jmp
0d5c2b0b65
fabric: fix checkstyle issues
2021-07-05 02:56:06 -07:00
jmp
246fa8bc1c
fabric: add missing since tags
2021-07-05 02:56:06 -07:00
jmp
1409b91db0
fabric: add some pre-built predicate permissions for the client command manager
2021-07-05 02:56:06 -07:00
jmp
9e9a9d79d8
fabric: use interfaces for entity selectors
2021-07-05 02:56:06 -07:00
jmp
69b2e52e49
fabric: fix javadoc on @Center annotation, add myself to fabric.mod.json
2021-07-05 02:56:06 -07:00
jmp
427842cade
fabric: implement location argument types
2021-07-05 02:56:06 -07:00
jmp
c95d0c70cd
fabric: add more nullability annotations
2021-07-05 02:56:06 -07:00
jmp
ddf16373fb
brigadier: add @since tags
2021-07-05 02:56:06 -07:00
jmp
65bb4d7a5d
fabric: javadoc cleanup
2021-07-05 02:56:06 -07:00
jmp
488ea8f9d8
fabric: minor formatting/javadoc fixes
2021-07-05 02:56:06 -07:00
jmp
5a15ca2167
fabric: Add a couple more commands to the test mod
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
jmp
78e7146ba3
fabric: Implement entity/player selector argument types
2021-07-05 02:56:06 -07:00
jmp
2659eac93b
brigadier: Fix MappedArgumentParsers always mapping to string
2021-07-05 02:56:06 -07:00
jmp
31d1f85830
fabric: Implement FabricClientCommandManager
2021-07-05 02:56:06 -07:00
jmp
f16cafda3f
fix brigadier suggestions with the '/execute' command, fix running cloud commands with '/execute' on fabric
2021-07-05 02:56:06 -07:00
jmp
8db87744d9
fabric: use Velocity's workaround for https://github.com/Mojang/brigadier/issues/46
2021-07-05 02:56:06 -07:00
jmp
653503f375
fabric: only strip the starting '/' from input when it is actually there
2021-07-05 02:56:06 -07:00
jmp
96e08ab2ef
fabric: register forwards mapper with the BrigadierManager
...
fixes CommandSourceStack#getServer being null during permission checks for arguments with custom suggestions
2021-07-05 02:56:06 -07:00