Skip to content

Packages ​

JSPrismarine publishes the server as 47 packages on npm. Take the ones you need: each has an API reference, a README and its npm page. Install one with pnpm add, for example pnpm add @jsprismarine/nbt.

47 packages under @jsprismarine, all at 0.20.0

Server 5

The server itself, its console and the kernel that wires its modules.

Network and protocol 7

Packets, transports and sign-in, for a server or a client.

World 8

Terrain, decoration, light, storage and the systems that tick a world.

Gameplay 17

Blocks, items, entities, commands and the rules that make them vanilla.

Data and formats 7

Game data, identifiers, packs, Molang and the file formats they use.

Utilities 3

Errors, logging and math shared by the other packages.