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.
Dedicated Minecraft Bedrock Edition server written in TypeScript
Minecraft: Bedrock Edition dedicated server entrypoint
Terminal user interface for the JSPrismarine server console
Message types and links between the JSPrismarine server and its console
Module kernel: lifecycle, a token-keyed service registry, and the event bus that modules plug into
Network and protocol 7
Packets, transports and sign-in, for a server or a client.
Protocol package used by JSPrismarine packages
Basic RakNet implementation written in TypeScript
NetherNet, the WebRTC transport of Minecraft: Bedrock Edition: the protocol, signaling, identities and LAN discovery
Networking in native code for JSPrismarine: WebRTC peer connections on libdatachannel, and a UDP port RakNet shares with NetherNet
Minecraft: Bedrock Edition login identity, for both ends: offline and Xbox Live providers for a client, and login verification for a server
Minecraft: Bedrock Edition client
Basic binary data managing tool written in TypeScript.
World 8
Terrain, decoration, light, storage and the systems that tick a world.
Java Edition terrain generation: randoms, noise, density functions, aquifers and chunk sampling
Java Edition's chunk generation ladder: the ten statuses, the step table that declares what each one may read and write, and the holders and worker pool that run them
Java Edition world decoration: feature types, block state and value providers, placement modifiers and the seeded placement pipeline
Structure templates: the Java and Bedrock template readers, placement transforms, processors and jigsaw assembly
Server-internal block light and sky light engine for Bedrock worlds
LevelDB reader/writer for Minecraft: Bedrock Edition worlds, in pure TypeScript
Shared world-system primitives for scheduling, redstone signals, random ticks, explosions, and weather.
Bedrock spawn rules: the 24-component grammar, the condition evaluator, population pools and the spawn loop.
Gameplay 17
Blocks, items, entities, commands and the rules that make them vanilla.
The content runtime shared by every domain: registries, tags, components, behaviors, hook dispatch and load-time flattening
The Bedrock block definition grammar, component runtime, permutation evaluation, state model and the jsprismarine_vanilla overlay pack
The vanilla block behavior families, written against the BlockHooks seam and a WorldActions world interface
The item definition and component runtime: Java 26.3's 122 data component types over Bedrock item identities
The vanilla item behavior families that fill the item hook seam, with Java's mining speed and attack damage formulas.
The Bedrock entity runtime: definition parsing, components, component groups, the event engine, entity properties, filters and the goal scheduler
Java Edition's brain AI: memories, sensors, activities, behavior combinators and the twenty mobs that build a brain
The 170 vanilla Bedrock AI goals and the A* path finder they navigate with, written against the goal seam of @jsprismarine/entities
The Java Edition recipe evaluator: all 22 recipe serializers, a crafting matcher, and a compile step to Bedrock identifiers
Java Edition loot table evaluator: 9 entry types, weighted selection, random sequences and Bedrock translation.
Java Edition enchantment definitions, effect components, the enchanting table and the anvil.
Bedrock trade tables: the economy and legacy grammars, offer generation and the villager trading economy.
Java Edition advancement engine: the 58 trigger types, the requirements grammar, per-player progress and reward hooks.
Data-driven command layer: Mojang's Bedrock command table, a Java-shaped command tree, the Bedrock packet flattener and the selector grammars.
A javascript re-implementation of Mojang's Brigadier library
Java Edition mcfunction runtime: parser, macros, function tags and a queue-based executor
Java Edition predicate, item modifier and value provider evaluator for loot, advancements and enchantments.
Data and formats 7
Game data, identifiers, packs, Molang and the file formats they use.
Minecraft Bedrock game data exported in a nodejs friendly way.
Minecraft: Bedrock Edition data and related utilities
The Java Edition to Bedrock Edition identifier seam: generated mapping tables and a reviewed loss list
Minecraft: Bedrock Edition NBT parser/writer
Molang parser, compiler and evaluator for Bedrock behavior packs
Bedrock pack stack loader: directories, .mcpack/.mcaddon archives and brarchive layers composed into per-registry definitions.
Parse minecraft color codes
Utilities 3
Errors, logging and math shared by the other packages.
JSPrismarine shared errors
JSPrismarine logger and utilities
JSPrismarine math utilities