Minecraft-Console-Client/MinecraftClient/Protocol
BruceChen 5e416d6b72 fix: StructuredComponents batch 4 audit — CustomName, ItemName, Lore use NBT encoding
In 1.20.6+, ComponentSerialization.STREAM_CODEC uses
ByteBufCodecs.fromCodecWithRegistries (NBT tag format), not plain string.
The previous implementation incorrectly used ReadNextString/GetString
for custom_name (5), item_name (6), and lore (7) components.

Fixed all three to use ReadNextNbt/GetNbt, preserving raw NBT data for
round-trip serialization while still extracting readable text via
ChatParser.ParseText(Dictionary).

Other batch 4 components (custom_data, entity_data, bucket_entity_data,
block_entity_data, debug_stick_state, map_decorations, recipes, lock,
container_loot, intangible_projectile — all NBT; hide_additional_tooltip,
hide_tooltip, fire_resistant, creative_slot_lock — all Unit/Empty;
note_block_sound — ResourceLocation string) were verified correct.

Made-with: Cursor
2026-03-20 00:33:50 +08:00
..
Handlers fix: StructuredComponents batch 4 audit — CustomName, ItemName, Lore use NBT encoding 2026-03-20 00:33:50 +08:00
Message Add FileInputBot for non-interactive debugging and fix NbtToString crash 2026-03-19 00:45:51 +08:00
ProfileKey Ported to .NET 8 2024-12-22 13:20:04 +01:00
Session Fix session cache serializer failure 2024-12-25 01:28:28 +08:00
DataTypeGenerator.cs Fix xxx.Parse 2022-10-04 11:53:07 +08:00
EntityActionType.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
GuidExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
IMinecraftCom.cs 1.20.6 - Not working yet 2024-06-16 01:19:09 +02:00
IMinecraftComHandler.cs First working version, not fully tested 2024-06-30 11:26:41 +02:00
JwtPayloadDecode.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
MicrosoftAuthentication.cs fixed typo in word heAlper lol 2024-04-16 21:21:08 +03:00
MojangAPI.cs Implement command completion suggestions. 2022-12-06 15:50:17 +08:00
PlayerInfo.cs Trim 2023-01-14 21:07:09 +08:00
ProtocolHandler.cs Preliminary 1.21 Support 2024-12-06 16:45:48 +01:00
ProxiedWebRequest.cs Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
ReplayHandler.cs Handle non-interactive terminal environments gracefully 2026-03-19 00:11:13 +08:00