Offline e4mc
*This mod is used together with the e4mc mod.
Offline e4mc is a Minecraft modification that disables Mojang authentication in e4mc, similar to the online-mode=false setting on dedicated servers. The mod supports Minecraft versions from 1.20 to 1.21.
This mod solves the problem of the "Invalid session" error in e4mc.

Additional information
This is not a fork of e4mc, but an independent mod that changes local network behavior similarly to theonline-mode=false parameter on dedicated servers (which is impossible to do without a mod in the game).
Note: This mod is independent and is not affiliated with e4mc in any way.
Frequently Asked Questions
Question: What is this mod?
Answer: This mod can be used with e4mc to disable Mojang authentication in e4mc.
Question: Do I need to install this mod on both the host and client?
Answer: No, you don't need to install it on both sides. The mod is only required on the host side.
Question: There's a problem with the mod, what should I do?
Answer: You can always submit your suggestions or report issues in GitHub Issues or on our Discord server.
Question: Code?
Answer: Yes, the project is completely open source, and the code is available on GitHub.
This project is distributed under the MIT license.