Class AdventureHelpComponent<S extends studio.mevera.imperat.context.Source>

java.lang.Object
studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component>
studio.mevera.imperat.adventure.AdventureHelpComponent<S>

public class AdventureHelpComponent<S extends studio.mevera.imperat.context.Source> extends studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component>
  • Field Summary

    Fields inherited from class studio.mevera.imperat.command.tree.help.theme.HelpComponent

    componentValue
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdventureHelpComponent(@NotNull net.kyori.adventure.text.Component componentValue, BiConsumer<S,net.kyori.adventure.text.Component> sendMessageToSourceFunc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component>
    append(net.kyori.adventure.text.Component other)
     
    studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component>
     
    @NotNull studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component>
    repeat(int times)
     
    void
    send(S source)
     

    Methods inherited from class studio.mevera.imperat.command.tree.help.theme.HelpComponent

    append, appendParameterFormat, appendText, plainText

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdventureHelpComponent

      public AdventureHelpComponent(@NotNull @NotNull net.kyori.adventure.text.Component componentValue, BiConsumer<S,net.kyori.adventure.text.Component> sendMessageToSourceFunc)
  • Method Details

    • send

      public void send(S source)
      Specified by:
      send in class studio.mevera.imperat.command.tree.help.theme.HelpComponent<S extends studio.mevera.imperat.context.Source,net.kyori.adventure.text.Component>
    • append

      @NotNull public @NotNull studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component> append(net.kyori.adventure.text.Component other)
      Specified by:
      append in class studio.mevera.imperat.command.tree.help.theme.HelpComponent<S extends studio.mevera.imperat.context.Source,net.kyori.adventure.text.Component>
    • appendText

      public studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component> appendText(String text)
      Specified by:
      appendText in class studio.mevera.imperat.command.tree.help.theme.HelpComponent<S extends studio.mevera.imperat.context.Source,net.kyori.adventure.text.Component>
    • repeat

      @NotNull public @NotNull studio.mevera.imperat.command.tree.help.theme.HelpComponent<S,net.kyori.adventure.text.Component> repeat(int times)
      Specified by:
      repeat in class studio.mevera.imperat.command.tree.help.theme.HelpComponent<S extends studio.mevera.imperat.context.Source,net.kyori.adventure.text.Component>