Class UnquotedStringArgumentType
-
- All Implemented Interfaces:
-
com.mojang.brigadier.arguments.ArgumentType
public class UnquotedStringArgumentType implements ArgumentType<T>
字符串参数类型
-
-
Method Summary
Modifier and Type Method Description static UnquotedStringArgumentType
string()
static String
getUnquotedString(@NonNull() CommandContext<CommandSender> context, @NonNull() String name)
String
parse(@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()
-
-
-
-