Commit graph

3 commits

Author SHA1 Message Date
i509VCB
5177e148fa
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:07:53 +01:00
modmuss50
7b6f8bc5f3
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:19:24 +01:00
i509VCB
2e0c4ff552
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:05:43 +01:00