O'Reilly logo

A Beginner’s Guide to Writing Minecraft Plugins in JavaScript by Walter Higgins

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

Chapter 16. Add New Recipes: The Ender Bow

All fun minecraft plugins begin with a simple question: What if...? Minecraft has become such a popular game because the possibilities are endless. For Minecraft plugin developers, it’s even more fun because the programming API allows for endless creativity in customizing the game. In this chapter, you’ll use the CanaryMod API to create a new crafting recipe—one that will produce a new in-game item—the ender bow. What’s an ender bow? It’s a bow that shoots arrows that teleport the player to wherever the arrow lands! This could be a handy tool if you’re in a tight spot surrounded by monsters on all sides and need to make a quick getaway. With an ender bow in hand, you just draw your bow, aim at where ...

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

Start Free Trial

No credit card required