Class TestFunctionArgumentType

java.lang.Object
net.minecraft.command.argument.TestFunctionArgumentType
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<TestFunction>

public class TestFunctionArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<TestFunction>
Mappings:
Namespace Name
official qo
intermediary net/minecraft/class_4530
named net/minecraft/command/argument/TestFunctionArgumentType
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      official a Lqo;a:Ljava/util/Collection;
      intermediary field_20589 Lnet/minecraft/class_4530;field_20589:Ljava/util/Collection;
      named EXAMPLES Lnet/minecraft/command/argument/TestFunctionArgumentType;EXAMPLES:Ljava/util/Collection;
  • Constructor Details

    • TestFunctionArgumentType

      public TestFunctionArgumentType()
  • Method Details

    • parse

      public TestFunction parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lqo;a(Lcom/mojang/brigadier/StringReader;)Lqn;
      intermediary method_22302 Lnet/minecraft/class_4530;method_22302(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_4529;
      named parse Lnet/minecraft/command/argument/TestFunctionArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/test/TestFunction;
    • testFunction

      public static TestFunctionArgumentType testFunction()
      Mappings:
      Namespace Name Mixin selector
      official a Lqo;a()Lqo;
      intermediary method_22371 Lnet/minecraft/class_4530;method_22371()Lnet/minecraft/class_4530;
      named testFunction Lnet/minecraft/command/argument/TestFunctionArgumentType;testFunction()Lnet/minecraft/command/argument/TestFunctionArgumentType;
    • getFunction

      public static TestFunction getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lqo;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lqn;
      intermediary method_22303 Lnet/minecraft/class_4530;method_22303(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_4529;
      named getFunction Lnet/minecraft/command/argument/TestFunctionArgumentType;getFunction(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/test/TestFunction;
    • listSuggestions

      public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>
      Mappings:
      Namespace Name Mixin selector
      official listSuggestions Lqo;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      intermediary listSuggestions Lnet/minecraft/class_4530;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      named listSuggestions Lnet/minecraft/command/argument/TestFunctionArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
    • getExamples

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