Class ModIdArgument
java.lang.Object
net.minecraftforge.server.command.ModIdArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<String>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static ModIdArgument
parse
(com.mojang.brigadier.StringReader reader)
-
Field Details
-
EXAMPLES
-
-
Constructor Details
-
ModIdArgument
public ModIdArgument()
-
-
Method Details
-
modIdArgument
-
parse
public String parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
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>
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<String>
-