From b35fbd6ecf553828a0f3940478ca9d78f559bbdf Mon Sep 17 00:00:00 2001 From: William Date: Thu, 13 Jun 2024 21:43:59 +0100 Subject: [PATCH] docs: document registering commands --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5193c9b..468a4c3 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,9 @@ public class ExampleCrossPlatCommand implements Command { } ``` +### Registering +Then, register the command with the platform-specific Uniform instance (e.g. `FabricUniform.getInstance()`, `PaperUniform.getInstance()`, etc...) + ## Setup Uniform is available [on Maven](https://repo.william278.net/#/releases/net/william278/uniform/). You can browse the Javadocs [here](https://repo.william278.net/javadoc/releases/net/william278/uniform/latest).