Package cloud.commandframework.brigadier
Interface BrigadierManagerHolder<C>
-
- Type Parameters:
C
- Command sender type
public interface BrigadierManagerHolder<C>
This interface is implemented by command managers capable of registering commands to Brigadier.- Since:
- 1.2.0
-
-
Method Summary
Modifier and Type Method Description @Nullable CloudBrigadierManager<C,?>
brigadierManager()
Get the Brigadier manager instance used by this manager.
-
-
-
Method Detail
-
brigadierManager
@Nullable CloudBrigadierManager<C,?> brigadierManager()
Get the Brigadier manager instance used by this manager. This method being present in a command manager means the manager has the capability to register commands to Brigadier, but does not necessarily mean that this capability is being used.In the case that Brigadier isn't used, this method should always return
null
.- Returns:
- The Brigadier manager instance, if commands are being registered to Brigadier.
Else,
null
- Since:
- 1.2.0
-
-