From 1afbadc536730937b71f748e57530c695789499c Mon Sep 17 00:00:00 2001 From: ktpatient <167013520+ktpatient@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:10:23 +0100 Subject: [PATCH] Leap sound --- .../portingdeadmods/nautec/content/augments/LeapAugment.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/portingdeadmods/nautec/content/augments/LeapAugment.java b/src/main/java/com/portingdeadmods/nautec/content/augments/LeapAugment.java index 1f0e2a83..57e71d49 100644 --- a/src/main/java/com/portingdeadmods/nautec/content/augments/LeapAugment.java +++ b/src/main/java/com/portingdeadmods/nautec/content/augments/LeapAugment.java @@ -6,6 +6,7 @@ import com.portingdeadmods.nautec.registries.NTAugmentSlots; import com.portingdeadmods.nautec.registries.NTAugments; import com.portingdeadmods.nautec.utils.InputUtils; +import net.minecraft.sounds.SoundEvents; import net.minecraft.world.phys.Vec3; import net.neoforged.neoforge.event.tick.PlayerTickEvent; import org.jetbrains.annotations.Nullable; @@ -63,6 +64,10 @@ public void handleKeybindPress() { // ModJam.LOGGER.info(player.getDeltaMovement().toString()); player.hasImpulse = true; setCooldown(25); + player.playSound(SoundEvents.UI_TOAST_IN, 2.0f, 1.0f); + player.playSound(SoundEvents.UI_TOAST_IN, 1.5f, .8f); + //player.playSound(SoundEvents.ELYTRA_FLYING); + // player.playSound(SoundEvents.HORSE_AMBIENT, 2.0f,1.0f); // Look at the sick graph omg } } \ No newline at end of file