Package net.minecraft.command.argument
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 mi
intermediary net/minecraft/class_4530
named net/minecraft/command/argument/TestFunctionArgumentType
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>
EXAMPLES
-
Constructor Summary
Constructors Constructor Description TestFunctionArgumentType()
-
Method Summary
Modifier and Type Method Description Collection<String>
getExamples()
static TestFunction
getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
TestFunction
parse(com.mojang.brigadier.StringReader stringReader)
static TestFunctionArgumentType
testFunction()
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Lmi;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 interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Lmi;a(Lcom/mojang/brigadier/StringReader;)Lmh;
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
- Mappings:
Namespace Name Mixin selector official a
Lmi;a()Lmi;
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
Lmi;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lmh;
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 interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
- Mappings:
Namespace Name Mixin selector official listSuggestions
Lmi;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
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
- Mappings:
Namespace Name Mixin selector official getExamples
Lmi;getExamples()Ljava/util/Collection;
intermediary getExamples
Lnet/minecraft/class_4530;getExamples()Ljava/util/Collection;
named getExamples
Lnet/minecraft/command/argument/TestFunctionArgumentType;getExamples()Ljava/util/Collection;
-