1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-02-23 23:15:29 +00:00
bedrock-protocol-docs/previous_changelogs/changelog_544_07_05_22.md
Oswaldo Leyva Barrientos 933599d224 Protocol version 622 for r/20_u7
2024-02-15 15:10:22 -08:00

1.6 KiB

Minecraft Network Protocol Docs 07/05/22

For r19u2, Network Protocol Version 544

Packet Changes

ClientboundMapItemDataPacket

  • Add mMapOrigin(BlockPos)

MapInfoRequestPacket

  • Add mClientPixels(std::vector<std::pair<uint32_t, uint16_t>>)

ModalFormResponsePacket

  • Modified mFormCancelReason(nonstd::optionalJson::Value)
  • Add mFormCancelReason(nonstd::optional)

NetworkChunkPublisherUpdatePacket

  • Add mSavedChunks(std::vector)

UpdateAttributesPacket

  • Add mModifiers(std::vector)
    • UpdateAttributesPacket::AttributeModifier (helper struct) mAmount(float) mOperation(AttributeModifierOperation) mOperand(AttributeOperands) mName(std::string) mId(mce::UUID) mSerialize(bool)

StartGamePacket

  • Add mServerEnabledClientSideGeneration(boolean)

New Packets

FeatureRegistryPacket

Seralizer changes

serialize

  • Add mPlayerPermissions(PlayerPermissionLevel)
  • Add mPersonaDisabled(bool)
  • Add mCustomSkinsDisabled(bool)
  • Add mChatRestrictionLevel(ChatRestrictionLevel)
  • Add mDisablePlayerInteractions(bool)

Enum changes

MinecraftPacketIds:

  • Added FeatureRegistryPacket(191)
  • Displaced EndId

AttributeModifierOperation

  • OPERATION_ADDITION(0)
  • nOPERATION_MULTIPLY_BASE(1)
  • nOPERATION_MULTIPLY_TOTAL(2)
  • nOPERATION_CAP(3)
  • nTOTAL_OPERATIONS(4)
  • nOPERATION_INVALID(TOTAL_OPERATIONS)

AttributeOperands

  • OPERAND_MIN(0)
  • OPERAND_MAX(1)
  • OPERAND_CURRENT(2)
  • TOTAL_OPERANDS(3)
  • OPERAND_INVALID(TOTAL_OPERANDS)

ChatRestrictionLevel

  • None(0)
  • Dropped(1)
  • Disabled(2)