类 TestFunctionArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.TestFunctionArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<TestFunction>
public class TestFunctionArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<TestFunction>
- Mappings:
Namespace Name official mnintermediary net/minecraft/class_4530named net/minecraft/command/argument/TestFunctionArgumentType
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLES
-
构造器概要
构造器 构造器 说明 TestFunctionArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Collection<String>getExamples()static TestFunctiongetFunction(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)TestFunctionparse(com.mojang.brigadier.StringReader stringReader)static TestFunctionArgumentTypetestFunction()
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official aLmn;a:Ljava/util/Collection;intermediary field_20589Lnet/minecraft/class_4530;field_20589:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/TestFunctionArgumentType;EXAMPLES:Ljava/util/Collection;
-
-
方法详细资料
-
parse
public TestFunction parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<TestFunction>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLmn;a(Lcom/mojang/brigadier/StringReader;)Lmm;intermediary method_22302Lnet/minecraft/class_4530;method_22302(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_4529;named parseLnet/minecraft/command/argument/TestFunctionArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/test/TestFunction;
-
testFunction
public static TestFunctionArgumentType testFunction()
- Mappings:
Namespace Name Mixin selector official aLmn;a()Lmn;intermediary method_22371Lnet/minecraft/class_4530;method_22371()Lnet/minecraft/class_4530;named testFunctionLnet/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 aLmn;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lmm;intermediary method_22303Lnet/minecraft/class_4530;method_22303(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_4529;named getFunctionLnet/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)
- 指定者:
listSuggestions在接口中com.mojang.brigadier.arguments.ArgumentType<TestFunction>- Mappings:
Namespace Name Mixin selector official listSuggestionsLmn;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary listSuggestionsLnet/minecraft/class_4530;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named listSuggestionsLnet/minecraft/command/argument/TestFunctionArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
public Collection<String> getExamples()
- 指定者:
getExamples在接口中com.mojang.brigadier.arguments.ArgumentType<TestFunction>- Mappings:
Namespace Name Mixin selector official getExamplesLmn;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_4530;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/TestFunctionArgumentType;getExamples()Ljava/util/Collection;
-
-