Class GuiEngineApiArgument

java.lang.Object
io.github.toberocat.guiengine.arguments.GuiEngineApiArgument
All Implemented Interfaces:
io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>

public class GuiEngineApiArgument extends Object implements io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
  • Constructor Details

    • GuiEngineApiArgument

      public GuiEngineApiArgument()
    • GuiEngineApiArgument

      public GuiEngineApiArgument(GuiEngineApi defaultApi)
  • Method Details

    • parse

      public GuiEngineApi parse(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull String s) throws io.github.toberocat.toberocore.command.exceptions.CommandException
      Specified by:
      parse in interface io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
      Throws:
      io.github.toberocat.toberocore.command.exceptions.CommandException
    • defaultValue

      public GuiEngineApi defaultValue(@NotNull @NotNull org.bukkit.entity.Player player)
      Specified by:
      defaultValue in interface io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
    • tab

      @Nullable public @Nullable List<String> tab(@NotNull @NotNull org.bukkit.entity.Player player) throws io.github.toberocat.toberocore.command.exceptions.CommandException
      Specified by:
      tab in interface io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
      Throws:
      io.github.toberocat.toberocore.command.exceptions.CommandException
    • descriptionKey

      @NotNull public @NotNull String descriptionKey()
      Specified by:
      descriptionKey in interface io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
    • usage

      @NotNull public @NotNull String usage()
      Specified by:
      usage in interface io.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>