Klasse SoundLocationArgument
java.lang.Object
de.mrjulsen.dragnsounds.commands.arguments.SoundLocationArgument
- Alle implementierten Schnittstellen:
com.mojang.brigadier.arguments.ArgumentType<SoundLocation>
public class SoundLocationArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<SoundLocation>
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic SoundLocationgetFile(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String name) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) static SoundLocationArgumentlocation()parse(com.mojang.brigadier.StringReader reader)
-
Konstruktordetails
-
SoundLocationArgument
public SoundLocationArgument()
-
-
Methodendetails
-
location
-
getFile
public static SoundLocation getFile(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String name) -
parse
public SoundLocation parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Angegeben von:
parsein Schnittstellecom.mojang.brigadier.arguments.ArgumentType<SoundLocation>- Löst aus:
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) - Angegeben von:
listSuggestionsin Schnittstellecom.mojang.brigadier.arguments.ArgumentType<SoundLocation>
-
getExamples
- Angegeben von:
getExamplesin Schnittstellecom.mojang.brigadier.arguments.ArgumentType<SoundLocation>
-