Updates for Minecraft release 1.26.40#32
Conversation
|
Test PR please ignore :) |
|
W navi |
db8c68c to
6391983
Compare
|
Hello, first of all I'd like to thank all of you at Mojang for the fantastic work you're doing on the Cereal conversion, The current release is 1.26.30 Protocol 1001 CraftingDataPacket: The following net effects double the size of the raw packet, as confirmed by a comparison of the payload from u3 aka
ItemStackResponsePacket: It writes double optional has value bool fields for:
ResourcePackClientResponsePacket:
ActorData Type: see all cerealized packets which use ActorData such as AddActor or SetActorData.
AddPlayerPacket:
I hope the feedback provided here is helpful. |
## Updates for 1.26.40-beta.27 (v2164) 06/26/2026
PlayerAuthInputPacket:
* Input Data seems to be optional, even though it is marked as required.
* writes double optional has value bool fields for:
* PackedLegacyItemUseInventoryTransaction optional
* ItemStackRequest optional
* PlayerBlockActions optional
* VehicleRotation optional
* ClientPredictedVehicle optional
PlayerListPacket:
* writes a constant byte for the PlayerListEntry type, seems to be zero
* PlayerListAddEntry: the payload appears to end after the zero-byte written after the XBL XUID field, but
it should actually contain more fields, as they're all marked as required. At least this applies to the entry where
the client - i.e. the packet receiver - is the same as the player specified in the entry and is to be added to the
player list
PlayerLocationPacket:
* writes a constant varint for the PlayerLocationPacketType, seems to be zero
PlayerUpdateEntityOverridesPacket:
* writes a constant string for the UpdateType
Experiments:
* the array should be size-compressed
ItemStackRequestPacket:
* writes a constant byte for the ItemDescriptorType
* TextProcessingEventOrigin, ItemStackRequestSlotInfo ItemStackNetId, Filtered String Index fields could be of type
varint instead of int32
* the NameDescriptor should contain a runtime ID for the item rather than its full name, in order to reduce network
bandwidth
* writes an additional byte for each ItemStackRequestActionType, this must match the legacy
ItemStackRequestActionType serialization, i.e. it must contain the removed types
PlaceInItemContainer=7 and TakeFromItemContainer=8. Otherwise, the Bedrock Dedicated Server will not accept this, as
can be seen here:## Additions 06/27/2026
SetScorePacket:
* Score Info array is required, but is optional according to the json schema
* ScorePacketEntryAction is written as a constant string value, even though it's already defined as an unsigned varint in std::variant
SerializedSkin:
* PieceTintColors persona::PieceType is serialized as string but should be an unsigned varint
* the SerializedPersonaPieceHandle persona::PieceType should be an unsigned varint instead of int32
* TrustedSkinFlag is serialized as string instead of unsigned varint |
AUTOMATED PR
Updating bedrock-protocol-docs for Minecraft release 1.26.40