Minecraft-Console-Client/MinecraftClient/Protocol/Handlers/StructuredComponents/Components/1_20_6
BruceChen c689343371 fix: StructuredComponents batch 3 audit — EnchantmentGlintOverrideComponent type correction
Audited all 14 simple binary components (batch 3): max_stack_size,
max_damage, damage, unbreakable, rarity, custom_model_data, repair_cost,
enchantment_glint_override, ominous_bottle_amplifier, dyed_color,
map_color, map_id, map_post_processing, base_color.

Found and fixed 1 bug:
- EnchantmentGlintOverrideComponent: was reading/writing VarInt but the
  official STREAM_CODEC uses ByteBufCodecs.BOOL (single byte boolean).
  Changed property type from int to bool, Parse from ReadNextVarInt to
  ReadNextBool, and Serialize from GetVarInt to GetBool.

All other 13 components matched the official 1.20.6 STREAM_CODEC
definitions exactly.

Verified in-game: connected to 1.20.6 vanilla server, received items
with enchantment_glint_override=true/false, dyed_color, map_color,
map_id, base_color, unbreakable, rarity, custom_model_data, repair_cost,
damage, max_damage. All parsed and serialized correctly with no errors.

Made-with: Cursor
2026-03-20 00:25:28 +08:00
..
AttributeModifiersComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
BannerPatternsComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
BaseColorComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
BeesComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
BlockStateComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
BundleContentsComponent.cs Fix StructuredComponent serialization correctness for 1.20.6 2026-03-19 01:37:56 +08:00
CanBreakComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
CanPlaceOnComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
ChargedProjectilesComponent.cs Fix StructuredComponent serialization correctness for 1.20.6 2026-03-19 01:37:56 +08:00
ContainerComponent.cs Fix StructuredComponent serialization correctness for 1.20.6 2026-03-19 01:37:56 +08:00
ContainerLootComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
CreativeSlotLockComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
CustomDataComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
CustomModelDataComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
CustomNameComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
DamageComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
DebugStickStateComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
DyeColorComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
EnchantmentGlintOverrideComponent.cs fix: StructuredComponents batch 3 audit — EnchantmentGlintOverrideComponent type correction 2026-03-20 00:25:28 +08:00
EnchantmentsComponent.cs Fix enchantment name display for 1.20.6 structured components 2026-03-19 02:01:15 +08:00
EntityDataComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
FireResistantComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
FireworkExplosionComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
FireworksComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
FoodComponentComponent.cs Fix StructuredComponent serialization correctness for 1.20.6 2026-03-19 01:37:56 +08:00
HideAdditionalTooltipComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
HideTooltipComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
InstrumentComponent.cs Fix PotionContentsComponent and InstrumentComponent serialization for 1.20.6 2026-03-19 01:44:23 +08:00
IntangibleProjectileComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
ItemNameComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
LockComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
LodestoneTrackerComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
LoreComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
MapColorComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
MapDecorationsComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
MapIdComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
MapPostProcessingComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
MaxDamageComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
MaxStackSizeComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
NoteBlockSoundComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
OmniousBottleAmplifierComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
PotDecorationsComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
PotionContentsComponent.cs Fix PotionContentsComponent and InstrumentComponent serialization for 1.20.6 2026-03-19 01:44:23 +08:00
ProfileComponent.cs fix: StructuredComponents batch 1 audit — TrimComponent, ProfileComponent, WrittenBookContent, and NBT serialization 2026-03-20 00:09:05 +08:00
RarityComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
RecipesComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
RepairCostComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
StoredEnchantmentsComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
SuspiciousStewEffectsComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
ToolComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
TrimComponent.cs fix: StructuredComponents batch 1 audit — TrimComponent, ProfileComponent, WrittenBookContent, and NBT serialization 2026-03-20 00:09:05 +08:00
UnbreakableComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
WritableBlookContentComponent.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
WrittenBlookContentComponent.cs fix: StructuredComponents batch 1 audit — TrimComponent, ProfileComponent, WrittenBookContent, and NBT serialization 2026-03-20 00:09:05 +08:00