The method in EntityInsentient, which checks if a entity shall despawn, is called u() in 1.6.4