RegistrableCommand
class RegistrableCommand<Source : SharedSuggestionProvider>(val commandBuilder: LiteralCommandBuilder<Source>)(source)
A wrapper around mutable command builders, which makes sure they don't get mutated anymore and can be registered.
Functions
Link copied to clipboard
Link copied to clipboard
@Environment(value = EnvType.CLIENT)
Register this command (client-side).
Set up a callback which automatically registers this command on server startup.