Skip to content

Update declare_commands handling for 26.1#1478

Open
Mikulasz12 wants to merge 8 commits intoPrismarineJS:pc26_1from
Mikulasz12:feature/26.1-compat
Open

Update declare_commands handling for 26.1#1478
Mikulasz12 wants to merge 8 commits intoPrismarineJS:pc26_1from
Mikulasz12:feature/26.1-compat

Conversation

@Mikulasz12
Copy link
Copy Markdown

Summary

This updates declare_commands handling for 26.1.

What changed

  • improves the client chat handling around declare_commands
  • command tree walk
  • adds a test for minecraft:message command arguments

Why

26.1 command data changed enough that the existing handling needed an update.

This makes sure command message arguments are still found correctly for chat command signing.

Verification

  • added a declare_commands test

SuperGamerTron and others added 8 commits March 25, 2026 15:51
…arineJS#1467)

* Add vec3i16 type to packetTest.js

* Update ci.yml

* Update ci.yml

Removed outdated command to clone minecraft-data repository.

---------

Co-authored-by: extremeheat <extreme@protonmail.ch>
- Add id-token: write permission for OIDC trusted publishing
- Use Node 24 (ships npm 11.11.0, trusted publishing requires >=11.5.1)
- Add registry-url for OIDC auth flow
- Upgrade JS-DevTools/npm-publish from v1 to v4
- Remove NPM_AUTH_TOKEN (no longer needed)

Co-authored-by: rom1504 <rom1504@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
npm-publish v4 outputs empty string (not 'none') when version is
unchanged. The old condition != 'none' was always true, causing
Create Release to run and fail on every non-release commit.

Co-authored-by: rom1504 <rom1504@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: rom1504 <rom1504@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedprismarine-auth@​2.7.0 ⏵ 3.1.19410010090 +11100

View full report

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.

4 participants