ResourcePackStackPacket¶
文档版本:r/21_u4
协议版本:748
ResourcePackStackPacket数据包,数字ID是7
。该数据包用于protocol.packet.resourcepackstackpacket.description
结构¶
字段¶
ResourcePackStackPacket
[texture_pack_required][add-on_list][texture_pack_list][base_game_version][experiments][include_editor_packs]
- Texture Pack Required:bool
- 基本类型。protocol.packet.resourcepackstackpacket.texture_pack_required.description
- 数组大小:unsigned varint
- 基本类型。protocol.packet.resourcepackstackpacket.add-on_list.array_size.description
- ID:string
- 特殊类型。protocol.packet.resourcepackstackpacket.add-on_list.example_element.id.description
- Version:string
- 特殊类型。protocol.packet.resourcepackstackpacket.add-on_list.example_element.version.description
- Sub Pack Name:string
- 特殊类型。protocol.packet.resourcepackstackpacket.add-on_list.example_element.sub_pack_name.description
- 数组大小:unsigned varint
- 基本类型。protocol.packet.resourcepackstackpacket.texture_pack_list.array_size.description
- ID:string
- 特殊类型。protocol.packet.resourcepackstackpacket.texture_pack_list.example_element.id.description
- Version:string
- 特殊类型。protocol.packet.resourcepackstackpacket.texture_pack_list.example_element.version.description
- Sub Pack Name:string
- 特殊类型。protocol.packet.resourcepackstackpacket.texture_pack_list.example_element.sub_pack_name.description
- Base Game Version:BaseGameVersion
- 特殊类型。protocol.packet.resourcepackstackpacket.base_game_version.descriptionFor clients to be able to set their stack to the right version.
- Experiments:Experiments
- 特殊类型。protocol.packet.resourcepackstackpacket.experiments.descriptionRefer to the Experiments type for how to serialize
- Include Editor Packs:bool
- 基本类型。protocol.packet.resourcepackstackpacket.include_editor_packs.descriptionWhen connecting to an Editor world, include the vanilla editor packs in the stack