public class SoundUtils extends Object
| Constructor and Description |
|---|
SoundUtils() |
| Modifier and Type | Method and Description |
|---|---|
static com.nukkitx.protocol.bedrock.data.SoundEvent |
toSoundEvent(String sound)
Maps a sound name to a sound event, null if one
does not exist.
|
public static com.nukkitx.protocol.bedrock.data.SoundEvent toSoundEvent(String sound)
sound - the sound nameCopyright © 2021 GeyserMC. All rights reserved.