Simplify entity check by using LivingEntity instead.