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
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic SoundLocation
getFile
(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 SoundLocationArgument
location()
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:
parse
in 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:
listSuggestions
in Schnittstellecom.mojang.brigadier.arguments.ArgumentType<SoundLocation>
-
getExamples
- Angegeben von:
getExamples
in Schnittstellecom.mojang.brigadier.arguments.ArgumentType<SoundLocation>
-