This mod works for both Singleplayer & Multiplayer, although it only modifies server-side functionality!
The mod does fix some client-side bugs (not many), and only if carpet-fixes is on the server as well.
For Client-Side fixes, go check out: blanket
My other optimizations/fixes
MemoryLeakFix - Fixes multiple memory leaks for both the client and server
MoreCulling - Changes how blockstate culling is handled to improve performance