Klasse SoundSourceArgument
java.lang.Object
de.mrjulsen.dragnsounds.commands.arguments.SoundSourceArgument
- Alle implementierten Schnittstellen:
com.mojang.brigadier.arguments.ArgumentType<net.minecraft.sounds.SoundSource>
public class SoundSourceArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<net.minecraft.sounds.SoundSource>
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<S> CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> listSuggestions
(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) net.minecraft.sounds.SoundSource
parse
(com.mojang.brigadier.StringReader reader) static SoundSourceArgument
-
Konstruktordetails
-
SoundSourceArgument
public SoundSourceArgument()
-
-
Methodendetails
-
soundSource
-
parse
public net.minecraft.sounds.SoundSource parse(com.mojang.brigadier.StringReader reader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Angegeben von:
parse
in Schnittstellecom.mojang.brigadier.arguments.ArgumentType<net.minecraft.sounds.SoundSource>
- Löst aus:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Angegeben von:
getExamples
in Schnittstellecom.mojang.brigadier.arguments.ArgumentType<net.minecraft.sounds.SoundSource>
-
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<net.minecraft.sounds.SoundSource>
-