# JSPrismarine > A dedicated server for Minecraft: Bedrock Edition, written in TypeScript. - Version 0.28.0, released under (MIT OR MPL-2.0). - Accepts Minecraft Bedrock Edition 1.26.50 to 1.26.62. - Prebuilt executables for Linux, macOS or Windows; from source it runs on Node.js >=26.4.0. - Anyone can join the demo server at `demo.jsprismarine.dev`, port 19132. ## Play - [The demo server](https://jsprismarine.dev/guide/joining.md): A JSPrismarine server anyone can join, at demo.jsprismarine.dev. - [Command reference](https://jsprismarine.dev/guide/commands.md): Every command, what it does and the permission it needs. - [Commands and functions](https://jsprismarine.dev/data-driven/commands.md): How commands work, and running .mcfunction files from a datapack. ## Host a server - [Running JSPrismarine](https://jsprismarine.dev/guide/running.md): Download the prebuilt server, start it, and update it. - [Installing addons](https://jsprismarine.dev/guide/installing-addons.md): Add optional packs from the console, update them, and keep them when the server moves. - [Java versions](https://jsprismarine.dev/guide/java-versions.md): Which Java release the server's data comes from, and how to run another. - [Log levels](https://jsprismarine.dev/guide/log-levels.md): What each level prints and how to choose one. - [Error reference](https://jsprismarine.dev/errors/index.md): What an error in the log means, by its code. - [Usage statistics](https://jsprismarine.dev/guide/usage-statistics.md): What the server reports to bStats, and how to turn it off. - [Updates](https://jsprismarine.dev/guide/updates.md): How the server finds out about a newer build, who it tells, and how to follow a fork. ## Build add-ons and plugins - [Extending JSPrismarine](https://jsprismarine.dev/guide/extending.md): Script packs for behavior, packs for content, and embedding the server. - [Using packs](https://jsprismarine.dev/data-driven/using-packs.md): Which pack formats load and how a stack composes. - [The JSPrismarine script module](https://jsprismarine.dev/guide/jsprismarine-module.md): Use JSPrismarine-only features from a pack script, and fall back on Bedrock Dedicated Server. - [Writing an addon](https://jsprismarine.dev/guide/writing-addons.md): Turn a script pack into an addon owners install from the console, and test it on a server. - [Publishing addons](https://jsprismarine.dev/guide/publishing-addons.md): Release addons from a GitHub repository of your own. - [Listing an addon](https://jsprismarine.dev/guide/listing-addons.md): Give an addon you publish a page in the marketplace. ## Work on JSPrismarine - [Contributing](https://jsprismarine.dev/contributing.md): How to set up, test and send a change. - [Package versioning](https://jsprismarine.dev/guide/versioning.md): Which Changeset level a change needs. - [The data-driven engine](https://jsprismarine.dev/data-driven/index.md): How vanilla behavior comes from data. ## Addons - [Addons](https://jsprismarine.dev/addons/index.md): Behavior packs you add to a running JSPrismarine server from its console: find one, copy its install command, or list your own. - [MOTD](https://jsprismarine.dev/addons/motd.md): Renders the server list's MOTD from templates: colors, gradients, animations and placeholders. - [Multiverse](https://jsprismarine.dev/addons/multiverse.md): Creates worlds, each a level of its own, and moves players between them, with per-world game mode and access. - [Standard Placeholders](https://jsprismarine.dev/addons/standard-placeholders.md): Provides the standard player, server and world placeholders, and /placeholders to list and try them. - [Tab List](https://jsprismarine.dev/addons/tab-list.md): Renames the entries in the player list from templates: one per player, per group or for everyone. - [TPS Bar](https://jsprismarine.dev/addons/tps-bar.md): Shows TPS, MSPT and ping, memory, or a compass on a boss bar. ## Errors - [@jsprismarine/addon-tools errors](https://jsprismarine.dev/errors/addon-tools.md): These are the errors `@jsprismarine/addon-tools` throws. - [@jsprismarine/auth errors](https://jsprismarine.dev/errors/auth.md): These are the errors `@jsprismarine/auth` throws. - [@jsprismarine/binaryutils errors](https://jsprismarine.dev/errors/binaryutils.md): These are the errors `@jsprismarine/binaryutils` throws. - [@jsprismarine/block-behaviors errors](https://jsprismarine.dev/errors/block-behaviors.md): These are the errors `@jsprismarine/block-behaviors` throws. - [@jsprismarine/blocks errors](https://jsprismarine.dev/errors/blocks.md): These are the errors `@jsprismarine/blocks` throws. - [@jsprismarine/brigadier errors](https://jsprismarine.dev/errors/brigadier.md): These are the errors `@jsprismarine/brigadier` throws. - [@jsprismarine/chunkgen errors](https://jsprismarine.dev/errors/chunkgen.md): These are the errors `@jsprismarine/chunkgen` throws. - [@jsprismarine/client errors](https://jsprismarine.dev/errors/client.md): These are the errors `@jsprismarine/client` throws. - [@jsprismarine/commands errors](https://jsprismarine.dev/errors/commands.md): These are the errors `@jsprismarine/commands` throws. - [Shared errors](https://jsprismarine.dev/errors/common.md): These errors are not tied to one package: any package may raise them. - [@jsprismarine/console errors](https://jsprismarine.dev/errors/console.md): These are the errors `@jsprismarine/console` throws. - [@jsprismarine/console-protocol errors](https://jsprismarine.dev/errors/console-protocol.md): These are the errors `@jsprismarine/console-protocol` throws. - [@jsprismarine/content errors](https://jsprismarine.dev/errors/content.md): These are the errors `@jsprismarine/content` throws. - [@jsprismarine/engine-systems errors](https://jsprismarine.dev/errors/engine-systems.md): These are the errors `@jsprismarine/engine-systems` throws. - [@jsprismarine/entities errors](https://jsprismarine.dev/errors/entities.md): These are the errors `@jsprismarine/entities` throws. - [@jsprismarine/entity-brains errors](https://jsprismarine.dev/errors/entity-brains.md): These are the errors `@jsprismarine/entity-brains` throws. - [@jsprismarine/entity-goals errors](https://jsprismarine.dev/errors/entity-goals.md): These are the errors `@jsprismarine/entity-goals` throws. - [@jsprismarine/features errors](https://jsprismarine.dev/errors/features.md): These are the errors `@jsprismarine/features` throws. - [@jsprismarine/items errors](https://jsprismarine.dev/errors/items.md): These are the errors `@jsprismarine/items` throws. - [@jsprismarine/kernel errors](https://jsprismarine.dev/errors/kernel.md): These are the errors `@jsprismarine/kernel` throws. - [@jsprismarine/leveldb errors](https://jsprismarine.dev/errors/leveldb.md): These are the errors `@jsprismarine/leveldb` throws. - [@jsprismarine/lighting errors](https://jsprismarine.dev/errors/lighting.md): These are the errors `@jsprismarine/lighting` throws. - [@jsprismarine/loot errors](https://jsprismarine.dev/errors/loot.md): These are the errors `@jsprismarine/loot` throws. - [@jsprismarine/management-protocol errors](https://jsprismarine.dev/errors/management-protocol.md): These are the errors `@jsprismarine/management-protocol` throws. - [@jsprismarine/mapping errors](https://jsprismarine.dev/errors/mapping.md): These are the errors `@jsprismarine/mapping` throws. - [@jsprismarine/minecraft errors](https://jsprismarine.dev/errors/minecraft.md): These are the errors `@jsprismarine/minecraft` throws. - [@jsprismarine/molang errors](https://jsprismarine.dev/errors/molang.md): These are the errors `@jsprismarine/molang` throws. - [@jsprismarine/native-library errors](https://jsprismarine.dev/errors/native-library.md): These are the errors `@jsprismarine/native-library` throws. - [@jsprismarine/native-network errors](https://jsprismarine.dev/errors/native-network.md): These are the errors `@jsprismarine/native-network` throws. - [@jsprismarine/native-worldgen errors](https://jsprismarine.dev/errors/native-worldgen.md): These are the errors `@jsprismarine/native-worldgen` throws. - [@jsprismarine/nbt errors](https://jsprismarine.dev/errors/nbt.md): These are the errors `@jsprismarine/nbt` throws. - [@jsprismarine/nethernet errors](https://jsprismarine.dev/errors/nethernet.md): These are the errors `@jsprismarine/nethernet` throws. - [@jsprismarine/packs errors](https://jsprismarine.dev/errors/packs.md): These are the errors `@jsprismarine/packs` throws. - [@jsprismarine/predicates errors](https://jsprismarine.dev/errors/predicates.md): These are the errors `@jsprismarine/predicates` throws. - [@jsprismarine/prismarine errors](https://jsprismarine.dev/errors/prismarine.md): `@jsprismarine/prismarine` throws many errors, so its catalog is split into modules, and each module's errors have a page of their own. - [@jsprismarine/protocol errors](https://jsprismarine.dev/errors/protocol.md): `@jsprismarine/protocol` throws many errors, so its catalog is split into modules, and each module's errors have a page of their own. - [@jsprismarine/raknet errors](https://jsprismarine.dev/errors/raknet.md): These are the errors `@jsprismarine/raknet` throws. - [@jsprismarine/script-host errors](https://jsprismarine.dev/errors/script-host.md): These are the errors `@jsprismarine/script-host` throws. - [@jsprismarine/server errors](https://jsprismarine.dev/errors/server.md): These are the errors `@jsprismarine/server` throws. - [@jsprismarine/structures errors](https://jsprismarine.dev/errors/structures.md): These are the errors `@jsprismarine/structures` throws. - [@jsprismarine/worldgen errors](https://jsprismarine.dev/errors/worldgen.md): These are the errors `@jsprismarine/worldgen` throws. - [@jsprismarine/prismarine addon errors](https://jsprismarine.dev/errors/prismarine/addon.md): These are the errors in the `addon` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine command errors](https://jsprismarine.dev/errors/prismarine/command.md): These are the errors in the `command` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine content errors](https://jsprismarine.dev/errors/prismarine/content.md): These are the errors in the `content` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine entity errors](https://jsprismarine.dev/errors/prismarine/entity.md): These are the errors in the `entity` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine generation errors](https://jsprismarine.dev/errors/prismarine/generation.md): These are the errors in the `generation` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine input errors](https://jsprismarine.dev/errors/prismarine/input.md): These are the errors in the `input` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine network errors](https://jsprismarine.dev/errors/prismarine/network.md): These are the errors in the `network` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine server errors](https://jsprismarine.dev/errors/prismarine/server.md): These are the errors in the `server` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine stats errors](https://jsprismarine.dev/errors/prismarine/stats.md): These are the errors in the `stats` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/prismarine world errors](https://jsprismarine.dev/errors/prismarine/world.md): These are the errors in the `world` catalog of `@jsprismarine/prismarine`. - [@jsprismarine/protocol codec errors](https://jsprismarine.dev/errors/protocol/codec.md): These are the errors in the `codec` catalog of `@jsprismarine/protocol`. - [@jsprismarine/protocol wire errors](https://jsprismarine.dev/errors/protocol/wire.md): These are the errors in the `wire` catalog of `@jsprismarine/protocol`. ## Data-driven engine - [Data-driven architecture](https://jsprismarine.dev/data-driven/architecture.md): This page explains how the data-driven system is put together: what a pack stack is, what loading one produces, how definitions become running content, why a single module owns the Java to Bedrock translation, and which parts of this exist in the repository today. - [The Java-sourced block property table](https://jsprismarine.dev/data-driven/block-properties.md): Block gameplay values, including hardness, blast resistance and light emission, no longer come from hand-written values in block classes. - [The data pipeline](https://jsprismarine.dev/data-driven/data-pipeline.md): The data-driven system runs on tables generated from upstream publications: Mojang's Bedrock Dedicated Server zip, Mojang/bedrock-samples, the Java Edition server jar, SpyglassMC/vanilla-mcdoc and GeyserMC's mapping tables. - [Dimensions](https://jsprismarine.dev/data-driven/dimensions.md): A world on this server is a set of dimensions, and each dimension is described by data the way Java Edition describes it: a dimension type for its physics, a level stem that binds the type to a generator, and a world preset that supplies the stems. - [The End dragon fight](https://jsprismarine.dev/data-driven/end-fight.md): The End fight is managed by each End world's `DragonFight` service. - [The engine systems](https://jsprismarine.dev/data-driven/engine-systems.md): Almost everything this server knows about Minecraft it reads out of data. - [Data-driven entities](https://jsprismarine.dev/data-driven/entities.md): What a mob does on this server is decided by a Bedrock behavior-pack file rather than by a TypeScript class. - [Gameplay data from Java Edition](https://jsprismarine.dev/data-driven/gameplay-data.md): Most of what this server decides about loot, crafting, advancements and enchanting is read out of Java Edition's published data rather than written in TypeScript. - [Java to Bedrock mapping](https://jsprismarine.dev/data-driven/mapping.md): `@jsprismarine/mapping` translates Java Edition identifiers into Bedrock Edition identifiers. - [Molang](https://jsprismarine.dev/data-driven/molang.md): Molang is the expression language Bedrock behavior packs embed wherever a number or condition is data-driven: ambient sound probabilities, spawn conditions, feature placement, experience rewards. - [Parity: what the project claims and how it is verified](https://jsprismarine.dev/data-driven/parity.md): JSPrismarine does not claim 1-1 parity with Java Edition. - [Structures in the data-driven overworld](https://jsprismarine.dev/data-driven/structures.md): Java Edition 26.3 ships 52 structures over 16 types, placed by 21 structure sets and grown out of 245 template pools. ## Packages - [@jsprismarine/prismarine](https://jsprismarine.dev/api/@jsprismarine/prismarine/index.md): Dedicated Minecraft Bedrock Edition server written in TypeScript - [@jsprismarine/server](https://jsprismarine.dev/api/@jsprismarine/server/index.md): The prismarine command line: runs the server in a host process, with a file watcher and the terminal console - [@jsprismarine/console](https://jsprismarine.dev/api/@jsprismarine/console/index.md): Terminal user interface for the JSPrismarine server console - [@jsprismarine/console-protocol](https://jsprismarine.dev/api/@jsprismarine/console-protocol/index.md): Message types and links between the JSPrismarine server and its console - [@jsprismarine/kernel](https://jsprismarine.dev/api/@jsprismarine/kernel/index.md): Module kernel: lifecycle, a token-keyed service registry, and the event bus that modules plug into - [@jsprismarine/script-host](https://jsprismarine.dev/api/@jsprismarine/script-host/index.md): Runs Bedrock behavior pack scripts for JSPrismarine in an embedded QuickJS, bound through node:ffi - [@jsprismarine/script-types](https://github.com/JSPrismarine/JSPrismarine/tree/master/packages/script-types#readme): TypeScript declarations for @jsprismarine/server, the JSPrismarine-only module behavior pack scripts import - [@jsprismarine/protocol](https://jsprismarine.dev/api/@jsprismarine/protocol/index.md): Minecraft: Bedrock Edition packets: classes, wire layouts, version gates and payload builders, for a server or a client - [@jsprismarine/raknet](https://jsprismarine.dev/api/@jsprismarine/raknet/index.md): RakNet, the UDP transport Minecraft: Bedrock Edition connects over, for a server or a client - [@jsprismarine/nethernet](https://jsprismarine.dev/api/@jsprismarine/nethernet/index.md): NetherNet, the WebRTC transport of Minecraft: Bedrock Edition: the protocol, signaling, identities and LAN discovery - [@jsprismarine/native-network](https://jsprismarine.dev/api/@jsprismarine/native-network/index.md): Networking in native code for JSPrismarine: WebRTC peer connections on libdatachannel, a UDP port RakNet shares with NetherNet, and Java Edition's AES-CFB8 cipher - [@jsprismarine/auth](https://jsprismarine.dev/api/@jsprismarine/auth/index.md): Minecraft: Bedrock Edition login identity, for both ends: offline and Xbox Live providers for a client, and login verification for a server - [@jsprismarine/client](https://jsprismarine.dev/api/@jsprismarine/client/index.md): Minecraft: Bedrock Edition client - [@jsprismarine/management-protocol](https://jsprismarine.dev/api/@jsprismarine/management-protocol/index.md): Minecraft Server Management Protocol: JSON-RPC 2.0 over WebSocket, with Mojang's method catalog - [@jsprismarine/binaryutils](https://jsprismarine.dev/api/@jsprismarine/binaryutils/index.md): Buffer reading and writing for binary network protocols, without repeated allocations - [@jsprismarine/worldgen](https://jsprismarine.dev/api/@jsprismarine/worldgen/index.md): Java Edition terrain generation: randoms, noise, density functions, aquifers and chunk sampling - [@jsprismarine/native-worldgen](https://jsprismarine.dev/api/@jsprismarine/native-worldgen/index.md): Terrain generation's hot loops in C, loaded through node:ffi and bun:ffi, with the same bits as @jsprismarine/worldgen - [@jsprismarine/chunkgen](https://jsprismarine.dev/api/@jsprismarine/chunkgen/index.md): Java Edition's chunk generation ladder: the eleven statuses, the step table that declares what each one may read and write, and the holders and worker pool that run them - [@jsprismarine/features](https://jsprismarine.dev/api/@jsprismarine/features/index.md): Java Edition world decoration: feature types, block state and value providers, placement modifiers and the seeded placement pipeline - [@jsprismarine/structures](https://jsprismarine.dev/api/@jsprismarine/structures/index.md): Structure templates: the Java and Bedrock template readers, placement transforms, processors and jigsaw assembly - [@jsprismarine/lighting](https://jsprismarine.dev/api/@jsprismarine/lighting/index.md): Server-internal block light and sky light engine for Bedrock worlds - [@jsprismarine/leveldb](https://jsprismarine.dev/api/@jsprismarine/leveldb/index.md): LevelDB reader/writer for Minecraft: Bedrock Edition worlds, in pure TypeScript - [@jsprismarine/engine-systems](https://jsprismarine.dev/api/@jsprismarine/engine-systems/index.md): Shared world-system primitives for scheduling, redstone signals, random ticks, explosions, and weather. - [@jsprismarine/spawning](https://jsprismarine.dev/api/@jsprismarine/spawning/index.md): Bedrock spawn rules: the 24-component grammar, the condition evaluator, population pools and the spawn loop. - [@jsprismarine/content](https://jsprismarine.dev/api/@jsprismarine/content/index.md): The content runtime shared by every domain: registries, tags, components, behaviors, hook dispatch and load-time flattening - [@jsprismarine/blocks](https://jsprismarine.dev/api/@jsprismarine/blocks/index.md): The Bedrock block definition grammar, component runtime, permutation evaluation, state model and the jsprismarine_vanilla overlay pack - [@jsprismarine/block-behaviors](https://jsprismarine.dev/api/@jsprismarine/block-behaviors/index.md): The vanilla block behavior families, written against the BlockHooks seam and a WorldActions world interface - [@jsprismarine/items](https://jsprismarine.dev/api/@jsprismarine/items/index.md): The item definition and component runtime: Java 26.3's 122 data component types over Bedrock item identities - [@jsprismarine/item-behaviors](https://jsprismarine.dev/api/@jsprismarine/item-behaviors/index.md): The vanilla item behavior families that fill the item hook seam, with Java's mining speed and attack damage formulas. - [@jsprismarine/entities](https://jsprismarine.dev/api/@jsprismarine/entities/index.md): The Bedrock entity runtime: definition parsing, components, component groups, the event engine, entity properties, filters and the goal scheduler - [@jsprismarine/entity-brains](https://jsprismarine.dev/api/@jsprismarine/entity-brains/index.md): Java Edition's brain AI: memories, sensors, activities, behavior combinators and the twenty mobs that build a brain - [@jsprismarine/entity-goals](https://jsprismarine.dev/api/@jsprismarine/entity-goals/index.md): The 170 vanilla Bedrock AI goals and the A* path finder they navigate with, written against the goal seam of @jsprismarine/entities - [@jsprismarine/recipes](https://jsprismarine.dev/api/@jsprismarine/recipes/index.md): The Java Edition recipe evaluator: all 22 recipe serializers, a crafting matcher, and a compile step to Bedrock identifiers - [@jsprismarine/loot](https://jsprismarine.dev/api/@jsprismarine/loot/index.md): Java Edition loot table evaluator: 9 entry types, weighted selection, random sequences and Bedrock translation. - [@jsprismarine/enchantments](https://jsprismarine.dev/api/@jsprismarine/enchantments/index.md): Java Edition enchantment definitions, effect components, the enchanting table and the anvil. - [@jsprismarine/trading](https://jsprismarine.dev/api/@jsprismarine/trading/index.md): Bedrock trade tables: the economy and legacy grammars, offer generation and the villager trading economy. - [@jsprismarine/advancements](https://jsprismarine.dev/api/@jsprismarine/advancements/index.md): Java Edition advancement engine: the 58 trigger types, the requirements grammar, per-player progress and reward hooks. - [@jsprismarine/commands](https://jsprismarine.dev/api/@jsprismarine/commands/index.md): Data-driven command layer: Mojang's Bedrock command table, a Java-shaped command tree, the Bedrock packet flattener and the selector grammars. - [@jsprismarine/brigadier](https://jsprismarine.dev/api/@jsprismarine/brigadier/index.md): Mojang's Brigadier command parser and dispatcher, ported from Java - [@jsprismarine/mcfunction](https://jsprismarine.dev/api/@jsprismarine/mcfunction/index.md): Java Edition mcfunction runtime: parser, macros, function tags and a queue-based executor - [@jsprismarine/predicates](https://jsprismarine.dev/api/@jsprismarine/predicates/index.md): Java Edition predicate, item modifier and value provider evaluator for loot, advancements and enchantments. - [@jsprismarine/bedrock-data](https://jsprismarine.dev/api/@jsprismarine/bedrock-data/index.md): Minecraft: Bedrock Edition game data for Node.js, captured from Mojang's Bedrock and Java Edition servers - [@jsprismarine/minecraft](https://jsprismarine.dev/api/@jsprismarine/minecraft/index.md): Minecraft: Bedrock Edition data and related utilities - [@jsprismarine/mapping](https://jsprismarine.dev/api/@jsprismarine/mapping/index.md): The Java Edition to Bedrock Edition identifier seam: generated mapping tables and a reviewed loss list - [@jsprismarine/nbt](https://jsprismarine.dev/api/@jsprismarine/nbt/index.md): NBT reader and writer for Minecraft: Bedrock Edition - [@jsprismarine/molang](https://jsprismarine.dev/api/@jsprismarine/molang/index.md): Molang parser, compiler and evaluator for Bedrock behavior packs - [@jsprismarine/packs](https://jsprismarine.dev/api/@jsprismarine/packs/index.md): Bedrock pack stack loader: directories, .mcpack/.mcaddon archives and brarchive layers composed into per-registry definitions. - [@jsprismarine/java-packs](https://jsprismarine.dev/api/@jsprismarine/java-packs/index.md): Converts Bedrock resource packs into Java Edition resource packs a vanilla client can load. - [@jsprismarine/addon-tools](https://jsprismarine.dev/api/@jsprismarine/addon-tools/index.md): Build JSPrismarine addons: check each behavior pack, pack it into an .mcpack and write the index a server installs from - [@jsprismarine/color-parser](https://jsprismarine.dev/api/@jsprismarine/color-parser/index.md): Turns Minecraft ยง color and format codes into terminal colors - [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md): Every error the JSPrismarine packages throw, each with a code and a link to the error reference - [@jsprismarine/logger](https://jsprismarine.dev/api/@jsprismarine/logger/index.md): Leveled logger with a console transport that holds boot output until a console attaches, and a file transport - [@jsprismarine/math](https://jsprismarine.dev/api/@jsprismarine/math/index.md): Vector2 and Vector3 types and the math helpers JSPrismarine packages share - [@jsprismarine/native-library](https://jsprismarine.dev/api/@jsprismarine/native-library/index.md): Finds, verifies and installs the prebuilt native libraries JSPrismarine's packages load ## Optional - [API reference](https://jsprismarine.dev/api/llms.txt): The API reference for every package JSPrismarine publishes, generated from the TypeScript source and its doc comments. - [Brand](https://jsprismarine.dev/brand/index.md): How JSPrismarine looks and sounds. - [Decisions](https://jsprismarine.dev/adr/index.md): Updated 2026-12-02 - [Which edition decides an entity stat](https://jsprismarine.dev/adr/0001-entity-stat-authority.md): Status: accepted. Bedrock's entity definitions and Java Edition's attribute suppliers publish 438 of the same stats for the same entity, and they disagree on 151 of them. - [Generate a chunk through a status ladder, not a 3 by 3 region](https://jsprismarine.dev/adr/0002-chunk-generation-architecture.md): Status: accepted. `DataDrivenGenerator.generateChunk` builds a 3 by 3 region, generates terrain for nine chunks, decorates the center, extracts one chunk and serializes the whole body behind one promise, at 1572 ms per chunk. - [Describe a packet's wire layout as data, once, in the protocol package](https://jsprismarine.dev/adr/0003-declarative-wire-layouts.md): Status: accepted. A packet whose layout changed at a protocol version is today a sibling class: `AnimatePacket2225 extends AnimatePacket`, overriding `encodePayload`/`decodePayload`, substituted per session by `prepareOutbound` with an `Object.assign` copy. - [Describe a dimension as a Java level stem, and keep one `World` per dimension](https://jsprismarine.dev/adr/0004-data-driven-dimensions.md): Status: accepted. Every world this server loads is the Overworld. - [Run chunk generation in a host process, and keep the in-process pool as the fallback](https://jsprismarine.dev/adr/0005-generation-host-process.md): Status: accepted. Supersedes the rejection of "a separate generation process over a socket" in. Generation workers are threads of the server process. - [Run NetherNet on our own build of libdatachannel, and remove werift](https://jsprismarine.dev/adr/0006-libdatachannel-for-nethernet-server.md): Status: accepted.. The server's NetherNet peers, and our client's, ran on werift, a WebRTC stack written in TypeScript that the `nethernet` package picks by default. - [The simulation replays identically at any host speed](https://jsprismarine.dev/adr/0006-replay-determinism-contract.md): Status: accepted. Given an initial-state manifest, the random state and an ordered input trace, a replay produces the same per-tick replay digest series and the same outbound packet digests on every run, however fast the host is. - [One entity index, and a position write is visible to the next query](https://jsprismarine.dev/adr/0007-one-entity-index-visible-on-write.md): Status: accepted. The world kept two entity indexes with opposite rules. - [Implement the NetherNet protocol in `@jsprismarine/nethernet`](https://jsprismarine.dev/adr/0007-own-nethernet-protocol.md): Status: accepted. Replaces the requirement in [the NetherNet plan](/plans/nethernet-transport.md). The server and our client ran NetherNet through `nethernet` (PrismarineJS's node-nethernet), with `@jsprismarine/nethernet` beside it for HTTP signaling, the identity, the LAN advertisement and join by address. - [One entity model, with players and items in the same store](https://jsprismarine.dev/adr/0008-one-entity-model.md): Status: accepted. Every entity in a world lives in one entity store, and every entity has the shape a data-driven mob has today: a reference to a resolved entity type, the component state of an `EntityInstance`, and a body. - [Share one UDP port between RakNet and NetherNet in native code](https://jsprismarine.dev/adr/0008-shared-udp-port-in-native-code.md): Status: accepted.. Bedrock Dedicated Server 1.26.70 uses `server-port` for NetherNet's UDP when `server-udp-ports` is unset. - [External inputs enter a world once per tick and are recorded](https://jsprismarine.dev/adr/0009-external-inputs-enter-once-per-tick.md): Status: accepted. Anything outside a world's tick reaches that world as an input: inbound packets, chunk completions, and the results of offloaded work such as pathfinding, lighting or encoding. - [No barrel files, and each package exports an explicit list of modules](https://jsprismarine.dev/adr/0010-no-barrel-files.md): Status: accepted. A barrel is a module that re-exports another module's symbols, whether or not it also declares its own. - [A world exchanges only plain data with everything outside it](https://jsprismarine.dev/adr/0011-a-world-exchanges-only-plain-data.md): Status: accepted. Five rules keep a world's simulation separable from the code around it. - [The change log is a world's history, complete and invertible back to its last chunk entry](https://jsprismarine.dev/adr/0012-the-change-log-is-the-history.md): Status: accepted. The simulation's change log is the history of a world. - [Vetoable actions run as intent, guard, compute and commit](https://jsprismarine.dev/adr/0013-vetoable-actions-are-staged.md): Status: accepted. Every action that can be vetoed or modified runs in four stages. - [Packet handlers share one shape in both directions, and serverbound handlers run in the input step](https://jsprismarine.dev/adr/0014-handlers-share-a-shape-and-run-in-the-input-step.md): Status: accepted. Amended by [ADR 0027](/adr/0027-player-inputs-are-decoded-into-intents.md): a serverbound packet with game meaning is decoded into an intent, and one handler per intent runs in the input step. The shared shape below still describes connection-lane handlers and the client.. Packet handlers register by packet name and session phase, in one shape defined in `@jsprismarine/protocol` that the server and the client package both use. - [A tick is a fixed sequence of synchronous phases](https://jsprismarine.dev/adr/0015-a-tick-is-a-fixed-sequence-of-synchronous-phases.md): Status: accepted. A world's tick runs these phases in this order. - [Replication reads the change log after the tick](https://jsprismarine.dev/adr/0016-replication-reads-the-change-log.md): Status: accepted. Replication is a read-only stage that runs after a tick closes. - [One lifecycle event bus replaces the legacy emitter](https://jsprismarine.dev/adr/0017-one-lifecycle-event-bus.md): Status: accepted. The change log ([ADR 0012](https://jsprismarine.dev/adr/0012-the-change-log-is-the-history.md)) and the staged guards ([ADR 0013](https://jsprismarine.dev/adr/0013-vetoable-actions-are-staged.md)) replace the simulation events. - [A save is a snapshot of one tick boundary](https://jsprismarine.dev/adr/0018-a-save-is-a-snapshot-of-one-tick-boundary.md): Status: accepted, 2026-11-12, with the changes [the save pass measurement](/research/save-pass-measurement.md) asked for. A save pass writes the authoritative state of one tick boundary of a level, called the save cut, for every dimension the level holds, and commits it as one atomic write. - [Bedrock data comes from the pinned server, not CloudburstMC/Data](https://jsprismarine.dev/adr/0019-bedrock-data-comes-from-bds.md): Status: accepted, 2026-11-15. `@jsprismarine/bedrock-data` generates its tables from the pinned Bedrock Dedicated Server and from Mojang's `bedrock-samples`, and from nothing else. - [Behavior pack scripts run in an embedded QuickJS on their level's thread](https://jsprismarine.dev/adr/0020-scripts-run-in-quickjs-on-the-world-thread.md): Status: accepted. JSPrismarine runs the scripts of unmodified Bedrock behavior packs, the `type: "script"` modules that import `@minecraft/server`, and makes them its primary plugin format. - [The script watchdog counts steps, and scripts are part of replay](https://jsprismarine.dev/adr/0021-the-script-watchdog-counts-steps.md): Status: accepted. BDS stops or warns about a script by wall-clock time: `script-watchdog-hang-threshold`, `script-watchdog-spike-threshold` and `script-watchdog-slow-threshold` are milliseconds. - [The Script API's shape is generated from Mojang's metadata](https://jsprismarine.dev/adr/0022-the-script-api-surface-is-generated.md): Status: accepted. Mojang's `bedrock-samples` publishes binding metadata for every script module and version under `metadata/script_modules/@minecraft/`. - [Bind QuickJS through one C layer of our own, over FFI on every runtime](https://jsprismarine.dev/adr/0023-quickjs-through-one-c-layer-and-ffi.md): Status: accepted. The script runtime ([ADR 0020](https://jsprismarine.dev/adr/0020-scripts-run-in-quickjs-on-the-world-thread.md)) must run under Node.js today and in the scriptc build later. - [Java decides the server-decided goal parameters](https://jsprismarine.dev/adr/0024-java-decides-server-decided-goal-parameters.md): Status: accepted. A Bedrock entity definition writes each AI goal's tuning as a goal body, such as `"look_distance": 6` in a zombie's `minecraft:behavior.look_at_player`. - [Older protocols are a window relative to the newest release](https://jsprismarine.dev/adr/0025-older-protocols-are-a-window-relative-to-the-newest-release.md): Status: accepted, 2026-11-18. A server accepts the newest release this build supports and, when its owner asks, the releases just before it. - [Java Edition is a second protocol family over one world](https://jsprismarine.dev/adr/0026-java-is-a-second-protocol-family-over-one-world.md): Status: accepted, 2026-11-21. Amended 2026-11-28: the server relays signed chat, as the last paragraph says.. A Java Edition client joins the same server and the same world as a Bedrock client. - [Player inputs are decoded into intents, and one handler per intent runs in the input step](https://jsprismarine.dev/adr/0027-player-inputs-are-decoded-into-intents.md): Status: accepted, 2026-11-21. Amends [ADR 0014](/adr/0014-handlers-share-a-shape-and-run-in-the-input-step.md). Amended 2026-12-02: a stack request carries the names its client gave the slots, as the last paragraph says.. A serverbound packet that says what a player wants to do is decoded into an intent, and the server handles intents, not packets. - [Density functions run one node at a time over a volume](https://jsprismarine.dev/adr/0028-density-functions-run-over-volumes.md): Status: proposed. Terrain generation costs about seven times the CPU per chunk that PumpkinMC and Bedrock Dedicated Server spend ([benchmark, 2026-11-21](https://github.com/JSPrismarine/JSPrismarine/blob/master/docs/research/benchmarks/2026-11-21/results.json)). - [Every entity keeps its items in one slot model](https://jsprismarine.dev/adr/0029-every-entity-keeps-its-items-in-one-slot-model.md): Status: accepted, 2026-11-21.. An entity's items live in one `EntityInventory` (`packages/prismarine/src/inventory/EntityInventory.ts`), whether the entity is a player or a mob. - [Worlds are levels the server manages](https://jsprismarine.dev/adr/0029-worlds-are-levels-the-server-manages.md): Status: proposed. `WorldManager` loads one level per `worlds.` config entry and names a level by its config key. - [A reload adds and drops script dimensions](https://jsprismarine.dev/adr/0030-a-reload-adds-and-drops-script-dimensions.md): Status: accepted. Bedrock Dedicated Server takes a custom dimension from `StartupEvent.dimensionRegistry` only in a world's first run. - [Copied Java code names its source](https://jsprismarine.dev/adr/0031-copied-java-code-names-its-source.md): Status: accepted. Much of the server's Java behavior is code someone read out of the pinned server jar and wrote again in TypeScript, because Java keeps it in code rather than data: block rules, mob brains, fluid flow, portals. - [Plans](https://jsprismarine.dev/plans/index.md): Updated 2026-12-05 - [Addon marketplace](https://jsprismarine.dev/plans/addon-marketplace.md): Status: proposed, 2026-11-21.. The Addons section lists JSPrismarine's own addons, one Markdown section each. - [Bedrock resource packs for Java clients](https://jsprismarine.dev/plans/bedrock-resource-packs-for-java.md): Written 2026-11-27. Builds on [#3777](https://github.com/JSPrismarine/JSPrismarine/pull/3777), which installs every pack an addon archive holds and sends the resource packs to Bedrock clients, and on [Java Edition clients over one world](https://jsprismarine.dev/plans/java-multiprotocol.md), whose section 10 left resource packs for Java clients out of scope. - [Bedrock versions: each protocol checked against its own server](https://jsprismarine.dev/plans/bedrock-version-verification.md): Status: accepted direction, 2026-11-28. Built in one pull request, which delivers every slice. Progress: - [Rewriting chunk generation: the slices](https://jsprismarine.dev/plans/chunk-generation-rewrite.md): Updated 2026-11-07. The decision and its arithmetic are in [ADR 0002](https://jsprismarine.dev/adr/0002-chunk-generation-architecture.md). - [Faster GitHub workflows](https://jsprismarine.dev/plans/ci-speed.md): Started 2026-11-20. Phases 0 to 7 are done, phase 10 is part done, and phase 8 is planned. - [Data-driven dimensions: the chunks](https://jsprismarine.dev/plans/data-driven-dimensions.md): Updated 2026-11-25. The decision is [ADR 0004](https://jsprismarine.dev/adr/0004-data-driven-dimensions.md). - [Data-driven vanilla: plan, revision 2](https://jsprismarine.dev/plans/data-driven-vanilla.md): Updated 2026-11-21. This plan is the source of truth for roadmap phase status and the current project milestone. - [Edition layers: generic game logic, per-edition adapters, per-version wire](https://jsprismarine.dev/plans/edition-layers.md): Status: accepted direction, started 2026-11-25. Slices land as stacked pull requests, one each.. Progress: - [The End dragon fight: the chunks](https://jsprismarine.dev/plans/end-dragon-fight.md): Updated 2026-11-29. The specification is [docs/research/end-dragon-fight.md](https://jsprismarine.dev/research/end-dragon-fight.md) ("the fight note"); read it before any chunk, with the section numbers cited below. - [Entity and tick re-architecture: one entity model, one tick pipeline](https://jsprismarine.dev/plans/entity-simulation-rearchitecture.md): Status: in progress. The decisions were taken on 2026-11-10 and this plan was written the same day. Counts in this page are from that day. Slices 0 to 2 have landed on the program branch (`t3/subagent-architecture-review`, pull request #2948), and slices 3 to 5 were in progress when work moved to another machine on 2026-11-10. [The handoff](/plans/entity-simulation-rearchitecture.handoff.md) says where each package stands and how to pick it up.. The server runs two simulations of the same world and reconciles them every tick. - [Handoff: entity and tick re-architecture](https://jsprismarine.dev/plans/entity-simulation-rearchitecture.handoff.md): Written 2026-11-10. This page tells whoever picks the program up what has landed, what is half done, and what to do next. - [JSPrismarine addons](https://jsprismarine.dev/plans/first-party-addons.md): Started 2026-11-20. This plan is a working document: tick slices off, and add or reshape them as the work teaches us things. - [Java chunk blending](https://jsprismarine.dev/plans/java-chunk-blending.md): Updated 2026-11-17. When a save holds chunks that an older generator made, Java keeps them as they are and bends the terrain of every new chunk generated next to them so the two meet without a cliff. - [Java data pack version support](https://jsprismarine.dev/plans/java-datapack-version-support.md): Written 2026-11-19. The Bedrock side of this repository holds several protocol versions at once: `sources.json` pins one Bedrock Dedicated Server per protocol, the data pipeline captures and generates per version, the codec registry carries one preview beside the releases, and the [protocol-bringup skill](https://github.com/JSPrismarine/JSPrismarine/blob/master/.agents/skills/protocol-bringup/SKILL.md) turns a new Minecraft release into a bounded list of steps. - [Java Edition clients over one world](https://jsprismarine.dev/plans/java-multiprotocol.md): Written 2026-11-21. The server speaks Bedrock over RakNet and NetherNet, holds three Bedrock protocol versions at once and accepts a window of them ([ADR 0025](https://jsprismarine.dev/adr/0025-older-protocols-are-a-window-relative-to-the-newest-release.md)). - [Java transcriptions](https://jsprismarine.dev/plans/java-transcriptions.md): Updated 2026-11-27. Much of the server's Java behavior is code a maintainer read out of the pinned server jar and wrote again in TypeScript: the entity brains, block growth, the sponge's search, the explosion rays, the chunk blender. - [llms.txt for the docs site](https://jsprismarine.dev/plans/llms-txt.md): Written 2026-11-21. Every phase is built. - [Server Management Protocol](https://jsprismarine.dev/plans/management-protocol.md): Started 2026-11-27. The first version is built on `feat/server-management-protocol`: [Status](#status) lists what it covers and the issues that track the rest. - [Gameplay across Java releases](https://jsprismarine.dev/plans/multi-version-gameplay.md): Written 2026-12-02. The server reads Java Edition's data and copies Java Edition's code, and both change between releases. - [The density program in C](https://jsprismarine.dev/plans/native-density-program.md): Written 2026-11-21 - [NetherNet transport](https://jsprismarine.dev/plans/nethernet-transport.md): Started 2026-11-10. Work happens on `dev/nethernet-transport`, tracked in a draft pull request. - [Permissions](https://jsprismarine.dev/plans/permissions.md): Started 2026-11-21. This plan is a working document: tick slices off, and add or reshape them as the work teaches us things. - [Placeholders and the tab list](https://jsprismarine.dev/plans/placeholders-and-tab-list.md): Started 2026-11-21. This plan is a working document: tick slices off, and add or reshape them as the work teaches us things. - [Run Bedrock behavior pack scripts](https://jsprismarine.dev/plans/script-api-host.md): Started 2026-11-16. This plan is a working document: tick slices off, and add or reshape them as the work teaches us things. - [Server re-architecture: module kernel and multi-version protocol stack](https://jsprismarine.dev/plans/server-rearchitecture.md): Status: accepted direction, implementation in progress (started 2026-10-29).. Project-wide roadmap status and the current milestone are maintained in the [data-driven vanilla plan](https://jsprismarine.dev/plans/data-driven-vanilla.md#status-and-current-milestone); this file tracks the server re-architecture workstream. - [Stats providers and bStats](https://jsprismarine.dev/plans/stats-providers.md): Started 2026-11-12. All seven phases are done: phases 1 to 6 are built on this branch, and the bStats maintainer reviewed it on 2026-11-17. - [One item slot model, and command storage](https://jsprismarine.dev/plans/unified-item-slots.md): Started 2026-11-21. The issue reports two garbled command refusals. - [Updates](https://jsprismarine.dev/plans/updates.md): Status: phase 1 built, 2026-11-25. Phase 2 not started.. A server should tell its owner when a newer JSPrismarine is out, in the console and in game to operators, the way Paper and Spigot do. - [NetherNet on libdatachannel, with BDS's port settings](https://jsprismarine.dev/plans/webrtc-backend.md): Started 2026-11-11. Work happens on `dev/webrtc-backend`. - [World management](https://jsprismarine.dev/plans/world-management.md): Started 2026-11-21. This plan is a working document: tick slices off, and add or reshape them as the work teaches us things. - [Decoupling world generation from gameplay](https://jsprismarine.dev/plans/worldgen-decoupling.md): Updated 2026-11-09. The goal is to generate several chunks per second per core while the server holds 20 ticks per second for ordinary play, with generation running as a background job that players cannot feel. - [Slice 4 decision: no shared work board yet](https://jsprismarine.dev/plans/worldgen-decoupling-slice4-decision.md): Updated 2026-11-09. [worldgen-decoupling.md](https://jsprismarine.dev/plans/worldgen-decoupling.md) says slice 4 is worth doing only if slice 0's task durations show enough tasks longer than about 10 ms that an arriving `immediate` task waits noticeably, or if tick stalls leave workers idle. - [Terrain generation rearchitecture](https://jsprismarine.dev/plans/worldgen-rearchitecture.md): Updated 2026-11-21. The goal is to generate a chunk for less CPU than PumpkinMC and Bedrock Dedicated Server do, on every runtime this server targets: Node.js today, Bun (including `bun build --compile`) and the scriptc build. - [Slice 5: the throughput candidate the profile picks first](https://jsprismarine.dev/plans/worldgen-throughput-first-candidate.md): Updated 2026-11-21. Superseded 2026-11-21 by [worldgen-rearchitecture.md](https://jsprismarine.dev/plans/worldgen-rearchitecture.md), after the profile this note asked for was taken ([worldgen-cost-structure.md](https://jsprismarine.dev/research/worldgen-cost-structure.md)). - [Research notes](https://jsprismarine.dev/research/index.md): Updated 2026-11-28. Investigations against primary sources for the data-driven vanilla effort. - [`server-udp-ports` in Bedrock Dedicated Server](https://jsprismarine.dev/research/bds-server-udp-ports.md): Researched 2026-11-11. What Bedrock Dedicated Server (BDS) accepts in `server-udp-ports` and what it does with it, so our setting can match. - [What must a server do for a vanilla Bedrock client to render custom blocks, items and entities?](https://jsprismarine.dev/research/bedrock-addons-and-custom-content.md): Researched 2026-10-24 - [Bedrock behavior pack formats: blocks, items, recipes, item catalog, biomes, features, structures, shapes](https://jsprismarine.dev/research/bedrock-blocks-items-recipes-biomes-features.md): Researched 2026-10-24 - [Getting vanilla Bedrock data from Mojang's own files](https://jsprismarine.dev/research/bedrock-data-extraction.md): Updated 2026-11-25. This is the first file under `docs/research/`; the repository had no convention for research notes before it, so this directory is the proposal. - [The Bedrock data pipeline: where each committed artifact comes from](https://jsprismarine.dev/research/bedrock-data-pipeline.md): Researched 2026-10-29. For every Bedrock-derived file this repository commits, what produced it, from which inputs, and what does a contributor run to refresh it for a new version? - [Bedrock behavior pack formats: entities, spawn rules, loot tables, trade tables](https://jsprismarine.dev/research/bedrock-entities-spawning-loot-trading.md): Researched 2026-10-24 - [What can a server convert from a Bedrock resource pack for a vanilla Java client?](https://jsprismarine.dev/research/bedrock-resource-packs-for-java.md): Researched 2026-11-27 - [Hosting `@minecraft/server` scripts outside Bedrock Dedicated Server](https://jsprismarine.dev/research/bedrock-script-api.md): Researched 2026-11-16. The facts a third-party host needs to run unmodified behavior pack scripts written against `@minecraft/server`, which [docs/plans/script-api-host.md](https://jsprismarine.dev/plans/script-api-host.md) plans and ADRs [0020](https://jsprismarine.dev/adr/0020-scripts-run-in-quickjs-on-the-world-thread.md) to [0023](https://jsprismarine.dev/adr/0023-quickjs-through-one-c-layer-and-ffi.md) decide. - [What must this server build to run Java datapack behavior, and how do Java and Bedrock commands differ?](https://jsprismarine.dev/research/commands-functions-and-datapack-execution.md): Researched 2026-10-24 - [Can Java's published world generation data produce Bedrock-identical worlds?](https://jsprismarine.dev/research/cross-edition-worldgen-parity.md): Researched 2026-10-24. Whether the vanilla Java Edition datapack (26.3, from the data generator output in `/tmp/bds-research-java/out/`) describes the same terrain, biomes, surfaces, features and structures that Bedrock 1.26.51.1 generates for the same seed; what Mojang has said about it release by release; how the two editions' random number generators differ; and how to verify parity against a real Bedrock Dedicated Server (BDS). - [Cross-version Bedrock data](https://jsprismarine.dev/research/cross-version-bedrock-data.md): Researched 2026-11-18. How does this server serve a client whose protocol is older than the release it targets, and how should it? - [Data-driven dimensions and generators](https://jsprismarine.dev/research/data-driven-dimensions.md): Researched 2026-10-30. How Java Edition 26.3 describes a dimension and its generator as data, how Bedrock 1.26.x models dimensions on disk and on the wire, what this repository already parses and sends, how six other servers handle multiple dimensions, and a design for making JSPrismarine's dimensions and generators data-driven with real multi-dimension worlds. - [What multi-dimension worlds need from storage, the chunk pipeline, the network layer and the config](https://jsprismarine.dev/research/dimension-storage-network-config.md): Researched 2026-10-30 - [Where do Java Edition and Bedrock Edition behave differently, and which differences would a Bedrock client notice?](https://jsprismarine.dev/research/edition-behavior-differences.md): Researched 2026-10-24. The gameplay behaviors that differ between the two editions, and what a vanilla Bedrock client does when the server implements Java's behavior instead of Bedrock's. - [The End dragon fight: mechanics, repo audit, and the Bedrock wire](https://jsprismarine.dev/research/end-dragon-fight.md): Updated 2026-11-25. What it takes to make the game beatable: spike pillars with crystals, the exit portal podium, a killable ender dragon, the portal opening on its death, the credits, and the four-crystal respawn. - [Inventory of the gameplay behaviors a vanilla Bedrock server implements](https://jsprismarine.dev/research/engine-behavior-inventory.md): Researched 2026-10-24. The set of behaviors the Bedrock engine implements for blocks, items, entities (non-AI mechanics), the world and the player, sized against vanilla 1.26.50 content so a data-driven server can track parity per behavior. - [Extraction routes and parity verification against a real BDS](https://jsprismarine.dev/research/extraction-and-parity-verification.md): Updated 2026-10-30. The three extraction routes (Script API dump pack, Endstone DevTools, packet capture), reference worlds from BDS, and an automated parity suite for this server against Bedrock Dedicated Server 1.26.51.1. - [Has anyone built a server that consumes two Minecraft content formats at once?](https://jsprismarine.dev/research/hybrid-format-prior-art.md): Researched 2026-10-24 - [Java 26.3 to 26.4 Pre-Release 1 data delta](https://jsprismarine.dev/research/java-26.4-pre-1-delta.md): Researched 2026-11-19. What changed in the vanilla datapack and the data generator reports between Java Edition 26.3, the release this server runs, and 26.4 Pre-Release 1, the preview it tracks, and which of those changes the loaders have to gate. - [Java 26.4 Pre-Release 1 transcription review](https://jsprismarine.dev/research/java-26.4-pre-1-transcription-review.md): Researched 2026-12-03. Of the 182 `@javaSource` members whose bytecode 26.4 Pre-Release 1 changed against 26.3, which changes does the server's copy have to follow, and which leave the copy as it is? - [How does Java Edition generate a chunk?](https://jsprismarine.dev/research/java-chunk-generation-pipeline.md): Researched 2026-10-25. The primary source is Mojang's Java Edition 26.3 server jar, pinned at `node_modules/.cache/jsprismarine/java-server/26.3/server.jar`, whose inner `META-INF/versions/26.3/server-26.3.jar` holds the real class, field and method names (Mojang removed obfuscation in 26.1, see [java-code-only-behavior.md](https://jsprismarine.dev/research/java-code-only-behavior.md)). - [What part of Java Edition is code rather than data, and does Bedrock publish a data equivalent?](https://jsprismarine.dev/research/java-code-only-behavior.md): Researched 2026-10-24. The primary source is Mojang's own Java Edition 26.3 server jar, which since release 26.1 ships with original class, field and method names and no obfuscation map. - [Java Edition datapacks as a format and as a source of vanilla data](https://jsprismarine.dev/research/java-datapacks.md): Researched 2026-10-24 - [How much of a game can Java Edition's registries and components describe without code?](https://jsprismarine.dev/research/java-registries-and-components.md): Researched 2026-10-24 - [How feasible is it to hold Java-shaped game state and present it to a vanilla Bedrock client?](https://jsprismarine.dev/research/java-to-bedrock-translation.md): Researched 2026-10-24. The evidence base is GeyserMC, which has done exactly this translation in production since 2019: the Geyser source at commit `dd1fab334b5591012e9f41d1e17f50297ec51a69` (2026-10-23, version `2.12.0-SNAPSHOT`), the `GeyserMC/mappings` data at commit `81700ab543c1f4e9f9041f58dac4154ecb0d0c8b` (2026-10-13, "Update mappings for Minecraft JE 26.3"), Geyser's own documentation and issue labels, and the Bedrock palettes Geyser bundles. - [Molang: the language, what vanilla uses server-side, and how to implement it in TypeScript](https://jsprismarine.dev/research/molang.md): Updated 2026-10-26. Mojang's Molang specification, the subset the vanilla Bedrock behavior pack uses on the server, the semantics an evaluator must match, how entity filters differ, a review of existing implementations, and design input for a TypeScript evaluator. - [MoveActorDelta compression measurement](https://jsprismarine.dev/research/move-actor-delta.md): Updated 2026-11-04 - [MovePlayer positions after a server teleport](https://jsprismarine.dev/research/moveplayer-teleport-ack.md): Researched 2026-11-12. After the server teleports a player, how should it treat the positions a client reports with `MovePlayerPacket` until the client has applied the teleport? - [NetherNet and RakNet on one UDP port](https://jsprismarine.dev/research/nethernet-raknet-shared-port.md): Researched 2026-11-11. Whether the server can run RakNet and NetherNet on the same UDP port number, and RakNet's IPv4 and IPv6 listeners on the same port number, once NetherNet's peers run on libdatachannel. - [Packet codec enforcement](https://jsprismarine.dev/research/packet-codec-enforcement.md): Researched 2026-10-26. How to require new and edited packet definitions to support both encoding and decoding while legacy gaps are migrated. - [Packet versioning architectures](https://jsprismarine.dev/research/packet-versioning-architectures.md): Researched 2026-10-29. Is the delta codec with sibling packet classes (`StartGamePacket2225` beside `StartGamePacket`, swapped in per session by `ProtocolCodec.prepareOutbound`) the right way to carry more protocol versions, or does it accumulate into a mess 10 or 100 versions from now? - [Parallel chunk generation in Node](https://jsprismarine.dev/research/parallel-chunk-generation-in-node.md): Researched 2026-10-25. What Node and TypeScript can do about chunk generation that is both too slow and blocking, measured on this machine rather than estimated. - [Can a player be a store entity? The A5 spike](https://jsprismarine.dev/research/player-entity-spike.md): Written 2026-11-10 - [Portals and dimension travel](https://jsprismarine.dev/research/portals-and-dimension-travel.md): Researched 2026-10-30. What does a Bedrock server have to do so that nether portals and end portals work, and players and entities travel between the Overworld, the Nether and the End, and how much of it does this repository already have. - [Prior art: how other servers and engines turn Minecraft into data plus components](https://jsprismarine.dev/research/prior-art-data-driven-servers.md): Researched 2026-10-24 - [The eight packets protocol 2225 added](https://jsprismarine.dev/research/protocol-2225-added-packets.md): Updated 2026-10-30. Protocol 2225 (Minecraft 1.26.60) added eight packets and renumbered nothing. - [Protocol 2193 to 2225 delta](https://jsprismarine.dev/research/protocol-2225-delta.md): Researched 2026-10-29. What changed on the wire between protocol 2193 (Minecraft Bedrock 1.26.50/51, what this server speaks) and protocol 2225 (the next release), and which of those changes `Codec2225` has to carry. - [Protocol 2225 to 2259 delta](https://jsprismarine.dev/research/protocol-2259-delta.md): Researched 2026-11-15. What changed on the wire between protocol 2225 (Minecraft 1.26.60 to 1.26.62, the newest release) and protocol 2259 (Minecraft Preview 1.26.70.24), and which of those changes the server's preview codec has to carry. - [How Pumpkin generates a chunk](https://jsprismarine.dev/research/pumpkin-worldgen-architecture.md): Researched 2026-11-21. How PumpkinMC's data-driven world generator turns the vanilla datapack into terrain, and where its design differs from Java Edition 26.3 and from this repository's `@jsprismarine/worldgen` and `packages/prismarine/src/world/generators/datadriven`. - [How large is a save pass? The B4 measurement](https://jsprismarine.dev/research/save-pass-measurement.md): Written 2026-11-10 - [libdatachannel in a scriptc build](https://jsprismarine.dev/research/scriptc-libdatachannel.md): Researched 2026-11-11. Whether the NetherNet server's WebRTC backend can run on libdatachannel inside an executable built by scriptc, the ahead-of-time compiler behind `pnpm run package:scriptc`. - [If the internal model is Java shaped, what does it cost to store and send Bedrock?](https://jsprismarine.dev/research/storage-and-chunk-translation.md): Researched 2026-10-24 - [Sub chunk requests and the client blob cache](https://jsprismarine.dev/research/sub-chunk-requests-and-blob-cache.md): Researched 2026-11-12. What a server must put in `SubChunkPacket` and `LevelChunkPacket` when a client has turned on its blob cache, read from Mojang's packet documentation and from servers and protocol libraries that game clients play on. - [Where world generation spends its CPU and memory](https://jsprismarine.dev/research/worldgen-cost-structure.md): Updated 2026-11-21. Measured 2026-11-21 at commit `b31164b5d01` on an Apple M1 Pro (8 cores: 6 performance, 2 efficiency, 16 GiB) with Node v26.12.1, for the terrain generation rearchitecture. - [World generation baseline, measured for the decoupling plan](https://jsprismarine.dev/research/worldgen-decoupling-baseline.md): Updated 2026-11-09. Measured 2026-11-09 on an Apple M1 Pro (8 cores: 6 performance, 2 efficiency) with Node v26.12.1, for slice 0 of [worldgen-decoupling.md](https://jsprismarine.dev/plans/worldgen-decoupling.md). - [Six reported world generation defects, measured](https://jsprismarine.dev/research/worldgen-defects.md): Updated 2026-10-28. Diagnosed 2026-10-25 against commit `07581ce57a`, seed 1234, the `Overworld` generator the server actually runs. - [Numeric kernel options on Node.js, Bun and scriptc](https://jsprismarine.dev/research/worldgen-kernel-runtime-options.md): Researched 2026-11-21. Which ways of writing the terrain generator's numeric kernel (noise, density functions, aquifer, surface rules, climate search) run on all three of the project's target runtimes, and what each costs. - [World generation pools, sharing and pipelines](https://jsprismarine.dev/research/worldgen-pool-and-pipeline-architecture.md): Researched 2026-11-08. How the systems that generate Java Edition worlds fast schedule, share and isolate their work, what Node can and cannot do about the same problems, and an architecture for this repository that scales across threads and machines, runs well on two cores, and keeps generation from hurting the players who are online. - [OpenTUI as a base for the server console](https://jsprismarine.dev/research/console-tui/opentui.md): Researched 2026-10-25. Sources are the `anomalyco/opentui` repository at commit `82f27220c8439fee9821aba43af9590db807c1b4` (main, 2026-10-25), the npm registry, the Node.js repository, and the `anomalyco/opencode` repository. - [Console TUI plan](https://jsprismarine.dev/research/console-tui/plan.md): Updated 2026-11-07. Decided by three judges (`votes/judge-1.md`, `votes/judge-2.md`, `votes/judge-3.md`) on the `ballot.md` options, all three voting Q1=A, Q2=2a, Q3=3b, Q4=4a, Q5=5a. - [Splitting the console from the server process](https://jsprismarine.dev/research/console-tui/process-separation.md): Updated 2026-11-07. Research notes for moving console I/O out of the server process and building the console as an OpenTUI terminal UI. - [Console TUI refresh: pain points and direction](https://jsprismarine.dev/research/console-tui/refresh.md): Written 2026-11-19. It reviews the console that [ux-design.md](https://jsprismarine.dev/research/console-tui/ux-design.md) planned and `packages/console` now implements, lists what gets in the way, and proposes a direction that the mockups on the design canvas draw out. - [Repo map: console process split and OpenTUI console](https://jsprismarine.dev/research/console-tui/repo-map.md): Updated 2026-11-25. Snapshot of the repository at `1990d875c3` (branch `hfi/.../elm`), gathered for the plan to run the interactive console in its own process and rebuild it on OpenTUI, with the `pnpm run dev` supervisor notices shown inside the TUI. - [SEA spike: one executable as OpenTUI host and IPC server child](https://jsprismarine.dev/research/console-tui/sea-spike.md): Updated 2026-11-07. Can one Node single-executable application (SEA) be both the host that renders with OpenTUI and the server child it spawns with an `'ipc'` stdio channel? - [Console TUI: UX and design research](https://jsprismarine.dev/research/console-tui/ux-design.md): Updated 2026-11-07. Research notes for rebuilding the JSPrismarine console as an OpenTUI application in its own process. - [Spike: the noise stack in C, called through `node:ffi`](https://jsprismarine.dev/research/spikes/native-noise/index.md): Updated 2026-11-21. Run 2026-11-21 for phase 6 of [the terrain generation rearchitecture](https://jsprismarine.dev/plans/worldgen-rearchitecture.md), on an Apple M1 Pro with Node.js 26.12.1 and Apple clang. - [Benchmarks](https://jsprismarine.dev/benchmarks.md): How JSPrismarine runs next to Pumpkin and Bedrock Dedicated Server with the same players on each: CPU per player, memory and download speed. - [Benchmark figures as CSV](https://jsprismarine.dev/benchmarks.csv): One row per world, server and figure: the median, the lowest and highest round, the unit and every round. - [Benchmark figures as JSON](https://jsprismarine.dev/benchmarks.json): The same rows with what each figure measures, the builds and machine that ran, and the history of every change. - [Brand kit](https://jsprismarine.dev/brand-kit): The rules live in the [brand guide](https://jsprismarine.dev/brand/index.md). - [Contributor Covenant Code of Conduct](https://jsprismarine.dev/code-of-conduct.md) - [Contributors](https://jsprismarine.dev/contributors): These people write the code, the tests and the documentation behind JSPrismarine. - [Guides](https://jsprismarine.dev/guide/index.md): Start from what you are here to do. - [Packages](https://jsprismarine.dev/packages.md): JSPrismarine publishes the server as 54 packages on npm. - [Parity tracker](https://jsprismarine.dev/parity.md): How much of vanilla Minecraft behavior JSPrismarine matches, checked by the parity suite. - [Releases](https://jsprismarine.dev/releases.md): Every server package ships at the same version, so one set of notes covers the server and its packages.