Commit graph

859 commits

Author SHA1 Message Date
jmp
677ba4d0e9 Bump Adventure dependency to 4.7.0 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
broccolai
4305b8e3bd Fix package-info in jda 2021-07-05 02:56:06 -07:00
jmp
1fc08b80a1 Remove Dokka linking that didn't work anyways 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
jmp
149ffffe8e fabric: check permissions using fabric-permissions-api 2021-07-05 02:56:06 -07:00
jmp
c01445dd1e fabric: update loom to 0.6-SNAPSHOT 2021-07-05 02:56:06 -07:00
Zach Levis
5c7f2ffaab license headers 2021-07-05 02:56:06 -07:00
Zach Levis
67a36d81e0 fabric: More work 2021-07-05 02:56:06 -07:00
Zach Levis
23e05262d7 bump MC version 2021-07-05 02:56:06 -07:00
Zach Levis
3f67a1ae04 fabric: work 2021-07-05 02:56:06 -07:00
Zach Levis
6eae149089 brigadier: Unwrap mapped argument parsers 2021-07-05 02:56:06 -07:00
Zach Levis
52c0796539 More parser work 2021-07-05 02:56:06 -07:00
Zach Levis
91b433c14b fabric: Fully implement a registry entry argument type 2021-07-05 02:56:06 -07:00
Zach Levis
98aea50d3c brigadier: Allow specifying a custom brigadier suggestions provider 2021-07-05 02:56:06 -07:00
Zach Levis
0af44e2406 fabric: Add builders for many of the basic argument types 2021-07-05 02:56:06 -07:00
Zach Levis
48181164b0 fabric: Split out server-specific command manager to allow for client commands 2021-07-05 02:56:06 -07:00
Zach Levis
6b690811f1 core: Add a way to map the output of argument parsers 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
Zach Levis
62caa2d641 brigadier: Add support for wrapped parsers 2021-07-05 02:56:06 -07:00
Zach Levis
79006ac40f fabric: Add registration environment meta 2021-07-05 02:56:06 -07:00
Zach Levis
dc90551168 fabric: Use stateful command manager 2021-07-05 02:56:06 -07:00
Zach Levis
eef98da9c9 fabric: Begin work on commands manager for platform 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
jmp
5d460e9f3a minecraft-extras: Add AudienceProvider.nativeAudience and MinecraftHelp.createNative convenience methods for sender types which are Audiences. 2021-07-05 02:56:06 -07:00
jmp
c78c4aba08 core: Throw an exception when both GREEDY and QUOTED are specified for a StringArgument 2021-07-05 02:56:06 -07:00
jmp
1bed15ea6d core: Add @Quoted annotation to mark string arguments as quoted in annotated methods 2021-07-05 02:56:06 -07:00