Class UnquotedStringArgumentType
-
- All Implemented Interfaces:
-
com.mojang.brigadier.arguments.ArgumentType
public class UnquotedStringArgumentType implements ArgumentType<T>字符串参数类型
-
-
Method Summary
Modifier and Type Method Description static UnquotedStringArgumentTypestring()static StringgetUnquotedString(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)Stringparse(@NonNull() StringReader reader)Collection<String>getExamples()-
-
Method Detail
-
string
@NonNull() static UnquotedStringArgumentType string()
-
getUnquotedString
@NonNull() static String getUnquotedString(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)
-
getExamples
@NonNull() Collection<String> getExamples()
-
-
-
-