A new EntityType enum has been added together with a method to obtain it from any Entity class. This replaces the CreatureType enum, so you'll never again need a chain of instanceof checks to get a CreatureType from a LivingEntity. CreatureType has been deprecated along with all methods that use it, and new methods that use EntityType have been added to replace them.