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 oc
intermediary net/minecraft/class_4530
named net/minecraft/command/argument/TestFunctionArgumentType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse
(com.mojang.brigadier.StringReader stringReader) static TestFunctionArgumentType
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Loc;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
Loc;a(Lcom/mojang/brigadier/StringReader;)Lob;
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
Loc;a()Loc;
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
Loc;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lob;
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> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<TestFunction>
- Mappings:
Namespace Name Mixin selector official listSuggestions
Loc;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>
-