Posted April 20, 201510 yr After setting up my main mod file I am completely lost. I have no idea where to start or what to do. The code seems to have changed a ton(Y DO U HAVE TO CHANGE SO OFTEN). And to make it all better I can't find the source code for vanilla minecraft... yay *cries*. But in all seriousness, I need somewhere to get started, so anything that gives examples of the new code and can somewhat explain it or make it clear as to what it does or is used for would be fabuloooooooooous! Thanks. How do you do?
April 20, 201510 yr Hi A good place to start might be to fork this tutorial project https://github.com/TheGreyGhost/MinecraftByExample --> delete the bits you don't want, and customise the rest, step by step. If you make small changes and test after each one, it will be a lot less frustrating I think. -TGG
April 20, 201510 yr And to make it all better I can't find the source code for vanilla minecraft... yay *cries*. What command did you use to setup your workspace? Did you use gradlew setupDecompWorkspace or setupDevWorkspace? You need to use the decomp workspace if you want the source available. If you do that, it should show up as a referenced library in your project with name forge-src Check out my tutorials here: http://jabelarminecraft.blogspot.com/
April 20, 201510 yr Author What command did you use to setup your workspace? Did you use gradlew setupDecompWorkspace or setupDevWorkspace? You need to use the decomp workspace if you want the source available. If you do that, it should show up as a referenced library in your project with name forge-src I'm positive I used setupDecompWorkspace, when I go under forgeSrc I don't get any source code, I do get assets, however. How do you do?
April 20, 201510 yr Did you get any errors during the build? Check out my tutorials here: http://jabelarminecraft.blogspot.com/
April 20, 201510 yr Author Did you get any errors during the build? Nope, everything seemed to be successful. How do you do?
April 20, 201510 yr Author If you use eclipse did you do this command: gradlew.bat eclipse? No, I did not. I assume I run this in the command prompt inside my mod folder? How do you do?
April 21, 201510 yr If you use eclipse did you do this command: gradlew.bat eclipse? No, I did not. I assume I run this in the command prompt inside my mod folder? Uh huh. Like it says in the readme. (though you'll want setupDecompWorkspace, rather than the readme's setupDevWorkspace) Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 21, 201510 yr Uh huh. Like it says in the readme. Yep, and the source setup tutorial. And yes you'll want to run the command in your mod folder. Here's a tip, once you are in your mod folder, click Shift+RightClick and select "open command window here". Then run the command. The you don't have to do "cd C:\Your\Mod\Directory\". It's faster.
April 21, 201510 yr Author If you use eclipse did you do this command: gradlew.bat eclipse? Still no source code after running it. How do you do?
April 21, 201510 yr setupDecompWorkspace Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
April 21, 201510 yr Wait, what exactly were you running? You said you ran setupDecompWorkspace. Try: gradlew.bat setupDecompWorkspace --refresh-dependencies That's what this says to run: http://www.minecraftforge.net/wiki/Installation/Source
April 21, 201510 yr Author setupDecompWorkspace Thanks for all the help, I was able to fix it. The file was corrupted or something so I just re-downloaded it. It's all good. How do you do?
April 21, 201510 yr Um, back on the subject of what to do once you've made your MainMod file... Go to wuppy29's site: http://www.wuppy29.com/minecraft/modding-tutorials/forge-modding-1-8/#sthash.GUAStUe5.dpbs His tutorials are really useful and really accurate. Also, please keep in mind: getUnlocalizedName() returns name.[the unlocalizedname you set it to] And when you call GameRegistry.registerItem(), register your item with its getUnlocalizedName().substring(5). I took me something like 8 posts to figure this out- if you don't do this, your textures won't load. Sup bruh.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.