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
named net/minecraft/command/argument/TestClassArgumentType
intermediary net/minecraft/class_4526
official tk
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
      Mappings:
      Namespace Name Mixin selector
      named EXAMPLES Lnet/minecraft/command/argument/TestClassArgumentType;EXAMPLES:Ljava/util/Collection;
      intermediary field_20580 Lnet/minecraft/class_4526;field_20580:Ljava/util/Collection;
      official a Ltk;a: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
      named parse Lnet/minecraft/command/argument/TestClassArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      intermediary method_22261 Lnet/minecraft/class_4526;method_22261(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      official a Ltk;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
    • testClass

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

      public static String getTestClass(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
      Mappings:
      Namespace Name Mixin selector
      named getTestClass Lnet/minecraft/command/argument/TestClassArgumentType;getTestClass(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;
      official a Ltk;a(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
      named listSuggestions Lnet/minecraft/command/argument/TestClassArgumentType;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;
      official listSuggestions Ltk;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>