You are previewing Minecraft Modding with Forge.
O'Reilly logo
Minecraft Modding with Forge

Book Description

Playing Minecraft is a lot of fun, but the game is more engaging, entertaining, and educational when kids learn how to build mods—small programs that let them modify game elements and add content. This family-friendly guide teaches kids and parents how to create mods of different types, using the Minecraft Forge modding tool. No programming experience is needed.

You’ll not only build some amazing mods with the book’s easy-to-follow instructions, but you’ll also learn how to work with Java, the same programming language that Minecraft uses. Why wait? Get started with computer programming and be more creative with Minecraft while you’re at it!

This guide is based on workshops the authors deliver to kids around the world.

Table of Contents

  1. Foreword
  2. Preface
    1. How to Use This Book
    2. Conventions Used in This Book
    3. Using Code Examples
    4. Safari® Books Online
    5. How to Contact Us
    6. Acknowledgments
  3. 1. Introduction
    1. Downloading and Installing Tools
      1. Java
      2. Minecraft Forge
      3. Eclipse
    2. Setting Up Forge in Eclipse
    3. Understanding the Example Mod
    4. Running Minecraft and Verifying the Mod
    5. Summary
  4. 2. Block-Break Message
    1. Creating the Main File
    2. Adding the Event Handler
      1. Creating a Java Class for Event Handling
      2. Adding Methods for Event Handling
      3. Registering the Event Handler on the Event Bus
    3. Running Minecraft and Verifying the Mod
    4. Summary
  5. 3. Fun with Explosions
    1. Exploding Minecarts
    2. Exploding Anvils
    3. Diamond Ore Trap
    4. Bigger TNT Explosions
      1. Without a Fuse
      2. With a Fuse
    5. Summary
  6. 4. Entities
    1. Pigs Dropping Diamonds
    2. Zombie Knights
    3. Creeper Reinforcements
    4. Summary
  7. 5. Movement
    1. Super Jump
      1. Bouncy Sponges
    2. Parachute
    3. Wall-Climbing Golems
    4. Summary
  8. 6. New Commands
    1. Flaming Pigs
    2. Block Filler
    3. Summary
  9. 7. New Block
    1. Creating the Block Class
    2. Registering Your Block
    3. Naming Your Block
    4. Running Minecraft and Verifying the Mod
    5. Variations of the New Block
      1. Block Changer
      2. Majestic Enderium Block
    6. Summary
  10. 8. New Item
    1. Creating the Item Class
    2. Variations of the New Item
      1. Enderman Spawner
      2. Edible Ingots
      3. Item from Block
    3. Summary
  11. 9. Recipes and Textures
    1. Recipes
      1. Shaped Crafting Recipe
      2. Shapeless Crafting Recipe
      3. Smelting Recipe
      4. Brewing Recipe
    2. Textures
      1. Tools
      2. Images
      3. Files
      4. Register and Verify the Textures
    3. Summary
  12. 10. Sharing Mods
    1. Building the JAR File
    2. Installing Minecraft Forge on Your Client
    3. Cool Mods That You Can Install
    4. Summary
  13. A. What Is Minecraft?
    1. Downloading the Game and Registering an Account
    2. Starting the Game
    3. Blocks
    4. Items
    5. Transforming Blocks and Items
      1. Crafting
      2. Smelting
      3. Brewing
    6. Mobs
    7. Tools
    8. Commands
    9. Summary
  14. B. Eclipse Shortcuts and Correct Imports
    1. Eclipse Shortcuts
    2. Correct Imports
  15. C. Downloading the Source Code from GitHub
  16. D. Devoxx4Kids
    1. How Did D4K Start?
    2. Why Should Every City Have a D4K Chapter?
      1. The Classic Education Is Broken!
      2. Gender Equality in IT
      3. Demystify Technology
    3. The D4K Workshops
      1. Scratch
      2. Raspberry Pi
      3. Lego Mindstorms
      4. The Aldebaran NAO Robot
      5. Arduino
      6. Greenfoot
    4. D4K Best Practices
      1. Location
      2. Team
      3. Registration
      4. Bring Your Own
      5. Parents Track
      6. Parent Waiver
      7. Promo Video
      8. Press
      9. Sponsors
      10. Agile Teams
    5. The Future of Devoxx4Kids?
      1. Workshop Translations
      2. More and Bigger
      3. Online Courses
  17. Index