Package net.minecraft.gametest.framework
Class TestClassNameArgument
java.lang.Object
net.minecraft.gametest.framework.TestClassNameArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getTestClassName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_127921_, String p_127922_)
<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_127925_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_127926_)
parse(com.mojang.brigadier.StringReader p_127919_)
static TestClassNameArgument
-
Field Details
-
EXAMPLES
-
-
Constructor Details
-
TestClassNameArgument
public TestClassNameArgument()
-
-
Method Details
-
parse
public String parse(com.mojang.brigadier.StringReader p_127919_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
testClassName
-
getTestClassName
public static String getTestClassName(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_127921_, String p_127922_) -
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_127925_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_127926_)- Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
-