Skip to content

features: clientCommandUsesStringMapper from 26.1 - #1280

Closed
u9g wants to merge 1 commit into
PrismarineJS:masterfrom
u9g:feat/client-command-string-mapper
Closed

features: clientCommandUsesStringMapper from 26.1#1280
u9g wants to merge 1 commit into
PrismarineJS:masterfrom
u9g:feat/client-command-string-mapper

Conversation

@u9g

@u9g u9g commented Sep 7, 2026

Copy link
Copy Markdown
Member

26.1 declares packet_client_command.actionId as a string mapper (perform_respawn/request_stats/request_gamerule_values), where 1.21.11 and earlier declare a plain varint. Consumers need to know which one to write: protodef's interpreted mapper writer, and the compiled one since ProtoDef-io/node-protodef#176, throw 0 is not in the mappings value on the numeric form.

This mirrors entityActionUsesStringMapper, which covers the same change to entity_action in 1.21.6.

@u9g

u9g commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

Closing: PrismarineJS/mineflayer#4076 reads the declared field type from the protocol instead, so this feature has no consumer.

@u9g u9g closed this Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant