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:
packetmust be have
McNetworkStack.ROOTas it's root parent network ID - otherwise it will crash when you try to send it
- All network connections are
buffereduntil 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.
Interface Summary Interface Description BlockEntityInitialDataThis should be implemented by
BlockEntitys that wish to send their own initial data packet to players individually, rather than using
IPacketCustomId<T extends net.minecraft.network.listener.PacketListener>
Class Summary Class Description ActiveClientConnection ActiveMinecraftConnection ActiveServerConnectionA connection on the server side to a specific
CompactDataPacketToClient CompactDataPacketToServer CoreMinecraftNetUtil McNetworkStackHolder for everything related to a normal minecraft connection.