Skip to content

Commit

Permalink
Leap sound
Browse files Browse the repository at this point in the history
  • Loading branch information
ktpatient committed Sep 22, 2024
1 parent 1819ab3 commit 1afbadc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
}
}

0 comments on commit 1afbadc

Please sign in to comment.