Absolute Beginner's Guide to Minecraft Mods Programming (Absolute Beginner's Guide) (2ND)

  • ポイントキャンペーン

Absolute Beginner's Guide to Minecraft Mods Programming (Absolute Beginner's Guide) (2ND)

  • ただいまウェブストアではご注文を受け付けておりません。 ⇒古書を探す
  • 製本 Paperback:紙装版/ペーパーバック版/ページ数 388 p.
  • 言語 ENG
  • 商品コード 9780789755742
  • DDC分類 793.932

Full Description


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 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 understandable lessons Fun examples provide a step-by-step, hands-on experience that begins with simple tasks and gradually builds Master 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

Contents

Part I1 Dig into Minecraft Programming with JavaSetting Up a Minecraft ServerConnecting to the Server2 Use NetBeans for Minecraft ProgrammingInstalling NetBeansCreating a New Project Creating a New Java Class Running the Application Fixing Errors3 Create a Minecraft ModCreating Your First Mod 4 Start Writing Java ProgramsWhat You Need to Write ProgramsCreating the Splash ProgramBeginning the ProgramStoring Information in a VariableSaving the Finished ProductCompiling the Program into a Class FileFixing ErrorsRunning a Java Program5 Understand How Java Programs WorkCreating an Application Sending Arguments to ApplicationsThe Java Class Library6 Store and Change Information in a ModStatements and ExpressionsAssigning Variable TypesNaming Your VariablesStoring Information in VariablesAll About OperatorsUsing Expressions7 Use Strings to Communicate Storing Text in StringsDisplaying Strings in ProgramsUsing Special Characters in StringsPasting Strings TogetherUsing Other Variables with Strings Advanced String Handling Presenting Credits8 Use Conditional Tests to Make Decisionsif Statementsif-else Statementsswitch StatementsThe Ternary OperatorWatching the Clock9 Repeat an Action with Loopsfor Loopswhile Loopsdo-while LoopsExiting a Loop Naming a LoopTesting Your Computer Speed 10 Store Information with ArraysCreating ArraysUsing ArraysMultidimensional ArraysSorting an ArrayCounting Characters in StringsPart II: The World of Java Objects11 Create Your First ObjectHow Object-Oriented Programming WorksObjects in ActionWhat Objects AreUnderstanding InheritanceBuilding an Inheritance HierarchyConverting Objects and Simple VariablesCreating an Object12 Describe What Your Object Is LikeCreating VariablesCreating Class VariablesCreating Behavior with MethodsPutting One Class Inside AnotherUsing the this KeywordUsing Class Methods and Variables13 Make the Most of Existing ObjectsThe Power of InheritanceEstablishing InheritanceWorking with Existing ObjectsStoring Objects of the Same Class in Array ListsCreating a Subclass14 Store Objects in Data StructuresArray Lists Hash Maps15 Handle Errors in a ModExceptionsThrowing and Catching Exceptions16 Create a Threaded ModThreadsWorking with ThreadsThe ConstructorCatching Errors as You Set Up URLsStarting the ThreadHandling Mouse ClicksDisplaying Revolving Links17 Read and Write FilesStreamsWriting Data to a StreamReading and Writing Configuration PropertiesPart III: Create Killer Minecraft Mods18 Spawn a MobThe Mod FrameworkStarting a Mod ProjectWriting the Mod's Code19 Make One Mob Ride AnotherStarting the ProjectWriting the ModDeploying the Mod20 Take a Census of Mobs and VillagesStarting the ProjectCreating the Project21 Transmute Materials in an InventoryStarting the ProjectCreating the Project22 Dig a Giant HoleStarting the ProjectCreating the Project23 Chop Down a Forest of TreesStarting the ProjectCreating the Project24 Respond to Events in the GameStarting the ProjectCreating the Project25 Display a Mob's Health During CombatStarting the Project Creating the Project 26 Make a World Change over TimeStarting the ProjectCreating the Project27 Befriend the God of LightningStarting the ProjectStepping Through Mod DevelopmentCreating the ProjectA Visit This Book's Website