Server Play Network Addon
public final class ServerPlayNetworkAddon extends AbstractChanneledNetworkAddon<ServerPlayNetworking.PlayChannelHandler>
Content copied to clipboard
Constructors
ServerPlayNetworkAddon
Link copied to clipboard
void ServerPlayNetworkAddon(ServerPlayNetworkHandler handler, MinecraftServer server)
Content copied to clipboard
Functions
createPacket
Link copied to clipboard
Packet<? extends Object> createPacket(Identifier channelName, PacketByteBuf buf)
Content copied to clipboard
getHandler
Link copied to clipboard
getReceivableChannels
Link copied to clipboard
getSendableChannels
Link copied to clipboard
handleDisconnect
Link copied to clipboard
final void handleDisconnect()
Content copied to clipboard
onClientReady
Link copied to clipboard
void onClientReady()
Content copied to clipboard
registerChannel
Link copied to clipboard
sendPacket
Link copied to clipboard
abstract void sendPacket(Packet<? extends Object> packet, @Nullable() GenericFutureListener<? extends Future<? extends Object>> callback)
Content copied to clipboard
void sendPacket(Packet<? extends Object> packet, GenericFutureListener<? extends Future<? extends Object>> callback)
Content copied to clipboard
void sendPacket(Identifier channel, PacketByteBuf buf, @Nullable() GenericFutureListener<? extends Future<? extends Object>> callback)
Content copied to clipboard
unregisterChannel
Link copied to clipboard
Sources
jvm source
Link copied to clipboard