Is there anyone who could give me an example of what I need? Thanks
[doublepost=1502817991,1502815312][/doublepost]So I looked more into it and found this:
code_language.skript:
Named Sound Effect
See also: #Sound Effect
Used to play a sound effect on the client. Custom sounds may be added by resource packs.
Packet ID State Bound To Field Name Field Type Notes
0x19 Play Client Sound Name String (256) All sound effect names as of 1.12.1 can be seen here.
Sound Category VarInt Enum The category that this sound will be played from (current categories)
Effect Position X Int Effect X multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part)
Effect Position Y Int Effect Y multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part)
Effect Position Z Int Effect Z multiplied by 8 (fixed-point number with only 3 bits dedicated to the fractional part)
Volume Float 1 is 100%, can be more
Pitch Float Float between 0.5 and 2.0 by Notchian clients
From there, I looked at the link it gave me:
http://pokechu22.github.io/Burger/1.12.1.html#stats:damagedealt
I found damageDealt and it is in the website that shows all of the sound effects. I'm not sure how to incorporate that in code, but I think I have started on a path. If someone could guide me, that would be great. Thank you.
Also, what is the packet named that I need? Would it be: PLAY_CLIENT_SOUND_DAMAGEDEALT ? I'm not sure. I might be WAY off, but I got it from: "Play Client Sound Name String (256)" that is shown in the code.
[doublepost=1502833392][/doublepost]So, I kept searching and found something like this: PLAY_CLIENTBOUND_
number-here. Is each number a sound, like damageDealt? If not, what is each number and what is the damageDealt?