I have started making mods for minecraft and made a few blocks with techne. I exported them as wordpad java files and the problem is that I need to know how to merge the codes together and where I merge them to. Also when I finish how should I publish it.
Making blocks with techne?
I know Java pretty well, but I don't know Minecraft very well, but at some level Minecraft programming is just a kind of Java programming.
Source code in Java are plain text files with the file name extension of.java. You can open plain text files, such as Java source files with different programs. I prefer Notepad++ for a text editor or a Java IDE (see below).
Generally, you compile the.java files and the Java compiler will produce a.class file for each class in the source code.
Generally, you bundle the.class files together into a.jar file which is short for "Java Archive". A.jar file can contain many.class files and can also contain resources such as images and sounds etc.
To compile the.java files and turn them into a.jar file, you can either use an integrated development environment (IDE) such as BlueJ or NetBeans or you can use the following Java command-line tools instead of using an IDE
Java Compiler
javac
Java Archiver
jar
Java Runtime
java