Minecraft isn't made in Java...
It's written in C++
Offline
WindowsExplorer wrote:
I, how do I put this eh, don't think we need this topic...
Why not? I don't see a ton of Java discussion on Misc, but there's nothing really wrong with this topic. Like other "official topics" for less-discussed subjects, it'll die if there's no interest, and if it doesn't die, then it has a purpose.
Offline
ipodbiped wrote:
WindowsExplorer wrote:
Does JavaScript count?
Java. JavaScript. Its all the same to me.
Java and JavaScript are completely different languages. They share some syntax, but they're similar only in name.
Offline
Harakou wrote:
ipodbiped wrote:
WindowsExplorer wrote:
Does JavaScript count?
Java. JavaScript. Its all the same to me.
Java and JavaScript are completely different languages. They share some syntax, but they're similar only in name.
Yup. I know javascript and am learning Java
Offline
Aidan wrote:
Minecraft isn't made in Java...
It's written in C++
No. The Java Console pops up when I view it.
Offline
poopo wrote:
class hi {
public static void main(String args[]) {
System.out.println("I know a bit of Java");
}
}
import javax.swing.JOptionPane;
class HiAndAppletTrouble {
public static void main(String args[]) {
JOptionPane.showMessageDialog(null, "Me too. I like these pop-up messages!");
JOptionPane.showMessageDialog(null, "I code in Notepad/TextEdit!");
JOptionPane.showMessageDialog(null, "But when I try to run applets, I get an error message saying something like 'error in method main: no method called main'. It's weird.");
System.out.println("Help is appreciated.");
}
}
Offline
Can someone show me a good website to learn java please? I wanna make a minecraft mod!
Last edited by ImagineIt (2011-11-04 21:06:16)
Offline
It's not that easy to mod guys. I know a bit of java, but it's still really hard.
Offline
SeptimusHeap wrote:
It's not that easy to mod guys. I know a bit of java, but it's still really hard.
I know. I just wanna learn how to program.
Offline
maxskywalker wrote:
poopo wrote:
class hi {
public static void main(String args[]) {
System.out.println("I know a bit of Java");
}
}import javax.swing.JOptionPane;
class HiAndAppletTrouble {
public static void main(String args[]) {
JOptionPane.showMessageDialog(null, "Me too. I like these pop-up messages!");
JOptionPane.showMessageDialog(null, "I code in Notepad/TextEdit!");
JOptionPane.showMessageDialog(null, "But when I try to run applets, I get an error message saying something like 'error in method main: no method called main'. It's weird.");
System.out.println("Help is appreciated.");
}
}
The class needs to be named the same thing as the file.
My version of that:
I make javatest.java
import javax.swing.JOptionPane; class javatest { public static void main(String args[]) { JOptionPane.showMessageDialog(null, "Me too. I like these pop-up messages!"); JOptionPane.showMessageDialog(null, "I code in Notepad/TextEdit!"); JOptionPane.showMessageDialog(null, "But when I try to run applets, I get an error message saying something like 'error in method main: no method called main'. It's weird."); System.out.println("Help is appreciated."); } }
I navigate to the javatest.java file in terminal (console)
I run in terminal (console) to make the class file:
javac javatest.java
Then I run in console to launch the program (you could also double click the .class on some OS's)
java javatest
Offline
ImagineIt wrote:
SeptimusHeap wrote:
It's not that easy to mod guys. I know a bit of java, but it's still really hard.
I know. I just wanna learn how to program.
Well, fill out my mini question-thing:
[] I have installed mods in Minecraft before
[] I have programmed in a text-based language. (PLEASE LIST)
[] I have programmed in a language other than Scratch. (PLEASE LIST)
[] I have been programming for ___ years. (Check if more than 1)
[] I am very good at Minecraft, I know all of the items and blocks, and most of the crafting recipes.
Offline
SeptimusHeap wrote:
ImagineIt wrote:
SeptimusHeap wrote:
It's not that easy to mod guys. I know a bit of java, but it's still really hard.
I know. I just wanna learn how to program.
Well, fill out my mini question-thing:
[X] I have installed mods in Minecraft before
[X] I have programmed in a text-based language. (PLEASE LIST) C, C++, ruby, java, squeak smalltalk, PHP, javascript, HTML
[X] I have programmed in a language other than Scratch. (PLEASE LIST) C, C++, ruby, java, squeak smalltalk, PHP, javascript, HTML
[X] I have been programming for 4 years. (Check if more than 1)
[X] I am very good at Minecraft, I know all of the items and blocks, and most of the crafting recipes.
Offline
Aidan wrote:
Minecraft isn't made in Java...
It's written in C++
minecraft.JAR
not cpp
SeptimusHeap wrote:
ImagineIt wrote:
SeptimusHeap wrote:
It's not that easy to mod guys. I know a bit of java, but it's still really hard.
I know. I just wanna learn how to program.
Well, fill out my mini question-thing:
[x] I have installed mods in Minecraft before
[x] I have programmed in a text-based language. (PLEASE LIST)Visual BASIC, JustBasic, TI-Basic
[x] I have programmed in a language other than Scratch. (PLEASE LIST)Same as above
[x] I have been programming for 2 years. (Check if more than 1)
[x] I am very good at Minecraft, I know all of the items and blocks, and most of the crafting recipes.
Last edited by 16Skittles (2011-11-05 09:12:51)
Offline
SeptimusHeap wrote:
It's not that easy to mod guys. I know a bit of java, but it's still really hard.
Adding recipes and smelting stuff is kind of easy; creating new items and blocks is harder, but not really hard; modifying world generation is difficult in most circumstances but there are some easy things to do with it; modelling entities, writing physics code, modifying the renderer, doing stuff with OpenGL and most other bits is the really hard stuff.
Offline