public class SoundHelper
extends java.lang.Object
Constructor and Description |
---|
SoundHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
playButtonPressSound()
Plays the button pressing sound.
|
static void |
playSound(net.minecraft.util.SoundEvent event) |
static void |
playSound(net.minecraft.util.SoundEvent event,
float volume,
float pitch)
Plays a sound.
|
public static void playButtonPressSound()
public static void playSound(net.minecraft.util.SoundEvent event)
public static void playSound(net.minecraft.util.SoundEvent event, float volume, float pitch)