Skip to content

Expose canonical entity attribute keys#3950

Open
iiroak wants to merge 2 commits into
PrismarineJS:masterfrom
iiroak:fix/canonical-attribute-keys
Open

Expose canonical entity attribute keys#3950
iiroak wants to merge 2 commits into
PrismarineJS:masterfrom
iiroak:fix/canonical-attribute-keys

Conversation

@iiroak

@iiroak iiroak commented Jul 22, 2026

Copy link
Copy Markdown

Summary

  • preserve protocol-provided entity attribute keys
  • expose the same values under canonical registry resource keys
  • add a regression test for legacy generic.movement_speed becoming available as minecraft:movement_speed

This lets consumers such as prismarine-physics use registry-style attribute names while retaining the protocol key for compatibility.

Validation

  • npm run lint
  • npx mocha test/internalTest.js --grep 'stores entity attributes under their canonical resource key' --exit

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