Commit graph

17 commits

Author SHA1 Message Date
modmuss50
5ce5339883 Checkstyle
Nothing to see here
2020-06-18 22:13:03 +01:00
modmuss50
53a97948b3 Simplify server command registration, fixing server commands being registered too late. 2020-06-18 22:01:21 +01:00
modmuss50
f444f16314 Bump Version 2020-06-15 22:05:41 +01:00
i509VCB
bef4575888
Fix issue with commands being registered on dedicated servers after a resource reload. (#822)
* Add a small datapack to test if custom commands work with command functions

* Fix issue with commands being registered on dedicated servers after a /reload

Also this adds testmods for command functions to verify they are registered properly.

* Clarify a comment

* Use the variable we allocate lol
2020-06-15 22:03:11 +01:00
modmuss50
4e84b64f5c Fix log spam for mods that are not datapacks. Also bump version for release 2020-06-05 20:09:24 +01:00
modmuss50
31d35604b1 Simplify and fix Dedicated server commands 2020-06-05 19:52:07 +01:00
modmuss50
3c5f026f0d 1.16-pre2 2020-06-05 12:42:58 +01:00
modmuss50
1405d94241 Fix command test 2020-06-04 21:32:45 +01:00
modmuss50
346247d7d1 Checkstyle 2020-06-04 21:24:25 +01:00
modmuss50
0d474ec430 1.16-pre1 2020-06-04 21:20:20 +01:00
modmuss50
da175ad6ad 20w22a 2020-05-29 15:56:10 +01:00
modmuss50
fbdec5486a Checkstyle fixes
(ง'̀-'́)ง
2020-05-07 22:27:19 +01:00
modmuss50
57dbcc4ce5 Version bumps 2020-05-07 22:12:06 +01:00
i509VCB
d83d36ad00 Create command api test mod (#607)
* Create command api test mod

* Verify the callback is only called once per server instance.
2020-05-07 22:08:14 +01:00
modmuss50
fcb6b9aa64 Update MixinMinecraftDedicatedServer to 1.16 2020-05-02 21:22:33 +01:00
modmuss50
5644fa286e Fix commands on servers. (#604)
* Fix commands on servers.

Based off the same fix I made a year or two ago...

* Fix
2020-05-02 21:21:35 +01:00
i509VCB
52d30836ba Migrate commands to v1 (#539)
* Migrate commands to v1

* Update fabric-commands-v1/src/main/resources/fabric.mod.json

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* Update fabric-commands-v1/src/main/java/net/fabricmc/fabric/api/command/v1/CommandRegistrationCallback.java

Co-Authored-By: liach <7806504+liach@users.noreply.github.com>

* commands -> command and improved javadoc.

* Fix the stragglers

* swap dedicated and dispatcher params

* Update fabric-command-v1/src/main/java/net/fabricmc/fabric/api/command/v1/CommandRegistrationCallback.java

Whoops forgot that one

Co-Authored-By: Juuxel <6596629+Juuxel@users.noreply.github.com>

* module name order has been restored.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Juuxel <6596629+Juuxel@users.noreply.github.com>
2020-04-29 22:15:05 +01:00