What type of coding should I learn to start modding? (Specifically Minecraft)?

Well, I have (very) basic understanding of JavaScript but before I progress I just want to know what language and /or what specific area of that language I should work on in order to start modding games? Specifically Minecraft. I would also like to know of any methods/websites/programs I could use to help me get started. Thank you.

If you need any questions please feel free to ask.

JavaScript, according this website

Minecraft may have javascript due to the website posted below, but for games in general, you look for lua, python, c++(older games nowadays), lua is in a lot of games such as garry's mod, its easy.
python is easy also, you should probably start with that before you go into something more complicated!