Interface CommandRegistrationApi
- All Known Implementing Classes:
CommandRegistrationImpl
public interface CommandRegistrationApi
Provides a method to register a
command at startup.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterCommand(com.mojang.brigadier.builder.LiteralArgumentBuilder<?> command) Adds the provided command to the list of commands to be registered at startup.voidregisterCommandImpl(com.mojang.brigadier.builder.LiteralArgumentBuilder<?> command)
-
Field Details
-
INSTANCE
-
-
Method Details
-
registerCommand
static void registerCommand(com.mojang.brigadier.builder.LiteralArgumentBuilder<?> command) Adds the provided command to the list of commands to be registered at startup.- Parameters:
command- the command to register
-
registerCommandImpl
-