Class SettingArgumentType
java.lang.Object
meteordevelopment.meteorclient.commands.arguments.SettingArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SettingArgumentTypecreate()static Setting<?>get(com.mojang.brigadier.context.CommandContext<?> context) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse(com.mojang.brigadier.StringReader reader) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
getExamples
-
Constructor Details
-
SettingArgumentType
public SettingArgumentType()
-
-
Method Details
-
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:
parsein interfacecom.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:
listSuggestionsin interfacecom.mojang.brigadier.arguments.ArgumentType<String>
-