Skip to main content
Module

x/minecraft_lib/network/packet.ts>PacketHandler

A collection of modules that can be used to build Minecraft servers, clients, utilities and other tools.
Latest
interface PacketHandler
import { type PacketHandler } from "https://deno.land/x/minecraft_lib@0.1.0/network/packet.ts";

The base interface for a connection packet handler.

Methods

optional
onDisconnect(): void

Gets called when the connection is closed.

optional
handleUnregistered(packet: UnregisteredPacket): Promise<void>