27. Befriend the God of Lightning

In This Chapter

Make a powerful new friend

Try to write a mod on your own

Hit any spot in the Minecraft world with lightning

Monitor when a mob targets a player for attack

Learn the reason a mob chose its target

Join the Spigot mod programmer’s community

Examine the source code of a sophisticated mod

Take your skills further on www.javaminecraft.com

Minecraft is a dangerous place.

From the moment you start the game, there’s a mob of mobs eager to kill you and pick up your stuff—even if it’s of no use to them at all. I’m still looking for the zombie who has my Fortune III diamond pick axe.

When I find him, vengeance will be mine. As will my pick axe.

Because of the game’s many dangers, it’s good ...

Get Absolute Beginner’s Guide to Minecraft® Mods Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.