Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/minecraft_lib/network/mod.ts

A collection of modules that can be used to build Minecraft servers, clients, utilities and other tools.
Latest
import * as minecraftLib from "https://deno.land/x/minecraft_lib@0.1.0/network/mod.ts";

Network primitives used for building clients and servers.

Classes

Represets the client or server end of a connection.

Defines a set of server- and clientbound packets related to a specific connection protocol state.

Auxiliary class for packets that could not be deserialized because they are not registered in a Protocol.

Functions

Parses the address string, splitting it into hostname and port.

Resolves the server address to an address the client can connect to.

Interfaces

A resolved address which may be used to connect to the server.

The interface that packets need to implement.

The base interface for a connection packet handler.

Represents a user specified server address.