CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
dev.jorel.commandapi.CommandRegistrationStrategy< Source > Class Template Referenceabstract
+ Inheritance diagram for dev.jorel.commandapi.CommandRegistrationStrategy< Source >:

Public Member Functions

abstract CommandDispatcher< Source > getBrigadierDispatcher ()
 
abstract void runTasksAfterServerStart ()
 
abstract void postCommandRegistration (RegisteredCommand registeredCommand, LiteralCommandNode< Source > resultantNode, List< LiteralCommandNode< Source > > aliasNodes)
 
abstract LiteralCommandNode< Source > registerCommandNode (LiteralArgumentBuilder< Source > node, String namespace)
 
abstract void unregister (String commandName, boolean unregisterNamespaces, boolean unregisterBukkit)
 
abstract void preReloadDataPacks ()
 

Protected Member Functions

void removeBrigadierCommands (RootCommandNode< Source > root, String commandName, boolean unregisterNamespaces, Predicate< CommandNode< Source > > extraCheck)
 

Static Protected Member Functions

static< T > void removeCommandNamespace (Map< String, T > map, String commandName, Predicate< T > extraCheck)
 
static< T > void removeCommandFromMapIfCheckPasses (Map< String, T > map, String key, Predicate< T > extraCheck)
 
static boolean isThisTheCommandButNamespaced (String commandName, String key)