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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefaultValue
(@NotNull org.bukkit.entity.Player player) @NotNull String
tab
(@NotNull org.bukkit.entity.Player player) @NotNull String
usage()
-
Constructor Details
-
GuiEngineApiArgument
public GuiEngineApiArgument() -
GuiEngineApiArgument
-
-
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 interfaceio.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
- Throws:
io.github.toberocat.toberocore.command.exceptions.CommandException
-
defaultValue
- Specified by:
defaultValue
in interfaceio.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 interfaceio.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
- Throws:
io.github.toberocat.toberocore.command.exceptions.CommandException
-
descriptionKey
- Specified by:
descriptionKey
in interfaceio.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
-
usage
- Specified by:
usage
in interfaceio.github.toberocat.toberocore.command.arguments.Argument<GuiEngineApi>
-