Class SettingArgumentType

java.lang.Object
meteordevelopment.meteorclient.commands.arguments.SettingArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>

public class SettingArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<String>
  • Constructor Details

    • SettingArgumentType

      public SettingArgumentType()
  • Method Details

    • create

      public static SettingArgumentType create()
    • get

      public static Setting<?> get(com.mojang.brigadier.context.CommandContext<?> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • parse

      public String parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<String>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<String>