Commit graph

38 commits

Author SHA1 Message Date
Jason Penilla
28821b5ff1 fabric: Remap to Mojang names 2021-07-05 02:56:06 -07:00
jmp
ab86332990 fabric: General cleanup and javadoc improvements 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
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
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
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
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
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
3f67a1ae04 fabric: work 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
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
3be50956cc fabric: Begin adding support for some wrapped vanilla arguments 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