Not sure why you would want to do it, but here you go:
ㅤ
Method 1 (quick and easy)
Play on 1.20.1 and use this mod to join newer servers: https://modrinth.com/mod/viafabricplus
ㅤ
Method 2 (modifying code)
Clone Wurst repo and revert the changes made to AimAssist. Should be easy to do if you know anything about Java dev. Otherwise, see if an AI can figure it out for you.
Old code here
Current code here
ㅤ
Keep in mind that the old version of AimAssist was much easier to detect by anti-cheat systems, which is why the implementation was changed.