Class SoundUtils

java.lang.Object
org.geysermc.geyser.util.SoundUtils

public class SoundUtils extends Object
  • Constructor Details

    • SoundUtils

      public SoundUtils()
  • Method Details

    • toSoundEvent

      public static com.nukkitx.protocol.bedrock.data.SoundEvent toSoundEvent(String sound)
      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