Uses of Interface
com.github.siroshun09.mccommand.common.argument.Argument
-
Packages that use Argument Package Description com.github.siroshun09.mccommand.bukkit.parser The package of classes that implement theArgumentParserthat can be used on Bukkit.com.github.siroshun09.mccommand.bungee.parser The package of classes that implement theArgumentParserthat can be used on BungeeCord.com.github.siroshun09.mccommand.common The root package of this library.com.github.siroshun09.mccommand.common.argument The package of classes relevant to arguments.com.github.siroshun09.mccommand.common.argument.parser The package of classes to parseArgument.com.github.siroshun09.mccommand.common.context The package of classes relevant to the context of the command execution.com.github.siroshun09.mccommand.paper.parser The package of classes that implement theArgumentParserthat can be used on Bukkit. -
-
Uses of Argument in com.github.siroshun09.mccommand.bukkit.parser
Methods in com.github.siroshun09.mccommand.bukkit.parser with parameters of type Argument Modifier and Type Method Description @Nullable MaterialMaterialParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable OfflinePlayerOfflinePlayerParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable PlayerPlayerExactParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable PlayerPlayerParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable SoundSoundParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@NotNull MaterialMaterialParser. parseOrThrow(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@NotNull SoundSoundParser. parseOrThrow(@NotNull Argument argument)Parses anArgumentto a specified type and returns it. -
Uses of Argument in com.github.siroshun09.mccommand.bungee.parser
Methods in com.github.siroshun09.mccommand.bungee.parser with parameters of type Argument Modifier and Type Method Description @Nullable ProxiedPlayerProxiedPlayerParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it. -
Uses of Argument in com.github.siroshun09.mccommand.common
Methods in com.github.siroshun09.mccommand.common with parameters of type Argument Modifier and Type Method Description @Nullable CommandSubCommandHolder. search(@NotNull Argument argument)Gets the command whose name matches the string contained in theArgument.@NotNull Optional<Command>SubCommandHolder. searchOptional(@NotNull Argument argument)Gets the command whose name matches the string contained in theArgument. -
Uses of Argument in com.github.siroshun09.mccommand.common.argument
Methods in com.github.siroshun09.mccommand.common.argument that return Argument Modifier and Type Method Description static ArgumentArgument. of(int index, @NotNull String argument)Creates anArgumentfrom an index and a string. -
Uses of Argument in com.github.siroshun09.mccommand.common.argument.parser
Methods in com.github.siroshun09.mccommand.common.argument.parser with parameters of type Argument Modifier and Type Method Description default IllegalArgumentExceptionArgumentParser. generateException(@NotNull Argument argument)Generates an exception that throws when the parsing fails.default IllegalArgumentExceptionArgumentParser. generateException(@NotNull Argument argument, @Nullable Throwable exception)Generates an exception that throws when the parsing fails.TArgumentParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable UUIDUUIDParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.default Optional<T>ArgumentParser. parseOptional(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.default TArgumentParser. parseOrDefault(@NotNull Argument argument, T def)Parses anArgumentto a specified type and returns it.default TArgumentParser. parseOrThrow(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@NotNull UUIDUUIDParser. parseOrThrow(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.Method parameters in com.github.siroshun09.mccommand.common.argument.parser with type arguments of type Argument Modifier and Type Method Description static <R> ArgumentParser<R>ArgumentParser. of(@NotNull Function<Argument,R> function)Creates an instance of the parser fromFunction. -
Uses of Argument in com.github.siroshun09.mccommand.common.context
Methods in com.github.siroshun09.mccommand.common.context that return types with arguments of type Argument Modifier and Type Method Description @NotNull @Unmodifiable List<Argument>CommandContext. getArguments()Gets the given arguments.@NotNull List<Argument>SimpleCommandContext. getArguments()Gets the given arguments.Method parameters in com.github.siroshun09.mccommand.common.context with type arguments of type Argument Modifier and Type Method Description SimpleCommandContext.SimpleCommandContextBuilderSimpleCommandContext.SimpleCommandContextBuilder. setArguments(List<Argument> arguments)Sets the arguments.Constructor parameters in com.github.siroshun09.mccommand.common.context with type arguments of type Argument Constructor Description SimpleCommandContext(@NotNull Command command, @NotNull Sender sender, @NotNull List<Argument> arguments, @NotNull String label)Creates aSimpleCommandContext -
Uses of Argument in com.github.siroshun09.mccommand.paper.parser
Methods in com.github.siroshun09.mccommand.paper.parser with parameters of type Argument Modifier and Type Method Description @Nullable MaterialMaterialParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable OfflinePlayerOfflinePlayerParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable PlayerPlayerExactParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable PlayerPlayerParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@Nullable SoundSoundParser. parse(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@NotNull MaterialMaterialParser. parseOrThrow(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.@NotNull SoundSoundParser. parseOrThrow(@NotNull Argument argument)Parses anArgumentto a specified type and returns it.
-