Chapter 9Modify, Spawn, and Listen in Minecraft

With this chapter you’ll add these abilities to your toolbox:

  • Modify blocks in the world

  • Modify and spawn new entities

  • Listen for and react to game events

  • Manage plugin permissions

This is exciting! Now you have most of the basic tools you need; you can alter the world and react to in-game events.

Now we’re going to go beyond issuing simple commands and dropping squid bombs, and look at a wider range of things you can do in Minecraft. By the end of this chapter, you’ll be able to affect behavior in the game without having to issue any commands at all.

All you have to do is listen—you’ll see how, by learning about Minecraft events. We’ll listen for events, act on them, and even schedule ...

Get Learn to Program with Minecraft Plugins, 2nd 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.