Learn to Program with Minecraft Plugins: Create Flaming Cows in Java Using CanaryMod
The first edition of this book used the Bukkit modding server and library, which was taken down due to a legal dispute in September 2014. This new edition has been completely revised to replace Bukkit with the CanaryMod library.
The bestselling, kid-tested book for Minecraft is now updated for CanaryMod! Write your own Minecraft plugins and watch your code come to life with flaming cows, flying creepers, teleportation, and interactivity. Add your own features to the Minecraft game by developing Java code that “plugs in” to the server. You’ll manipulate and control elements in the 3D graphical game environment without having to write tons of code or learn huge frameworks. No previous programming experience necessary.
Expand your Minecraft experience! You’ll learn how to write Java code and build plugins for your own Minecraft servers using the popular Java programming language. This new edition has been completely revised to use the freely-available CanaryMod library.
You’ll create plugins that can change blocks from air to stone, or spawn cows and creepers. You’ll write plugins that react to game events, and even schedule tasks that will run later in the game. Readers from age 9 to 99 will learn how to use variables and functions to build plugins that fling players into the sky, create flying creepers, and of course, shoot flaming cows.
Along the way you’ll learn real programming using Java, from classes, objects, and data structures (including arrays and hashes) to exception handling and threads. You’ll even learn how to back up your code (and go back in time!) using Git, and run your own server at home or in the cloud. A progress bar shows you how far you’ve come in each chapter, and by the end of the book you’ll be able to design and code your own plugins.
Put your gaming to good use, and learn real programming skills today.
What You Need:
A modern PC running the Windows, Mac OS X, or Linux operating systems. The book explains how to download Java, the CanaryMod server and API, and all the tools you’ll need.
Table of Contents
Chapter 1. Command Your Computer
Chapter 2. Add an Editor and Java
Chapter 3. Build and Install a Plugin
Chapter 4. Plugins Have Variables, Functions, and Keywords
Chapter 5. Plugins Have Objects
Chapter 6. Add a Chat Command, Locations, and Targets
Chapter 7. Use Piles of Variables: Arrays
Chapter 8. Use Piles of Variables: HashMap
Chapter 9. Modify, Spawn, and Listen in Minecraft
Chapter 10. Schedule Tasks for Later
Chapter 11. Use Configuration Files and Store Game Data
Chapter 12. Keep Your Code Safe
Chapter 13. Design Your Own Plugin
- Author: Andy Hunt
- Pages: 285 pages
- Edition: 2
- Publication Date: 2014-11-08
- Publisher: Pragmatic Bookshelf
- Language: English
- ISBN-10: 1941222943
- ISBN-13: 9781941222942
Click to Look Inside This eBook: Browse Sample Pages
PDF eBook Free Download
Note: There is a file embedded within this post, please visit this post to download the file.
The post Learn to Program with Minecraft Plugins, 2nd Edition appeared first on Fox eBook.