Minecraft (R) is a registered trademark of Mojang Synergies / Notch Development AB. This book is not affiliated with or sponsored by Mojang Synergies / Notch Development AB. The easiest, quickest, most entertaining introduction to creating Minecraft mods in Java - updated to use the Spigot server for running your own Minecraft server and creating Minecraft modsIdeal for Minecraft users, young and old, who are new to programmingClear and friendly style assumes no prior programming knowledgePopular author Rogers Cadenhead breaks down Minecraft mods programming concepts and terms into short, easily understandable lessonsFun examples provide a step-by-step, hands-on experience that begins with simple tasks and gradually buildsMaster Minecraft modding and use Java to transform Minecraft's worlds, tools, behavior, weapons, structures, mobs...everything! (Plus, you'll learn some basic Java programming skills you can use anywhere.) Learn how to do what you want, the way you want, one incredibly easy step at a time.
Modding Minecraft has never been this simple. This is the easiest, most practical beginner's guide to creating killer Minecraft mods in Java... simple, reliable, full-color instructions for doing everything you really want to do.
Here's a small sample of what you'll learn: Set up your Minecraft server and mod development tools Master Java basics every Minecraft modder needs to know Read, write, store, and change information throughout your mod Build mods that can make decisions and respond to player actions Understand object-oriented programming and the objects you can program in Minecraft Handle errors without crashing Minecraft Use threads to create mobs that can do many things at once Customize your mobs, and build on existing objects to write new mods Spawn new mobs, find hidden mobs, and make one mob ride another Dig holes and build structures Create projectile weapons and potion effects Learn Java programming while enhancing your favorite game Contents at a GlancePart I: Java from the Ground Up1 Dig into Minecraft Programming with Java2 Use NetBeans for Minecraft Programming3 Create a Minecraft Mod4 Start Writing Java Programs5 Understand How Java Programs Work6 Store and Change Information in a Mod7 Use Strings to Communicate 8 Use Conditional Tests to Make Decisions9 Repeat an Action with Loops10 Store Information with ArraysPart II: The World of Java Objects11 Create Your First Object12 Describe What Your Object Is Like13 Make the Most of Existing Objects14 Store Objects in Data Structures15 Handle Errors in a Mod16 Create a Threaded Mod17 Read and Write FilesPart III: Create Killer Minecraft Mods18 Spawn a Mob19 Make One Mob Ride Another20 Take a Census of Mobs and Villages 21 Transmute Materials in an Inventory22 Dig a Giant Hole23 Chop Down a Forest of Trees24 Respond to Events in the Game25 Display a Mob's Health During Combat26 Make a World Change over Time27 Befriend the God of LightningAppendix A Visit This Book's Website