SirStompsalot Posted May 16, 2012 Posted May 16, 2012 I've been using codeacademy.com to learn basic java stuff should I continue this or go straight into modding? Does Codeacademy have Java lessons? I remember seeing it some time ago, it was just javascript then. Quote
bakerrboi Posted May 20, 2012 Posted May 20, 2012 I picked up a book about java programming at the book store the other day. I've been reading through it lately and I'm enjoying it alot. My question is, will this help me understand how to make mods or am I just wasting my time? Keep in mind that this book doesnt have any sections with game development. Quote
gotyaoi Posted May 20, 2012 Posted May 20, 2012 Most of modding for minecraft is taking advantage of the structures already in place. The important bit is to be able to read code and to understand the methods provided. Aside from learning java (which is an important step), you'll want to look into the modloader javadoc and what documentation there is available for forge. There are also some tutorials available. Check the OP in this thread for links. Quote
Neowulf Posted May 29, 2012 Posted May 29, 2012 Something I learned last night. If you end up having to reinstall your java SDK because of a type error on recompile, it's best to just redo your decompile fresh. Once you replace your java SDK it changes the MD5 sums, so if it bothers to recompile correctly it will assume every class has changed and needs to be sent out during reobfuscation. And you'll be picking through every aah, aaf, aha, ect... class minecraft has looking for your client files. The server portion won't even bother recompiling. Quote
jakj Posted May 29, 2012 Posted May 29, 2012 Same thing happens if you compile with 7 instead of 6 mode unfortunately. Still works though, even baseclass alterations. Quote
thedreameater Posted June 25, 2012 Posted June 25, 2012 Thank you for this post! I want to learn how to mod and BLAM, here's where to start. Awesome. Quote
ErusPrime Posted July 29, 2012 Posted July 29, 2012 heh. all the stuff I want to look at is coming soon. Quote
theprolo Posted November 14, 2012 Posted November 14, 2012 I think I'm doing the exact smae thing as robertcarr22... even the same website... Quote
Vathen Posted November 18, 2012 Posted November 18, 2012 I am trying to make a simple mod to add blocks to my server. I just want them to be like stone with no special properties. Also I want them in the creative inventory. I've actually managed this in 1.3.2 with forge, but I am not sure how to scale it back to 1.2.5. I have pieced together some code from the suggested tutorials, but I am not sure if I am going in the right direction. Could someone please help me with this. My mod file code: package net.minecraft.src; import net.minecraft.src.forge; import net.minecraft.src.forge.NetworkMod; public class Mod_VoyagerBlocks extends NetworkMod { public Mod_VoyagerBlocks() {} @Override public boolean clientSideRequired() { return true; } @Override public boolean serverSideRequired() { return false; } @Override public String getVersion() { // TODO Auto-generated method stub return null; } @Override public void load() { // TODO Auto-generated method stub } public static Block BlockHolodeck; public static Block BlockBrownPanel; public static Block BlockCheckerTile; static { BlockHolodeck = new BlockHolodeck(3000, 0).setBlockName("Holodeck").setHardness(1.0F).setResistance(1.0F); BlockBrownPanel = new BlockBrownPanel(3001, 0).setBlockName("Brown Panel").setHardness(1.0F).setResistance(1.0F); BlockCheckerTile = new BlockCheckerTile(3002, 0).setBlockName("Checkerd Tile").setHardness(1.0F).setResistance(1.0F); } } . and next one of the Block class files package net.minecraft.src; import net.minecraft.src.forge.ITextureProvider; public class BlockHolodeck extends Block implements ITextureProvider { public BlockHolodeck(int itemID, int texture) { super(itemID, texture, Material.rock); } @Override protected int damageDropped(int metadata) { return metadata; } @Override public String getTextureFile() { return "/Voyager.Holodeck.png"; } } Quote
theprolo Posted November 22, 2012 Posted November 22, 2012 This is probably a good place to ask this, so I'll ask here and hope it actually is. Does anyone know of a good modding tutorial for 1.4.2? Preferably text based. Using a mix-and-match method from googling it like I've been doing probably isn't the best way forward when trying to learn how to mod Minecraft, and I'd rather use one which covers a lot of possibilities while actually being clear to understand than spend ages trying to find separate tutorials for different things. Quote
ErusPrime Posted November 23, 2012 Posted November 23, 2012 This is probably a good place to ask this, so I'll ask here and hope it actually is. Does anyone know of a good modding tutorial for 1.4.2? Preferably text based. Using a mix-and-match method from googling it like I've been doing probably isn't the best way forward when trying to learn how to mod Minecraft, and I'd rather use one which covers a lot of possibilities while actually being clear to understand than spend ages trying to find separate tutorials for different things. click on the advanced modding tutorials. He is updating those. Quote
theprolo Posted November 23, 2012 Posted November 23, 2012 click on the advanced modding tutorials. He is updating those. I'll have another look, but I thought those were videos? I prefer Text tutorials for some reason, probably because I like to go at my own speed and have copy+paste available to compare. EDIT: Another question, so I'll shove it here for you people to help with. A lot of the tutorials have more ModLoader tutorials than Forge tutorials. Is this because these parts work the same in Forge, or are tutorial makers just preferring to make tutorials on Modloader than Forge? Quote
modderinproggress Posted June 17, 2013 Posted June 17, 2013 I hope people start asking questions soon: People who want to answer questions are waiting impatiently. :-( okay here's a question: How do I know if a code program will give me a virus? Quote
Neowulf Posted June 17, 2013 Posted June 17, 2013 Faith, trust, and pixie dust a virus scanner. Quote
_Mataroyale_Modpacker_ Posted June 17, 2013 Posted June 17, 2013 A wild necromancer has appeared! Quote
dwwojcik Posted June 17, 2013 Posted June 17, 2013 As long as you're on the topic of modding, do you guys think 1 semester of High School Intro to Java would be enough to start doing some basic modding stuff? Quote
Neowulf Posted June 18, 2013 Posted June 18, 2013 Mataroyale: it's a sticky, stickies never really die. DW: worth a shot. All you really need is the basic syntax and rules, everything else you can learn on the go from tutorials and reading the decompiled code. Quote
dwwojcik Posted June 18, 2013 Posted June 18, 2013 Ok, thx. =) I'm on summer vacation now, so I'll give it a shot. Quote
thegamer Posted December 29, 2013 Posted December 29, 2013 If a tutorial, like some of those suggested in the op, is a couple years old, will it still help me? And as far as using Forge goes, when the installer comes up do I want to install Forge client or do I want to extract the files? Quote
Neowulf Posted December 29, 2013 Posted December 29, 2013 If a tutorial, like some of those suggested in the op, is a couple years old, will it still help me? And as far as using Forge goes, when the installer comes up do I want to install Forge client or do I want to extract the files? Most core concepts have stayed the same (class structure, making blocks do things), but the very start of a mod has changed so dramatically between 1.2 and 1.6 that if you tried making a mod from an old guide and tried to fix the errors you'd never make it work. At this point it's best to just use those guides as an example of what to look for in an updated guide. Probably a good idea to check the latest comments in the threads for users posting updated information, like links to new guides. Or just check here: http://www.minecraftforge.net/wiki/Tutorials Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.