How to add custom sounds in a resource pack?

Solution 1:

I don't suggest changing Minecraft sounds by going into the game files so you should make a resource pack. If you don't want to change any textures, then you just have to make a sounds folder.

Asumming you know that you know about the pack.mcmeta and pack.png, you just have to make a file directory like this:

my_custom_resource_pack/assets/minecraft/sounds/[category]

For example, I want to change the villager item sound to me say "eyo". First, I would use a program to record me saying ey and I would save it as .ogg. use this link: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571574-all-minecraft-playsound-file-names to see what to name it to. In my case it would be mob.villager.idle1.ogg. You can see that the prefix is mob, meaning that the "category" folder we made earlier should be renamed to mob. After this, you should be done!

Put that folder into your resource packs folder and have fun!