Try Each Part

We’re going to start coding now, but as exciting as that is, we want to go slowly. Whether you’re following along with me here or working on your own plugin, remember to take one small step at a time—don’t rush it.

Let’s begin by creating a new directory and the usual files that every plugin needs. Once again we’ll use the mkplugin.sh script to get started. Don’t forget, you’ll be making your own plugin under desktop; my version is under Desktop/code.

 
~/Desktop$​ ./mkplugin.sh CreeperCow
 
~/Desktop$​ cd CreeperCow
 
~/Desktop/CreeperCow$​ ls -a
 
. .gitignore Manifest.txt build.sh src
 
.. Canary.inf bin dist

And we’ll start right away by using Git to track our work (check back with Chapter 12, Keep Your Code Safe , for ...

Get Learn to Program with Minecraft Plugins, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.