Package org.geysermc.geyser.util
Class SoundUtils
java.lang.Object
org.geysermc.geyser.util.SoundUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.nukkitx.protocol.bedrock.data.SoundEvent
toSoundEvent(String sound)
Maps a sound name to a sound event, null if one does not exist.
-
Constructor Details
-
SoundUtils
public SoundUtils()
-
-
Method Details
-
toSoundEvent
Maps a sound name to a sound event, null if one does not exist.- Parameters:
sound
- the sound name- Returns:
- a sound event from the given sound
-