[UNSOLVED] Is there a way to make a customizable death sound?

Started by nosogla on

Topic category: Help with modding (Java Edition)

Last seen on 20:34, 21. Oct 2021
Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[UNSOLVED] Is there a way to make a customizable death sound?
Tue, 07/20/2021 - 19:05 (edited)

I understand theres a pool of sounds that are used for a player death, but is there a way to change the pool to one (customizable) sound, and under any circumstances, play that sound during your players death? because i want to make a mod that adds a death sound, and makes it the Windows 95 Startup Sound. Im making a fabric modpack and i want to add this for 1.16.5 (so im using fabric 1.16.5)

Please help, because i've been thinking about this for a while.

Edited by nosogla on Tue, 07/20/2021 - 19:05
Last seen on 02:40, 4. Jan 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Think the best you can do…
Tue, 07/20/2021 - 17:55

Think the best you can do without digging into the code itself is something like this

 

Global Trigger - Entity dies

If Entity is EntityPlayer or EntityPlayerMP

  • If [other condition you mentioned]
  •  - Play sound at location