deathrat Posted May 2, 2012 Share Posted May 2, 2012 First things first, in order to make a mod you'll need to know Java. Java is a programming language(not to be confused with JavaScript), and a good starting point to learning Java is here. After you've read through that and get the idea of programming, you will probably want an IDE(Integrated Development Environment), although it isn't required. A couple of popular IDEs for Java are NetBeans, Eclipse, and IntelliJ. I personally use and recommend Eclipse because it works right out of the box with MCP. Alternatively, you can code without an IDE using your favorite text editor like Notepad++, Vim, or even the default text editor that comes with your OS like Notepad, you just won't have all the extra features an IDE brings(a lot of which you probably won't even need if you're a beginner programmer). Next, you will need MCP(Minecraft Coder's Pack), which can be found here, extract the contents of the zip into a folder and read the README-MCP.txt file inside of the docs folder for further instructions. Now, listed below are a few recommended Tutorials, I highly recommend you use Forge in your mods, as it insures maximum compatibility with other mods. Creating Mods with Minecraft Forge by Methuselah96 Modding from Scratch by mDiyo Advanced Modding Tutorials by TheInstitution And for when you're ready to make the dive into developing a mod for SMP: Forge Networkmod and FML(Forge ModLoader) and how to port from MLMP by AtomicStryker Now, when you're done reading all that, if you have any questions, feel free to ask them in this subforum, but PLEASE make sure it wasn't already answered in one of the tutorials, or forever regret the day you earned the dreaded pink name. Link to comment Share on other sites More sharing options...
jakj Posted May 2, 2012 Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. You don't need an IDE, though. If you are a knowledgeable programmer but just have no clue about Java or Minecraft specifically, it's probably a whole hell of a lot easier to work with source files directly in MCP and not use an IDE, or at the least, graduate to an IDE after you've figured things out. If I had tried to use Eclipse instead of diving right in, it might have been another few weeks before I even got a hello-world mod working, and I might even have given up. Link to comment Share on other sites More sharing options...
The Merchant of Menace Posted May 2, 2012 Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. Yeah, I just use Notepad++ for my foolings around with the source. Link to comment Share on other sites More sharing options...
jakj Posted May 2, 2012 Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. Yeah, I just use Notepad++ for my foolings around with the source. VIm for life, baby. Link to comment Share on other sites More sharing options...
deathrat Posted May 2, 2012 Author Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. You don't need an IDE, though. If you are a knowledgeable programmer but just have no clue about Java or Minecraft specifically, it's probably a whole hell of a lot easier to work with source files directly in MCP and not use an IDE, or at the least, graduate to an IDE after you've figured things out. If I had tried to use Eclipse instead of diving right in, it might have been another few weeks before I even got a hello-world mod working, and I might even have given up. Right, I just thought it's probably better for someone to start using one as it gives people more feedback while they're coding rather than them have to wait for it to recompile only to get a syntax error. Link to comment Share on other sites More sharing options...
jakj Posted May 2, 2012 Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. Right, I just thought it's probably better for someone to start using one as it gives people more feedback while they're coding rather than them have to wait for it to recompile only to get a syntax error. This is true, but it's a tradeoff that needs to be considered: Some people would feel more overwhelmed by having no feedback besides compiler errors, while some people would feel overwhelmed by having an entire GUI thrown at them when they just want to code. I think you should just insert a line (maybe in little text?) that makes it clear that MCP includes recompilation/reobfuscation features sufficient to develop and publish mods without an IDE. Anybody capable of doing it that way would understand what that means, and anyone not capable of that would just skip over that line. Link to comment Share on other sites More sharing options...
deathrat Posted May 2, 2012 Author Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. This is true, but it's a tradeoff that needs to be considered: Some people would feel more overwhelmed by having no feedback besides compiler errors, while some people would feel overwhelmed by having an entire GUI thrown at them when they just want to code. I think you should just insert a line (maybe in little text?) that makes it clear that MCP includes recompilation/reobfuscation features sufficient to develop and publish mods without an IDE. Anybody capable of doing it that way would understand what that means, and anyone not capable of that would just skip over that line. done, thanks for the criticism. Link to comment Share on other sites More sharing options...
The Merchant of Menace Posted May 2, 2012 Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. VIm for life, baby. I use Nano :P Link to comment Share on other sites More sharing options...
jakj Posted May 2, 2012 Share Posted May 2, 2012 Re: Modding, Or: How I learned to stop sucking and read the fucking sticky. I use Nano Pico/Nano are like the unholy lovechildren of VI and EMACS; It's like they tried to end the editor holy war by pulling a Romeo and Juliet. Link to comment Share on other sites More sharing options...
The Merchant of Menace Posted May 2, 2012 Share Posted May 2, 2012 Eh, it's simple to use and it suits my purposes, so I see no real reason to learn a new editor. Even though it has resulted in me atteming to use ctrl-w to search for things, many times. Link to comment Share on other sites More sharing options...
Forum Administrators sct Posted May 2, 2012 Forum Administrators Share Posted May 2, 2012 There is nothing wrong with using an IDE, especially for a beginner. They promote good coding practices and help find compile errors before they happen. edit: Eclipse es #1 huehue Link to comment Share on other sites More sharing options...
perpetualgamer Posted May 2, 2012 Share Posted May 2, 2012 This thread is without a doubt the most helpful thread ever created on this forum, for people looking to get into modding, Thank you OP for your time and effort. IDE's are good. Link to comment Share on other sites More sharing options...
Pilchard123 Posted May 6, 2012 Share Posted May 6, 2012 Aha! I shall be using this. Now, exams or modding... Link to comment Share on other sites More sharing options...
jakj Posted May 6, 2012 Share Posted May 6, 2012 I hope people start asking questions soon: People who want to answer questions are waiting impatiently. :-( Link to comment Share on other sites More sharing options...
The Merchant of Menace Posted May 6, 2012 Share Posted May 6, 2012 Jakj. Just how are you so sexy? Link to comment Share on other sites More sharing options...
jakj Posted May 6, 2012 Share Posted May 6, 2012 Jakj. Just how are you so sexy? Recognition and acceptance of my flaws without letting them affect my outlook on life. ;-) Link to comment Share on other sites More sharing options...
Pilchard123 Posted May 6, 2012 Share Posted May 6, 2012 A word of warning: TheInstitutions' custom block tutorials have a small problem. Where he says to type "GenerateSurface", you should type "generateSurface" - with the lower-case g. I thought it was a little weird when he did it, but I thought "hey, this is Notch we're talking about here". Nope, it was wrong. Half an hour of not seeing a custom block anywhere later... "generateSurface", NOT "GenerateSurface" . Lower-case g. Use one. Link to comment Share on other sites More sharing options...
jakj Posted May 6, 2012 Share Posted May 6, 2012 This is why you always use @Override. Link to comment Share on other sites More sharing options...
Neowulf Posted May 7, 2012 Share Posted May 7, 2012 I hope people start asking questions soon: People who want to answer questions are waiting impatiently. :-( I would but every time I start typing a new thread to ask about some completely random error I'm having I get about halfway through the post before getting an idea that fixes my problem. I'm a bad newbie modder, figuring out my own problems... Link to comment Share on other sites More sharing options...
The Merchant of Menace Posted May 7, 2012 Share Posted May 7, 2012 Post it anyway, then post the solution. Link to comment Share on other sites More sharing options...
Neowulf Posted May 7, 2012 Share Posted May 7, 2012 Will do after work. So far I've gotten a set of IC2 crop cards to compile, but getting my mod to actually load seems to be a problem. Still got a couple things to try. Link to comment Share on other sites More sharing options...
SirStompsalot Posted May 14, 2012 Share Posted May 14, 2012 Just throwing it out there, I prefer Sublime Text for editing. It doesn't have many of those pesky "features" that an IDE does, and if it does I can turn it off. Might be nagware, but the pestering me to purchase isn't that frequent either. Link to comment Share on other sites More sharing options...
robertcarr22 Posted May 16, 2012 Share Posted May 16, 2012 I've been using codeacademy.com to learn basic java stuff should I continue this or go straight into modding? Link to comment Share on other sites More sharing options...
hoho Posted May 16, 2012 Share Posted May 16, 2012 I've been using codeacademy.com to learn basic java stuff should I continue this or go straight into modding?Why not do both at the same time? Start modding and if you encounter something you don't understand find some materials that would explain things. Link to comment Share on other sites More sharing options...
robertcarr22 Posted May 16, 2012 Share Posted May 16, 2012 Why not do both at the same time? Start modding and if you encounter something you don't understand find some materials that would explain things. That's a good idea! Thanks! :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now