Is there a way to add custom player hurt sounds?

Started by Reedomu on

Topic category: Help with modding (Java Edition)

Last seen on 15:35, 25. Jul 2024
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a way to add custom player hurt sounds?

In Minecraft, a different sound effect plays each time you take damage, depending on the type of damage you take. I want to know if it is possible to add custom player hurt sounds for different damage types.

Last seen on 20:18, 25. Jul 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is possible, either…
Sun, 12/03/2023 - 08:47

This is possible, either make the blocks or entity that hurt the player play a sound when they hit the player, or make the player check, if for example, they are inside lava, and if so, play a sound.