Class TestClassNameArgument

java.lang.Object
net.minecraft.gametest.framework.TestClassNameArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>

public class TestClassNameArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<String>
  • Field Details

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

      public static TestClassNameArgument 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 interface com.mojang.brigadier.arguments.ArgumentType<String>
    • getExamples

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