Interface CommandMeta


  • public interface CommandMeta
    Contains metadata for a Command.
    • Method Detail

      • getAliases

        Collection<String> getAliases()
        Returns a non-empty collection containing the case-insensitive aliases used to execute the command.
        Returns:
        the command aliases
      • getHints

        Collection<com.mojang.brigadier.tree.CommandNode<CommandSource>> getHints()
        Returns a collection containing command nodes that provide additional argument metadata and tab-complete suggestions. Note some Command implementations may not support hinting.
        Returns:
        the hinting command nodes