Interface CommandMeta

  • public interface CommandMeta
    Contains metadata for a Command.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  CommandMeta.Builder
      Provides a fluent interface to create CommandMetas.
    • Method Detail

      • getAliases

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

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