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 ...

Get A Beginner’s Guide to Writing Minecraft Plugins in JavaScript 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.