Package io.github.fablabsmc.fablabs.api.networking.v1
The Networking API, version 1.
Visit ClientNetworking
for client-side networking hooks and
ServerNetworking
for
server-side networking hooks.
-
Interface Summary Interface Description ChannelAware Represents an object that keeps track of a collection of channels.ChannelHandler<C extends ListenerContext> Handles packets in a channel.ListenerContext Represents a context for packet reception in a channel.PacketChannelCallback<L extends net.minecraft.network.listener.PacketListener> A callback that involves a network handler and a list of channels.PacketListenerCallback<L extends net.minecraft.network.listener.PacketListener> A callback that involves a network handler.PacketReceiver<C extends ListenerContext> Associates packets to individual packet reception handlers by channel.PacketSender Supports sending packets to channels.PlayContext Represents a context for packet reception in play stage of the game in a channel.PlayPacketSender Supports sending packets to channels in the play network handlers.