Interface HelpEntryFactory<S extends CommandSource>

Type Parameters:
S - the source type

public interface HelpEntryFactory<S extends CommandSource>
Factory interface for creating HelpEntry instances from command pathways. Allows customization of how help entries are constructed.
  • Method Details

    • defaultFactory

      static <S extends CommandSource> HelpEntryFactory<S> defaultFactory()
    • createEntry

      HelpEntry<S> createEntry(@NotNull @NotNull CommandPathway<S> pathway)
      Creates a help entry from the given command pathway.
      Parameters:
      pathway - the command pathway to convert into a help entry
      Returns:
      a new help entry representing the pathway