PrismarineJS / PrismarineJS/node-minecraft-protocol

Registry error on 1.21.5

Open
#1,417 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

possible bug
Dominant language
JavaScript
Stars
1.4k
Forks
290
Avg merge
4d 8h
Merged PRs (30d)
7

Description

[x] The FAQ doesn't contain a resolution to my issue

Versions

  • minecraft-protocol: 1.60.0
  • server: vanilla/spigot/paper 1.21.5
  • node: 24.5.0

Detailed description of a problem

Joining this simple server with a 1.21.5 client (other versions lower too) causes a registry loading error on the client. It appears NMP doesn't send registry packets for modern clients or sends them incorrectly.

Current code

const mc = require("minecraft-protocol")

const server = mc.createServer({
  host: "127.0.0.1",
  port: 25565,
  version: "1.21.5",
  "online-mode": false,
})

Expected behavior

The client to get past the configuration phase

Additional context

This is the error log https://pastebin.com/Qg4sqduD

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the minimal createServer configuration in the issue and review docs/FAQ.md alongside the linked error log. Trace registry packet handling during the configuration phase for Minecraft 1.21.5; done means the client gets past configuration without the registry loading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.