Class TestClassArgumentType

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

public class TestClassArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<String>
Mappings:
Namespace Name
official nq
intermediary net/minecraft/class_4526
named net/minecraft/command/argument/TestClassArgumentType
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      official a Lnq;a:Ljava/util/Collection;
      intermediary field_20580 Lnet/minecraft/class_4526;field_20580:Ljava/util/Collection;
      named EXAMPLES Lnet/minecraft/command/argument/TestClassArgumentType;EXAMPLES:Ljava/util/Collection;
  • Constructor Details

    • TestClassArgumentType

      public TestClassArgumentType()
  • Method Details

    • parse

      public String parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Specified by:
      parse in interface com.mojang.brigadier.arguments.ArgumentType<String>
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Lnq;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      intermediary method_22261 Lnet/minecraft/class_4526;method_22261(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      named parse Lnet/minecraft/command/argument/TestClassArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
    • testClass

      public static TestClassArgumentType testClass()
      Mappings:
      Namespace Name Mixin selector
      official a Lnq;a()Lnq;
      intermediary method_22370 Lnet/minecraft/class_4526;method_22370()Lnet/minecraft/class_4526;
      named testClass Lnet/minecraft/command/argument/TestClassArgumentType;testClass()Lnet/minecraft/command/argument/TestClassArgumentType;
    • getTestClass

      public static String getTestClass(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lnq;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String;
      intermediary method_22262 Lnet/minecraft/class_4526;method_22262(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String;
      named getTestClass Lnet/minecraft/command/argument/TestClassArgumentType;getTestClass(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/lang/String;
    • 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<String>
      Mappings:
      Namespace Name Mixin selector
      official listSuggestions Lnq;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      intermediary listSuggestions Lnet/minecraft/class_4526;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      named listSuggestions Lnet/minecraft/command/argument/TestClassArgumentType;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<String>