getTypeId() is deprecated

IsEmpty() is true when getType() returns Material.AIR.