October 2014
Beginner to intermediate
285 pages
6h 24m
English
In this chapter we’ll cover a bunch of new Java language tools:
Use objects: bundles of variables and functions
Use the right import for a package
Use new to create objects
You may have heard of object-oriented programming or that Java is an “object-oriented language.” That’s what we’re talking about in this chapter: using objects to represent elements of the Minecraft game, from players to cows.
You can do anything in code that you could do in the game, and then some. This comes down to working with mostly three kinds of things: blocks, items, and entities.
Read now
Unlock full access