diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt index 95406b1bf..325e87211 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/SoundUtils.kt @@ -8,6 +8,7 @@ import net.minecraft.util.ResourceLocation object SoundUtils { private val beepSound by lazy { createSound("random.orb", 1f) } + private val clickSound by lazy { createSound("gui.button.press", 1f) } fun ISound.playSound() { Minecraft.getMinecraft().addScheduledTask { @@ -48,4 +49,8 @@ object SoundUtils { fun playBeepSound() { beepSound.playSound() } + + fun playClickSound() { + clickSound.playSound() + } }
\ No newline at end of file |