Class SoundChannelsArgument
java.lang.Object
de.mrjulsen.dragnsounds.commands.arguments.SoundChannelsArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<EChannels>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SoundChannelsArgument
channels()
<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)
-
Constructor Details
-
SoundChannelsArgument
public SoundChannelsArgument()
-
-
Method Details
-
channels
-
parse
public EChannels parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<EChannels>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<EChannels>
-
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<EChannels>
-