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

2.9 KiB

Minecraft Network Protocol Docs 05/19/22

For r19, Network Protocol Version 526

New Packets

RequestAbilityPacket:

  • Add mAbility (AbilitiesIndex)
  • Add mValueType (Type)
  • Add mValue (nonstd::variant<bool, float>)

LessonProgressPacket:

  • Add mAction(LessonAction)
  • Add mScore(int)
  • Add mActivityId(std::string)

RequestPermissionsPacket:

  • Add mTargetPlayerId.rawID(uint16_t)
  • Add mPlayerPermissions(PlayerPermissionLevel)
  • Add mCustomPermissionFlags(uint16_t)

ToastRequestPacket:

  • Add mTitle(std::string)
  • Add mContent(std::string)

Packet Changes

PlayerActionPacket:

  • Add mResultPos(NetworkBlockPosition)

PlayerAuthInputPacket:

  • Add mNewInteractionModel(NewInteractionModel)

StartGamePacket:

  • Add mPlayerPropertyData(CompoundTag) // This is the same data that's passed via SyncActorPropertyPacket
  • Add mWorldTemplateId(mce::UUID)

LevelSettings:

  • Add mDefaultPermissions(PlayerPermissionLevel)

#Enum Changes

AbilitiesIndex:

  • Added Invalid(-1)
  • Added Build(0)
  • Added Mine(1)
  • Added DoorsAndSwitches(2)
  • Added OpenContainers(3)
  • Added AttackPlayers(4)
  • Added AttackMobs(5)
  • Added OperatorCommands(6)
  • Added Teleport(7)
  • Added Invulnerable(8)
  • Added Flying(9)
  • Added MayFly(10)
  • Added Instabuild(11)
  • Added Lightning(12)
  • Added FlySpeed(13)
  • Added WalkSpeed(14)
  • Added Muted(15)
  • Added WorldBuilder(16)
  • Added NoClip(17)
  • Added AbilityCount(18)

ActorDamageCause:

  • Added SonicBoom(31)
  • Displaced All

ActorDataIDs:

  • Added PLAYER_LAST_DEATH_POS(128)
  • Added PLAYER_LAST_DEATH_DIMENSION(129)
  • Added PLAYER_HAS_DIED(130)

ActorFlags:

  • Added SONIC_BOOM(106)
  • Displaced Count

ActorType:

  • Displaced Warden

BuildPlatform:

  • Added Linux(15)

Enchant::Type:

  • Added SwiftSneak(37)
  • Displaced NumEnchantments
  • Displaced InvalidEnchantment

EventPacket::Type:

  • Added PatternRemoved_OBSOLETE(10)
  • Added PetDied_OBSOLETE(14)
  • Removed PatternRemoved
  • Removed PetDied

LevelEvent:

  • Added SonicExplosion(2039)

LevelSoundEvent:

  • Added ImitateWarden(426)
  • Added ListeningAngry(427)
  • Added Item_Given(428)
  • Added Item_Taken(429)
  • Added Disappeared(430)
  • Added Reappeared(431)
  • Added FrogspawnHatched(433)
  • Added LaySpawn(434)
  • Added FrogspawnBreak(435)
  • Added SonicBoom(436)
  • Added SonicCharge(437)
  • Added Item_Thrown(438)
  • Added Record5(439)
  • Added ConvertToFrog(440)
  • Changed Undefined from 423 to 441
  • Removed SculkPlace

LessonAction:

  • Start(0)
  • Complete(1)
  • Restart(2)

MinecraftPacketIds:

  • Added LessonProgressPacket(183)
  • Added RequestAbilityPacket(184)
  • Added RequestPermissionsPacket(185)
  • Added ToastRequest(186)
  • Displaced EndId

NewInteractionModel:

  • Touch(0)
  • Crosshair(1)
  • Classic(2)
  • Count(3)

ParticleType:

  • Added SonicExplosion(84)
  • Displaced _count

PlayerActionType:

  • Added StartItemUseOn(28)
  • Added StopItemUseOn(29)
  • Displaced Count

RequestAbilityPacket::Type

  • Added Unset(0)
  • Added Bool(1)
  • Added Float(2)
  • FlowerPotBlock::_updateFlowerPotEntity()