Update slot component type 1.21.5-1.21.11#1173
Merged
extremeheat merged 2 commits intoPrismarineJS:masterfrom Apr 25, 2026
Merged
Update slot component type 1.21.5-1.21.11#1173extremeheat merged 2 commits intoPrismarineJS:masterfrom
extremeheat merged 2 commits intoPrismarineJS:masterfrom
Conversation
extremeheat
approved these changes
Apr 6, 2026
Member
|
Thanks |
Member
|
/makerelease patch |
Merged
This was referenced Apr 26, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compare DataComponent mappings between protocol.json (SlotComponentType) and DataComponentTypes.java
Versions 1.21.1-1.21.4 excluded from dump because there are no changes in those versions. The script used to generate the dump is at the bottom.
1.21.5: protocol mappings: 96, java mappings: 96
1.21.6: protocol mappings: 96, java mappings: 96
1.21.7: protocol mappings: 96, java mappings: 96
1.21.8: protocol mappings: 96, java mappings: 96
1.21.9: protocol mappings: 96, java mappings: 96
1.21.10: protocol mappings: 96, java mappings: 96
1.21.11: protocol mappings: 104, java mappings: 104
Reference: Minecraft Wiki - Structured Components
Source: https://minecraft.wiki/w/Java_Edition_protocol/Slot_data#Structured_components
This section documents the complete list of structured components available in Minecraft protocol.
Complete Component Type Mapping Table
Note: This reference table documents components 0-95 from the Minecraft Wiki documentation:
https://minecraft.wiki/w/Java_Edition_protocol/Slot_data#Structured_components
Important: The code analysis above shows that later Minecraft versions (1.21.11+) contain
additional component IDs beyond those documented on the wiki. Refer to the extracted comparison
tables for versions 1.21.9, 1.21.10, and 1.21.11 above to see the actual component mappings
for each version, which includes these additional values.