Understanding how ProxLib moves information behind the scenes helps explain why it works on vanilla servers and why large messages take slightly more work for the client to transmit.
Hiding Data in Vanilla Actions
Normally, custom mod features require the server to have the same mod installed so it can understand custom network packets. ProxLib bypasses this by hiding its data inside regular block-breaking action packets.
Because vanilla Minecraft servers automatically forward block-breaking actions to anyone standing within roughly 26 blocks—so other players can see breaking animations—the server unknowingly passes the hidden mod data along for free. You do not even need to look at a physical block; the mod can trigger these packets while you are aiming straight into the air.
How Messages Are Structured
Standard block-breaking packets have very little room for extra information, so ProxLib splits your data into small pieces:
- 9 bits per packet: Each individual Minecraft packet sent by the mod carries 9 bits of actual data.
- Header packets: Every time a message starts, ProxLib adds a few extra packets at the very beginning so other nearby clients recognize it as a Prox packet rather than a normal block punch.
- Mod identification: Those packets include a 10-bit Vendor ID and a 6-bit Packet ID. This ensures that if you have multiple mods using ProxLib at the same time (such as ProxChat alongside another proximity tool), their data never gets mixed up.