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 Details

  • 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 interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • testFunctionArgument

      public static TestFunctionArgument 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 interface com.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

      public Collection<String> getExamples()
      Specified by:
      getExamples in interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>