Interface PaperCommand
public interface PaperCommand
Interface for Paper command wrappers.
-
Method Summary
Modifier and TypeMethodDescriptionGets all registered aliases for the command.com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> Gets the Brigadier command node.Gets the description of the command.
-
Method Details
-
getCommandNode
com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> getCommandNode()Gets the Brigadier command node.- Returns:
- the command node
-
getDescription
String getDescription()Gets the description of the command.- Returns:
- the description
-
getAliases
Collection<String> getAliases()Gets all registered aliases for the command.- Returns:
- the command aliases
-