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 ms
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 Lms;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 Lms;a(Lcom/mojang/brigadier/StringReader;)Lmr;
      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 Lms;a()Lms;
      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 Lms;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lmr;
      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> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
      Specified by:
      listSuggestions in interface com.mojang.brigadier.arguments.ArgumentType<TestFunction>
    • getExamples

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