O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Minecraft Mastery: Build Your Own Redstone Contraptions and Mods

Book Description

SUPERCHARGE YOUR MINECRAFT REDSTONE SKILLS

Enhance your Minecraft world by creating innovative devices and elements with Redstone. Minecraft Mastery: Build Your Own Redstone Contraptions and Mods reveals how to maximize the capabilities of this powerful, versatile red ore. Learn how to create logic gates, advanced mechanisms, and much more. You'll also find out how to host a Minecraft server, use the qCraft and Computer-Craft mods, and develop your own custom mods. Exponentially expand the dimensions of your world with help from this hands-on guide--the only limit is your imagination!

  • Use basic Redstone items like levers, buttons, and lamps, and make an automated door
  • Create Redstone logic gates, clocks, and T-flip-flops
  • Build advanced contraptions--block swappers, concealed doors, a functional seven segment display, and more
  • Use miscellaneous Redstone items such as rails, minecarts, liquids, hoppers, and command blocks
  • Host a Minecraft server to open your world up to other players
  • Edit Minecraft worlds offline using MCEdit
  • Interact with Minecraft using Python on a Raspberry Pi
  • Create quantum physics-based contraptions and special effects with qCraft
  • Build ComputerCraft blocks and turtles and program them in Lua
  • Set up a Minecraft modding development environment using Forge and Eclipse
  • Make your own block-based mods and item mods

All code and example worlds from the book are available for download.

Table of Contents

  1. Cover 
  2. Title Page
  3. About the Authors
  4. Copyright Page
  5. Contents at a Glance
  6. Contents 
  7. Acknowledgments
  8. Introduction
  9. 1. Introduction
    1. What Is Minecraft?
    2. Minecraft Versions
    3. Getting Started
    4. Basic Crafting
    5. Forging
    6. Creative Mode
    7. Cheats
    8. Redstone
    9. Using Mods
    10. Making Mods
    11. Installing the Example World
    12. Summary
  10. 2. Basic Redstone
    1. The Very Basics
      1. Obtaining Redstone
      2. Coordinates in Minecraft
      3. Placing Redstone
    2. Redstone Power
      1. Levers
      2. Buttons
      3. Pressure Plates
      4. Tripwires
      5. Redstone Blocks
    3. The Redstone Tick Rate
    4. Torches
    5. Redstone Lamps
    6. Redstone Repeaters
    7. Comparators
    8. Pistons
    9. Making a Door
    10. Hoppers, Dispensers, and Droppers
      1. Hoppers
      2. Dispensers
      3. Droppers
    11. Summary
  11. 3. Redstone Logic Gates
    1. Basic Logic Gates
      1. Inverters
      2. AND Gates
      3. De Morgan’s Law
      4. Or Gates
      5. XOR Gates
    2. Logic Gate Example
    3. Clocks
    4. RS NOR Latches
    5. Monostables
    6. T-Flip-Flops
    7. Logic Theory
      1. Binary
      2. Logic Diagrams
    8. Summary
  12. 4. Advanced Redstone
    1. Block Updater Detector Switches
    2. Making Piston Doors
      1. Building a 2×2 Door
      2. Building a 2×2 Flush Door
    3. Block Swappers
      1. The Very Compact Block Swapper
      2. The Flush Block Swapper
    4. Piston-Tape Memory
    5. Displays
    6. Summary
  13. 5. Miscellaneous Redstone
    1. Rails and Minecarts
      1. Rails
      2. Minecarts
      3. A Minecart Example
    2. Liquid Physics
      1. Lava
      2. Water
    3. Hoppers
    4. Command Blocks
    5. Player Traps
      1. Command Block Player Trap
      2. A Redstone Player Trap
    6. TNT Cannons
    7. Summary
  14. 6. Server Hosting and Tools
    1. Server Hosting
      1. Server Hosting on a LAN
      2. Server Hosting Using Hamachi
      3. Server Hosting Using Port Forwarding
      4. Server Properties Options
      5. Renting Servers
    2. MCEdit
    3. Minecraft, Python, and Pi
      1. Installing Minecraft on the Raspberry Pi
      2. Running Minecraft
      3. Connect to the Pi from a Second Computer
    4. Summary
  15. 7. qCraft
    1. Getting qCraft
    2. Installing the Example World
    3. Quantum Dust
    4. Essence of Observation
    5. Essence of Superposition
    6. Essence of Entanglement
    7. Automated Observers
    8. Quantum Computers
    9. Quantum Portals
    10. Summary
  16. 8. ComputerCraft
    1. Installing the Example World
    2. A Computer Block
    3. Getting Started
      1. Example Code
    4. A Light Chaser Example
    5. Computer Networks
    6. Disk Drives
    7. Monitors
    8. Clock Example
    9. Turtles
    10. Summary
  17. 9. Modding with Forge
    1. Overview of the Modding Process
    2. Preparing Your Computer
      1. Install Minecraft
      2. Installing Java
      3. Adding Java to Your Path
      4. Installing Eclipse
      5. Installing Forge
      6. Setting Up Eclipse
    3. A Quick Tour of Eclipse
    4. Java Basics
      1. Packages
      2. Classes
      3. Member Variables
      4. Methods
      5. Classes and Instances
      6. Inheritance
      7. Public and Private
      8. Naming Conventions
    5. Summary
  18. 10. Example Mod: Thorium
    1. Setting Up the Project
      1. Creating a Project
      2. Creating a Package
      3. Linking the Projects
    2. Basic Block Ore
      1. Creating the ThoriumOreBlock Class
      2. Packages and Eclipse
      3. Creating the Thorium Mod Class
      4. Creating the mcmod.info File
      5. First Run
      6. Making the Mod Usable
    3. Adding a Custom Texture
      1. Creating a Texture Image File
      2. Localized Names
    4. Spawning Ore Blocks
    5. Mining Thorium
    6. Forging Thorium Ore into Thorium
      1. Creating a New Block
      2. Adding a Crafting Recipe
    7. Making Thorium Glow
    8. Summary
  19. 11. More Modding Examples
    1. Releasing a Mod
      1. Building a JAR File
      2. Installing a Mod
    2. More on Modding
    3. Item Example: Cooked Bone
    4. Item Example: Hardened Diamond
    5. Item Example: Obsidian Axe
    6. Armor Example
      1. Armor Item Classes
      2. Armor Texture Files
      3. Adding Armor to the Mod File
      4. Armor Recipes
    7. Graphical User Interfaces (GUIs)
      1. Changes to the Mod Class
      2. The “BlockSwitchableLight” Class
      3. The “SmallThingsGUI” Class
    8. Summary
  20. Appendix: Resources
  21. Index