11. Create Your First Object

In This Chapter

Create an object

Describe an object with attributes

Determine how objects behave

Combine objects

Inherit from other objects

Convert objects and other types of information

One of the more fearsome examples of jargon that you encounter is this book is object-oriented programming (OOP). This complicated term describes, in an elegant way, what a computer program is and how it works.

Before OOP, a computer program was usually described as a set of instructions listed in a file and handled in some kind of reliable order.

By thinking of a program as a collection of objects, you can figure out the tasks a program must accomplish and assign the tasks to the objects where they best belong.

How ...

Get Absolute Beginner’s Guide to Minecraft® Mods Programming, Second Edition now with O’Reilly online learning.

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