Package alexiil.mc.lib.net.impl


package alexiil.mc.lib.net.impl

LibNetworkStack's minecraft-specific library.

First off: this is based fully on the concepts documented in the main library, but with a few things different:

  1. Every packet must be have McNetworkStack.ROOT as it's root parent network ID - otherwise it will crash when you try to send it
  2. All network connections are buffered until the end of every tick - so you cannot expect them to arrive before normal minecraft packets, unless you explicitly call NetIdBase.notBuffered() on the network ID.