In This Chapter. Type a Java program in a source code editor. Organize a program with bracket marks. Store information in a variable. Display the information stored in a variable. Save, compile, and run a programA computer program is a set of instructions that tells a computer what to do. These instructions are given to a computer using a programming language.During this chapter, you create a simple program with the Java language by entering it into a text editor.
When that’s done, you save the program, compile it, and test it. Then you break it on purpose and fix it again, just to show off.
About FeaturesThe easiest, quickest, most entertaining introduction to creating Minecraft mods in Java — updated to use the new Sponge API and server for creating Minecraft mods. Ideal for Minecraft users, young and old, who are new to programming. Clear and friendly style assumes no prior programming knowledge. Popular author Rogers Cadenhead breaks down Minecraft mods programming concepts and terms into short, easily understandablelessons.
Fun examples provide a step-by-step, hands-on experience that begins with simple tasks and gradually builds.