Package io.github.mqzn.commands.help
Class CommandSyntaxPageDisplayer<S>
java.lang.Object
io.github.mqzn.commands.help.CommandSyntaxPageDisplayer<S>
- All Implemented Interfaces:
ItemPageTextDisplayer<S,
CommandSyntax<S>>
public class CommandSyntaxPageDisplayer<S>
extends Object
implements ItemPageTextDisplayer<S,CommandSyntax<S>>
The class to display each syntax of a command
it defines how it displays a single syntax
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandSyntaxPageDisplayer
(@NotNull CommandManager<?, S> manager, @NotNull Command<S> command, @NotNull CommandHelpStyle<S> provider) -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.TextComponent
displayPageItem
(S sender, @NotNull CommandSyntax<S> convertible, int index) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.github.mqzn.commands.utilities.text.ItemPageTextDisplayer
display
-
Constructor Details
-
CommandSyntaxPageDisplayer
public CommandSyntaxPageDisplayer(@NotNull @NotNull CommandManager<?, S> manager, @NotNull @NotNull Command<S> command, @NotNull @NotNull CommandHelpStyle<S> provider)
-
-
Method Details
-
displayPageItem
public net.kyori.adventure.text.TextComponent displayPageItem(@NotNull S sender, @NotNull @NotNull CommandSyntax<S> convertible, int index) - Specified by:
displayPageItem
in interfaceItemPageTextDisplayer<S,
CommandSyntax<S>>
-