Where to learn about making Minecraft mods?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Phyroxzenoid

New Member
Jul 29, 2019
60
0
0
Hi, I've been interested in Minecraft mods for a long time and I've decided I wanna take the plunge and try making some of my own :p The problem is, I can't really find a good place to learn. Does anyone know of a popular website/youtube channel that teaches you how to make mods?
Also, assume I know absolutely nothing about making mods.
 

SatanicSanta

New Member
Jul 29, 2019
4,849
-3
0
Learn Java, then look at source code of Minecraft and other mods and figure out what they do; then figure out how to do them better.
 

VapourDrive

New Member
Jul 29, 2019
536
-8
1
Vswe has a series of lectures that he has done very well, watch all of them (quick google). Also use other mods open source code for help with knowing what functions to call etc. Attained drops has "pretty good" coding style but I need to work on cleaning up some functions. The link is in the signature. I will say that it is a good reference for onBlockUpdate related things and config options :).
 
  • Like
Reactions: SatanicSanta

jordsta95

New Member
Jul 29, 2019
5,056
-4
1
Vswe has a series of lectures that he has done very well, watch all of them (quick google). Also use other mods open source code for help with knowing what functions to call etc. Attained drops has "pretty good" coding style but I need to work on cleaning up some functions. The link is in the signature. I will say that it is a good reference for onBlockUpdate related things and config options :).
Only problem with Vswe's tutorials is they are outdated, by a few MC versions, and some of the functions are deprecated?
 

VapourDrive

New Member
Jul 29, 2019
536
-8
1
Only problem with Vswe's tutorials is they are outdated, by a few MC versions, and some of the functions are deprecated?
Most of the advanced parts of his tutorials are still very much relevant and the more basic parts (new items and blocks) can be found quite easily in any open source code. The methods that get used to do the "cool things" most likely haven't really changed. Also read the function comments in a lot of the code that fml and forge add: very inciteful for passing parameters and such. Much of what was around for 1.6.4 is still pretty decent for 1.7.x, the id chance was quite big but not at all hard to adapt to.
 
  • Like
Reactions: SatanicSanta

SatanicSanta

New Member
Jul 29, 2019
4,849
-3
0
the id chance was quite big but not at all hard to adapt to.
It was especially not-hard due to how once the change was made, it became a helluva lot easier to do things, and allowed for more time to do content and bug fixes.

OP: Also, you should always put your open source mods on some sort of repository system like Bitbucket or GitHub, especially when you are learning, so if someone finds an issue in your code they can submit a pull request :)
 
  • Like
Reactions: VapourDrive

Lumaceon

Popular Member
Jul 23, 2014
312
607
118
Not Kansas
http://www.pahimar.com/tutorials/lets-mod/ - Super helpful series of modding tutorials.
I should mention that if you don't know java, don't even try learning to make a mod until you understand the basics (something like a month or two of learning).

When in doubt, google the name of a mod that does a similar thing you want to, along with "Github" or "Bitbucket." I've learned how to do multiple different things based off of how others did something similar.

lolwut. Santa's Decor is coded horribly.
In many cases, the more terribly something is coded, the more complicated it looks. I should know that better than most. :p
 
  • Like
Reactions: SatanicSanta

VapourDrive

New Member
Jul 29, 2019
536
-8
1
http://www.pahimar.com/tutorials/lets-mod/ - Super helpful series of modding tutorials.
I should mention that if you don't know java, don't even try learning to make a mod until you understand the basics (something like a month or two of learning).

When in doubt, google the name of a mod that does a similar thing you want to, along with "Github" or "Bitbucket." I've learned how to do multiple different things based off of how others did something similar.


In many cases, the more terribly something is coded, the more complicated it looks. I should know that better than most. :p
Heh, it pains me to see some of my nested if statements, I'm slowly moving to more private boolean functions.
 
Last edited: