public class SoundRegistry extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SoundRegistry.SoundMapping |
| Modifier and Type | Method and Description |
|---|---|
static SoundRegistry.SoundMapping |
fromJava(String java)
Get's the sound mapping for a Java edition sound identifier
|
static void |
init() |
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 void init()
public static SoundRegistry.SoundMapping fromJava(String java)
java - Java edition sound identifierpublic static com.nukkitx.protocol.bedrock.data.SoundEvent toSoundEvent(String sound)
sound - the sound nameCopyright © 2020 GeyserMC. All rights reserved.