Package net.minecraft.command.argument
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 to
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getTestClass
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse
(com.mojang.brigadier.StringReader stringReader) static TestClassArgumentType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
parse
-
Field Details
-
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
Lto;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 interfacecom.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
Lto;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
-
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
Lto;a()Lto;
-
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
Lto;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 interfacecom.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
Lto;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
-