Either we are in a paradox, or one of your statements are incorrect.
I do not believe anyone here will simply make a mod for you, at least not for free.
I believe Diesieben07 has stated a few times that he charges an hourly salary of 50$.
The other's, I'm not sure about.
This place is a forum to learn how to do things, or ask for help.
Requesting someone do everything, isn't asking for help, it's asking them to do everything.
However, I can tell you key points of interest:
1) Use either a Tickhandler, or subscribe to the LivingUpdateEvent
2) set sneaking with Entity::setSneaking(bool)
3) Key-presses (like pressing F12) only happen Client-Side, so you might be required to use packets to send the updated sneaking to the server ("so that the trees know that you are sneaking")