O'Reilly logo

Minecraft™ Mod Development in 24 Hours, Sams Teach Yourself by Jimmy Koene

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

Creating Your Own Package

Now that you know the basics of Java and understand the code in the ExampleMod, it is time to create your own mod. Before you can start creating your own mod, you need a package that will contain all of your mod files and code. To create your own package, you need to understand the Project Explorer on the left in Eclipse and shown in Figure 2.1.

Image

FIGURE 2.1 The Eclipse Project Explorer.

This is one of the windows in Eclipse you will be using very often. In this window, you can create new files, packages, or anything else you need to write code. You can also find already created files. After finishing the setup in

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