i have some ideas for mods but i dont know how to make mods.... can someone please send a link to youtube or something that shows how to make a minecraft mod? i rate myself not knowing how to make mods.
I highly recommend simo_415's tutorials. Just remember that before you can start coding, you need the Java SDK, Netbeans, and the Minecraft Coder Pack.
Make sure you read the readme for MCP. It's impossible to use the program without reading that. Also, make sure you have at least SOME understanding of programming. If you know Java, perfect. If you know C++, you can probably make do. If you haven't done any programming at all, work on your own for a while before trying to mod Minecraft.
I highly recommend simo_415's tutorials. Just remember that before you can start coding, you need the Java SDK, Netbeans, and the Minecraft Coder Pack.
Make sure you read the readme for MCP. It's impossible to use the program without reading that. Also, make sure you have at least SOME understanding of programming. If you know Java, perfect. If you know C++, you can probably make do. If you haven't done any programming at all, work on your own for a while before trying to mod Minecraft.
can i get a video showing how or something? please?
If your not willing to read, then I would move on from this.
Rollback Post to RevisionRollBack
"Pain is temporary. It may last a minute, or an hour, or a day, or a year, but eventually it will subside and something else will take its place. If I quit, however, it lasts forever"
It's unfortunate, but what everybody has been saying is true. It's impossible to do a video tutorial on how to do Java. Even if there were a video tutorial, it would be several days of VERY in-depth material, and you would have to watch each 5-minute segment of that video 3-4 times to get each part. If you want tutorials on Java, there's some at http://download.oracle.com/javase/tutorial/
If you'd like a little taste of what Java is like, here's an example of the source code in Minecraft.
public class BlockWorkbench extends Block
{
protected BlockWorkbench(int i)
{
super(i, Material.wood);
blockIndexInTexture = 59;
}
public int getBlockTextureFromSide(int i)
{
if(i == 1)
{
return blockIndexInTexture - 16;
}
if(i == 0)
{
return Block.planks.getBlockTextureFromSide(0);
}
if(i == 2 || i == 4)
{
return blockIndexInTexture + 1;
} else
{
return blockIndexInTexture;
}
}
public boolean blockActivated(World world, int i, int j, int k, EntityPlayer entityplayer)
{
if(world.multiplayerWorld)
{
return true;
} else
{
entityplayer.displayWorkbenchGUI(i, j, k);
return true;
}
}
}
Those 39 lines of code describe how the workbench is displayed and operates... kinda. Up at the very top you'll see it says "extends Block." If you want the full details on how it works, you'll have to refer back to the file Block.java, which is over 700 lines of code. As well, the code displayed does NOT refer to how you craft items. All it says as far as crafting goes is that if the player activates the block, open up the workbench GUI. You'd have to refer to ANOTHER file for how that works.
Sorry if this is scaring you away from programming. There's a lot of money to be made in programming if you're good, and if that's the kind of career you want, go ahead and practice on Minecraft. But learn the basics first! Start out with hello world (basic starter program), move up to if and switch statements, and eventually learn object-oriented programming. Then you'll be ready to try modding Minecraft. Some schools (high school and college) offer programming classes, even for people who aren't majoring in it. You might try looking for one.
pfft this is a taster of what i do C++
#include<iostream>
#include<string>
#include <cstdlib>
#include<direct.h>
#include<fstream>
using namespace std;
string Commands;
int main()
{
cout << "What would you like to do?" << endl;
cout << "Enter a command" << endl;
cin >> Commands;
{
string WebAd;
cout << "What web address do you want to open?" << endl << "If you want to go to the default Adress (www.google.com) then just type DEF" << endl;
if (Commands == "CNF" || Commands == "cnf")
{
string FolderName;
string SaveLocation;
cout << "What do you want the folder to be called?" << endl;
cin >> FolderName;
cout << "Where do you want the folder to be created at?" << endl << endl;
cout << "Example C:\\users\\Jake\\Newfile, You must have // insted of /" << endl;
cin >> SaveLocation;
int _mkdir(
const char *SaveLocation
cout << "Sorry but that is not a reconised command" << endl << endl;
cout << "Type 'Help' for command assistance" << endl;
cin >> Commands;
if (Commands == "Help" || Commands == "help")
{
cout << "Commands" << endl;
cout << "Help" << endl << "Minecraft" << endl << "Internet" << endl;
Commands = "";
cin >> Commands;
}
system("pause");
}
Nice little script, however, you don't give the user the opportunity to type in the address they want, even though you reference that they can. (Just helping emphasize how difficult coding can be, even for something this simple.)
I personally prefer coding in Java, though I'm fairly proficient in C++ also. I once had to write a program for C++ (no gui, thank God) that would play the game "War"... 1000+ lines of code. half a dozen arrays, and about the same number of lists (variable length arrays). Pain. In. The. Butt. But it worked, LOTS of debugging, had to rewrite the whole thing once because I missed a semicolon and couldn't find it. Not Happy.
I just want to make a simple 'Money' mod. All it needs to have is a sprite and the crafting recipe... Can someone either suggest a mod for me, or give me a list of things I need to do/have to make it? Thanks.
I just want to make a simple 'Money' mod. All it needs to have is a sprite and the crafting recipe... Can someone either suggest a mod for me, or give me a list of things I need to do/have to make it? Thanks.
Did you even read any of the posts in this thread? If so, and you still have no idea what you need, maybe this would more your speed.
As one who is pretty good at C#, Java doesn't look that bad. I thank god that they all work kinda the same at the basic level. I should get to getting a book or something in Java.
Rollback Post to RevisionRollBack
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the universe."
-Albert Einstein
Hi like him I am looking to start modding but I am willing to take my time and what I would like to know is what java coding stuff I would need to know because I am looking for a book to read to help me learn. So could someone help me please. :biggrin.gif:
i have some ideas for mods but i dont know how to make mods.... can someone please send a link to youtube or something that shows how to make a minecraft mod? i rate myself not knowing how to make mods.
honesly i think if you want to do moding you have to be commited and also what kind of moding do you want to do? do you want to just alter the properties of a block or create new content?
honesly to get into adding new content into the game you:
A)neeed to know a scripting laguage
B)need the right tools like java sdk
C) you need experiance with computers or you wont even find the executable jar to minecraft.
i am not a modder myself but i want to be one and you need these 3 thing( and there maybe more things
It's unfortunate, but what everybody has been saying is true. It's impossible to do a video tutorial on how to do Java. Even if there were a video tutorial, it would be several days of VERY in-depth material, and you would have to watch each 5-minute segment of that video 3-4 times to get each part. If you want tutorials on Java, there's some at http://download.oracle.com/javase/tutorial/
Correction: The New Boston had a huge collection of Java videos.
If you want to be capable of programming, read.
Creating a program, or editing anything through the use of any programming language, requires creativity and patience, as well as theoretical knowledge. None of these can be gained from a mere video tutorial, so if you are determined to create anything, read. And read a lot, on top of practising with the programming language you have chosen daily.
And besides that, nobody would want to use anything created by a person who doesn't know what he is doing and relied on luck to get things done.
you make it sound like programmers are frekin ninjas
I got the weirdest error when I made my mod. Anyway I had hoped to get some help here (this is about making new items and not changing main features of the game, i.e. flying)
I have made the mod which works 100% just fine on when I use it, but when anyone DL's it and installs it they get a black screen.
Any help on this would be GREATLY appreciated.
I am relatively new to java, my main language has been .net, but im moving to C#, so i know how synapses work.
If anyone CAN help please reply
(also note my mod isn't flying, that was just an example)
Rollback Post to RevisionRollBack
Assassination Rogue PvP, 3.1K Resil And Counting. Minecraft Server Info: 68.202.208.34, More Info
I got the weirdest error when I made my mod. Anyway I had hoped to get some help here (this is about making new items and not changing main features of the game, i.e. flying)
I have made the mod which works 100% just fine on when I use it, but when anyone DL's it and installs it they get a black screen.
Any help on this would be GREATLY appreciated.
I am relatively new to java, my main language has been .net, but im moving to C#, so i know how synapses work.
If anyone CAN help please reply
(also note my mod isn't flying, that was just an example)
Fixed, it was my java version (1.7.x)
Rollback Post to RevisionRollBack
Assassination Rogue PvP, 3.1K Resil And Counting. Minecraft Server Info: 68.202.208.34, More Info
Well to give my opinion on this. Learning to program is a process that takes several years of active trial & error combined with looking at example/existing code and reading detailed information about small parts of the possibilities of programming (EG opening a filestream). If you have little to no experience in any form of programming making mods for minecraft is going to be extremely hard as you have no clue what you're actually doing (You are basically messing around with existing files/copied sources from tutorials). Although I'm new at modding minecraft I've been programming for years in both the .NET platform (VB mainly) and C++. I've also created mods for Call of Duty 4 (Which is effectively C++ syntax). I have about 0 experience with Java but since I have learned to program in other languages I understand what is happening. Java has a syntax very similar to C/C++ and if all you're doing is changing/looking at existing minecraft code making an actual mod isn't all that hard. Read the code, follow all the references and eventually you should fully understand how a specific process works.
The core of my message, you can't just watch a 'java tutorial' and learn how to program. It is a resource you can access that can provide support in your process of learning how to program. The coders of the more complex mods out here for minecraft have probably all been programming for years. I see a lot of people creating simple mods that add a new block/item/ore to the game because they copied a tutorial and just messed around while having no clue what they are doing. The result is a mass amount of 'help me compile error x' threads with a lot of really basic and mainly syntax/naming errors, errors that someone with programming experience will understand and is able to fix himself.
Wall of text :>
I completely agree with you that is why I am asking my dad to help me get started. I plan to study and learn java as much as I can because I am willing to dedicate my life to coding because I have always been iterested in how you can write a long code but just come out with something small like a hello world program. I am just asking what I should start with because my dad and I are having trouble finding a book or something for me to get started with.
So if someone could help me that would be great and my advise to the starter of this thread is that if you want to get in to modding minecraft you have to start somewhere and work your way up. :smile.gif:
Before you start modding you need to know how java works, I found this site that can help with that http://www.javabeginner.com/ Good luck :biggrin.gif:
Guys! I just finished the Absolute Beginners tutorial, and modloader tutorial, but everytime I test it, minecraft flashes with error. So I copied the final code provided (mod_Example and BlockExample) and still gives me flashing error. Am I suppose to delete Meta-inf? I was told not to, MCP doesnt need meta-inf deleted, but i dont know
I highly recommend simo_415's tutorials. Just remember that before you can start coding, you need the Java SDK, Netbeans, and the Minecraft Coder Pack.
Java and Netbeans (http://www.oracle.com/technetwork/java/ ... index.html)
MCP (http://mcp.ocean-labs.de/index.php/Main_Page)
Make sure you read the readme for MCP. It's impossible to use the program without reading that. Also, make sure you have at least SOME understanding of programming. If you know Java, perfect. If you know C++, you can probably make do. If you haven't done any programming at all, work on your own for a while before trying to mod Minecraft.
can i get a video showing how or something? please?
Lance Armstrong
http://download.oracle.com/javase/tutorial/
If you'd like a little taste of what Java is like, here's an example of the source code in Minecraft.
Those 39 lines of code describe how the workbench is displayed and operates... kinda. Up at the very top you'll see it says "extends Block." If you want the full details on how it works, you'll have to refer back to the file Block.java, which is over 700 lines of code. As well, the code displayed does NOT refer to how you craft items. All it says as far as crafting goes is that if the player activates the block, open up the workbench GUI. You'd have to refer to ANOTHER file for how that works.
Sorry if this is scaring you away from programming. There's a lot of money to be made in programming if you're good, and if that's the kind of career you want, go ahead and practice on Minecraft. But learn the basics first! Start out with hello world (basic starter program), move up to if and switch statements, and eventually learn object-oriented programming. Then you'll be ready to try modding Minecraft. Some schools (high school and college) offer programming classes, even for people who aren't majoring in it. You might try looking for one.
Nice little script, however, you don't give the user the opportunity to type in the address they want, even though you reference that they can. (Just helping emphasize how difficult coding can be, even for something this simple.)
I personally prefer coding in Java, though I'm fairly proficient in C++ also. I once had to write a program for C++ (no gui, thank God) that would play the game "War"... 1000+ lines of code. half a dozen arrays, and about the same number of lists (variable length arrays). Pain. In. The. Butt. But it worked, LOTS of debugging, had to rewrite the whole thing once because I missed a semicolon and couldn't find it. Not Happy.
My Video Tut series.... on Minecraft Modding.
http://www.youtube.com/playlist?list=PL66E9C233C6440BB6
And that's why we have dozens of Emerald Ore and Insta-Mine mods done by people who can't tell the difference between a property and a method.
Did you even read any of the posts in this thread? If so, and you still have no idea what you need, maybe this would more your speed.
Dbag^
-Albert Einstein
honesly i think if you want to do moding you have to be commited and also what kind of moding do you want to do? do you want to just alter the properties of a block or create new content?
honesly to get into adding new content into the game you:
A)neeed to know a scripting laguage
B)need the right tools like java sdk
C) you need experiance with computers or you wont even find the executable jar to minecraft.
i am not a modder myself but i want to be one and you need these 3 thing( and there maybe more things
Correction: The New Boston had a huge collection of Java videos.
you make it sound like programmers are frekin ninjas
I have made the mod which works 100% just fine on when I use it, but when anyone DL's it and installs it they get a black screen.
Any help on this would be GREATLY appreciated.
I am relatively new to java, my main language has been .net, but im moving to C#, so i know how synapses work.
If anyone CAN help please reply
(also note my mod isn't flying, that was just an example)
Fixed, it was my java version (1.7.x)
I completely agree with you that is why I am asking my dad to help me get started. I plan to study and learn java as much as I can because I am willing to dedicate my life to coding because I have always been iterested in how you can write a long code but just come out with something small like a hello world program. I am just asking what I should start with because my dad and I are having trouble finding a book or something for me to get started with.
So if someone could help me that would be great and my advise to the starter of this thread is that if you want to get in to modding minecraft you have to start somewhere and work your way up. :smile.gif: