1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-01-18 09:31:53 +00:00
bedrock-protocol-docs/changelog_766_11_7_24.md
Oswaldo Leyva Barrientos 3187c2b126 Protocol for r/21_u5 NetworkProtocolVersion 766 (#16)
* Protocol for r/21_u5 NetworkProtocolVersion 766

* Fixed README
2025-01-14 10:49:28 -08:00

4.4 KiB

Minecraft Network Protocol Docs 11/07/2024

For r21_u5, Network Protocol Version 766

New Packets

CameraAimAssistPresetsPacket:

Packet Changes

CameraAimAssistPacket:

  • Added mPresetId (std::string)

ItemStackResponseSlotInfo:

  • Added Filtered Custom Name (std::string)

PlayerAuthInputPacket:

  • mInputData is now being serialized as std::bitset<static_cast(InputData::INPUT_NUM)> (previous was unsigned varint64)
  • Changed mClientTick type from uint64_t to PlayerInputTick
  • Added mRawMoveVector (Vec2)

ResourcePacksInfoPacket:

  • Added mData.mWorldTemplateIdAndVersion.mId (mce::UUID)
  • Added mData.mWorldTemplateIdAndVersion.mVersion.asString() (std::string)
  • Changes to PackInfoData:
    • Changed pack.mPackIdVersion.mId from std::string to mce::UUID mId

New Types

SharedTypes::v1_21_50::CameraAimAssistCategoriesDefinition:

SharedTypes::v1_21_50::CameraAimAssistCategoryDefinition:

  • Added mName (std::string)
  • Added mPriorities (SharedTypes::v1_21_50::CameraAimAssistCategoryPriorities) [type definition below]

SharedTypes::v1_21_50::CameraAimAssistCategoryPriorities:

  • Added mEntities (std::unordered_map<std::string, int32_t>)
  • Added mBlocks (std::unordered_map<std::string, int32_t>)

SharedTypes::v1_21_50::CameraAimAssistPresetDefinition:

  • Added mIdentifier (std::string)
  • Added mCategories (std::string)
  • Added mExclusionList (std::vectorstd::string)
  • Added mLiquidTargetingList (std::vectorstd::string)
  • Added mItemSettings (std::unordered_map<std::string, std::string>)
  • Added mDefaultItemSettings (std::optionalstd::string)
  • Added mHandSettings (std::optionalstd::string)

SharedTypes::Comprehensive::v1_21_50::CameraPresetAimAssistDefinition:

  • Added mPresetId (brstd::optionalstd::string)
  • Added mTargetMode (brstd::optionalCameraAimAssist::TargetMode) [enum definition in New Enums]
  • Added mAngle (brstd::optional)
  • Added mDistance (brstd::optional)

Other Changes in Types

CameraPreset:

New Enums

CameraAimAssist::TargetMode:

  • Added Angle(0)
  • Added Distance(1)

Enum Changes

ActorType:

  • Added Creaking(146 | Monster)

BuildPlatform:

  • Added GearVR_Deprecated(5)
  • Removed GearVR

CameraAimAssistPacket::Action:

  • Added _count(2)

CameraAimAssistPacket::TargetMode:

  • Added _count(2)

Connection::DisconnectFailReason:

  • Added ConnectionLost_DEPRECATED(66)
  • Removed ConnectionLost

ContainerID:

  • Removed CONTAINER_ID_REGISTRY_INVENTORY

CraftingDataEntryType:

  • Added UserDataShapelessRecipe(5)
  • Removed ShulkerBoxRecipe

LevelEvent:

  • Added ParticleCreakingHeartTrail(9816)

MapItemTrackedActor::Type:

  • Removed COUNT

MinecraftPacketIds:

  • Added MovementEffect(318)
  • Added SetMovementAuthorityMode(319)
  • Added CameraAimAssistPresets(320)
  • Displaced EndId

ParticleType:

  • Added CreakingCrumble(94)
  • Added PaleOakLeaves(95)
  • Added EyeblossomOpen(96)
  • Added EyeblossomClose(97)
  • Displaced _count

PlayerActionType:

  • Added StartSpinAttack(23)
  • Added StartUsingItem(37)
  • Changed Count from 37 to 38
  • Removed DEPRECATED_StartSpinAttack

PlayerAuthInputPacket::InputData:

  • Added StartUsingItem(53)
  • Added IsCameraRelativeMovementEnabled(54)
  • Added IsRotControlledByMoveDirection(55)
  • Added StartSpinAttack(56)
  • Added StopSpinAttack(57)
  • Added IsHotbarOnlyTouch(58)
  • Added JumpReleasedRaw(59)
  • Added JumpPressedRaw(60)
  • Added JumpCurrentRaw(61)
  • Added SneakReleasedRaw(62)
  • Added SneakPressedRaw(63)
  • Added SneakCurrentRaw(64)
  • Displaced INPUT_NUM

ServerAuthMovementMode:

  • Added LegacyClientAuthoritativeV1(0)
  • Added ClientAuthoritativeV2(1)
  • Added ServerAuthoritativeV3(2)
  • Removed ClientAuthoritative
  • Removed ServerAuthoritative
  • Removed ServerAuthoritativeWithRewind

Misc

Vectors:

  • Changed size name from "Array Size" to "List Size"

Conditional statements:

  • If - else if and switch statements have more detailed info for each case

Field name changes:

  • Multiple instances of changes in field names. No changes in internal logic