Описание
# WARNING WARNING
Mojang took down all p2p services in https://www.minecraft.net/en-us/article/minecraft-26-2-pre-release-1
The mod will be limited to only managing the friends list, while the p2p part won't work. Once mojang brings back p2p this mod will be updated.
# Original Description
Quick and dirty client mod that backports the "play with friends" feature Mojang shipped in the 26.2 snapshots. The Mojang-hosted friends list plus P2P-over-WebRTC.
## How it works
The 26.2 feature is mostly client-side, and the Mojang services that back it work from any logged-in account.
So this is a thin re-implementation on top of those same services:
- Friends and presence over REST to `api.minecraftservices.com`
- Signaling over JSON-RPC/WSS to `signaling-afd.franchise.minecraft-services.net`
- WebRTC via `webrtc-java`
- The P2P machinery adapted from the 26.2 snapshot
In theory, it's version independent enough I could make a universal mod that makes it work on any Netty based Minecraft version. Who knows if I can make it work.