This is done with a Spigot plugin on 1.16.2, using specific events to trigger "vibrations".
I experimented with listening to sound packets being sent out to players and using those for vibrations because it's probably more similar to what 1.17 does, but some sound events don't come from the server which leaves that solution incomplete.
Seen here is wool occlusion, and trained Sculks to detect the following:
Redstone opening doors / trapdoors
Block place
Block break
Player move
Item drop
Entity damage
Entity death
Player interact with chest / lever / button / pretty much any interactable block