Skip to Content
Absolute Beginner’s Guide to Minecraft® Mods Programming, Second Edition
book

Absolute Beginner’s Guide to Minecraft® Mods Programming, Second Edition

by Rogers Cadenhead
October 2015
Beginner
400 pages
10h 9m
English
Que

Overview

Minecraft® 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 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 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 Glance

    Part I: Java from the Ground Up


    1 Dig into Minecraft Programming with Java

    2 Use NetBeans for Minecraft Programming

    3 Create a Minecraft Mod

    4 Start Writing Java Programs

    5 Understand How Java Programs Work

    6 Store and Change Information in a Mod

    7 Use Strings to Communicate 

    8 Use Conditional Tests to Make Decisions

    9 Repeat an Action with Loops

    10 Store Information with Arrays


    Part II: The World of Java Objects


    11 Create Your First Object

    12 Describe What Your Object Is Like

    13 Make the Most of Existing Objects

    14 Store Objects in Data Structures

    15 Handle Errors in a Mod

    16 Create a Threaded Mod

    17 Read and Write Files


    Part III: Create Killer Minecraft Mods


    18 Spawn a Mob

    19 Make One Mob Ride Another

    20 Take a Census of Mobs and Villages 

    21 Transmute Materials in an Inventory

    22 Dig a Giant Hole

    23 Chop Down a Forest of Trees

    24 Respond to Events in the Game

    25 Display a Mob’s Health During Combat

    26 Make a World Change over Time

    27 Befriend the God of Lightning

    Appendix A Visit This Book’s Website

    Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Minecraft Mods Programming Absolute Beginner’s Guide

    Minecraft Mods Programming Absolute Beginner’s Guide

    Rogers Cadenhead

    Publisher Resources

    ISBN: 9780134277721Purchase book