类 TestFunctionArgument

java.lang.Object
net.minecraft.gametest.framework.TestFunctionArgument
所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<TestFunction>

public class TestFunctionArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<TestFunction>
  • 字段详细资料

  • 构造器详细资料

    • TestFunctionArgument

      public TestFunctionArgument()
  • 方法详细资料

    • parse

      public TestFunction parse(com.mojang.brigadier.StringReader p_128090_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      指定者:
      parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<TestFunction>
      抛出:
      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_)
      指定者:
      listSuggestions 在接口中 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()
      指定者:
      getExamples 在接口中 com.mojang.brigadier.arguments.ArgumentType<TestFunction>