fabric-commands-v0
/
net.fabricmc.fabric.api.registry
/
CommandRegistry
Command
Registry
public class
CommandRegistry
Content copied to clipboard
Deprecated
Please migrate to v1. Please use
CommandRegistrationCallback
instead.
Functions
Properties
Sources
Functions
register
Link copied to clipboard
void
register
(boolean dedicated,
Consumer
<
CommandDispatcher
<
ServerCommandSource
>> consumer)
Content copied to clipboard
Register a command provider.
Properties
INSTANCE
Link copied to clipboard
public final static
CommandRegistry
INSTANCE
Content copied to clipboard
Sources
jvm source
Link copied to clipboard