An entity is just defined by its own object. For instance, I can't guarantee this since I haven't looked at Minecraft's source code, but I'll bet you that the creeper has its own class. Its just an...