Package net.minecraft.gametest.framework
Class TestFunctionArgument
java.lang.Object
net.minecraft.gametest.framework.TestFunctionArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<TestFunction>
public class TestFunctionArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<TestFunction>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TestFunction
getTestFunction
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_128092_, String p_128093_) <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> p_128096_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_128097_) parse
(com.mojang.brigadier.StringReader p_128090_) static <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> suggestTestFunction
(com.mojang.brigadier.context.CommandContext<S> p_335990_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_334437_) static TestFunctionArgument
-
Field Details
-
EXAMPLES
-
-
Constructor Details
-
TestFunctionArgument
public TestFunctionArgument()
-
-
Method Details
-
parse
public TestFunction parse(com.mojang.brigadier.StringReader p_128090_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
testFunctionArgument
-
getTestFunction
public static TestFunction getTestFunction(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_128092_, String p_128093_) -
listSuggestions
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_128096_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_128097_) - Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
-
suggestTestFunction
public static <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestTestFunction(com.mojang.brigadier.context.CommandContext<S> p_335990_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_334437_) -
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
-