Class UnlockableArgumentType
java.lang.Object
com.idark.valoria.registries.command.arguments.UnlockableArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Unlockable>
public class UnlockableArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<Unlockable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Unlockable
getUnlockable
(com.mojang.brigadier.context.CommandContext<?> 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 reader) static UnlockableArgumentType
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
getExamples
-
Constructor Details
-
UnlockableArgumentType
public UnlockableArgumentType()
-
-
Method Details
-
getUnlockable
public static Unlockable getUnlockable(com.mojang.brigadier.context.CommandContext<?> context, String name) -
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<Unlockable>
-
parse
public Unlockable parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<Unlockable>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
unlockableArgumentType
-