PrismarineJS / PrismarineJS/minecraft-data

Wrong type for packet_start_game's `player_permissions` field on bedrock

Open
#724 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bedrock
Dominant language
JavaScript
Stars
938
Forks
294
Avg merge
2d 10h
Merged PRs (30d)
23

Description

Is it expected that the seed and biome information will be wrong in packet_start_game when connecting to a realm or is there a parsing error? If it is expected, is the correct information available somewhere? The position information that precedes it seems correct aside from the off-by-one Y value which I assume is just the difference between head and foot or player and camera location. The dimension that comes after is correct but the permission level seems wrong as well. Other than world name and the engine version which look correct, I can't verify much else in the packet.

I'm attempting to look at the parsing to figure it out myself but I'm seeing conflicting information about the packet structure and a lack of specification for the encoding of some of the types in the packet.

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 tracing the packet_start_game parsing and comparing its player_permissions, seed, biome, position, dimension, world name, and engine version fields with the available Bedrock packet structure information. Determine whether the differing values are parsing errors or expected realm behavior, then document or correct the parsing so the affected fields match the protocol expectations.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.