Skip to content

Releases: pmmp/BedrockProtocol

9.0.2 for Minecraft Bedrock 1.18.30

30 May 15:14
37f1cd0
Compare
Choose a tag to compare

Changes since 9.0.1

  • Fixed incorrect encoding of molangVariablesJson in SpawnParticleEffectPacket.

9.0.1 for Minecraft Bedrock 1.18.30

23 Apr 14:57
9d3cc87
Compare
Choose a tag to compare

Changes since 9.0.0

  • Fixed AvailableCommandsPacket::ARG_TYPE_* constants being incorrect for 1.18.30.

9.0.0 for Minecraft Bedrock 1.18.30

23 Apr 14:55
76cf00a
Compare
Choose a tag to compare

Changes since 8.0.2

Fixes

  • Fixed not reading all data from InteractPacket.
  • Fixed generation of ::create() static methods when types contained * (e.g. PHPStan constant wildcards).

Protocol changes

Updated to support Bedrock 1.18.30 (BC breaks)

New packets

  • AgentActionEventPacket
  • ChangeMobPropertyPacket
  • DimensionDataPacket
  • TickingAreasLoadStatusPacket

New enums

  • AgentActionType - used by AgentActionEventPacket
  • DimensionNameIds - used by DimensionDataPacket

New types

  • DimensionData - used by DimensionDataPacket

Changes

  • AddPlayerPacket now requires a gameMode field, which should be filled by a member of the GameMode enum.
  • AddVolumeEntityPacket now requires minBound, maxBound and dimension fields.
  • RemoveVolumeEntityPacket now requires a dimension field.
  • SpawnParticleEffectPacket now requires a molangVariablesJson field.
  • LevelSettings->seed is now ulongLE instead of svarint32

8.0.2 for Minecraft Bedrock 1.18.10

02 Apr 16:54
d1f1afd
Compare
Choose a tag to compare

Changes since 8.0.1

  • Fixed a buffer length underflow bug in LoginPacket decoding causing unchecked exceptions to be thrown.

8.0.1 for Minecraft Bedrock 1.18.10

21 Feb 04:34
a740f60
Compare
Choose a tag to compare

Changes since 8.0.0

  • Added missing StringMetadataProperty::getValue().
  • Added missing implementations of ClientboundPacket and ServerboundPacket to some newer packets.
  • Fixed flags being set incorrectly in PlayerAuthInputPacket::create().
  • Fixed incorrect documentation in PlayerAuthInputPacket::create().

8.0.0 for Minecraft Bedrock 1.18.10

08 Feb 19:30
017e57c
Compare
Choose a tag to compare

Changes since 7.x

New packets

  • CodeBuilderSourcePacket
  • PlayerStartItemCooldownPacket
  • ScriptMessagePacket

Changed packets

  • AddVolumeEntityPacket now requires jsonIdentifier and instanceName fields.
  • BossEventPacket has a new TYPE_QUERY type, and a new static method ::query().
  • LevelChunkPacket now requires clientSubChunkRequestsEnabled field.
  • SubChunkRequestPacket now contains a list of requested subchunk positions relative to a base position. Its ::create() has been changed to reflect this, and some getters have been replaced.
  • SubChunkPacket now contains a list of subchunk datas. Note that either all must have blob hashes (cache enabled), or all must not (cache disabled). Its ::create() has been changed to reflect this, and some getters have been replaced.
  • Integers have now been replaced by SubChunkPosition in SubChunkRequestPacket and SubChunkPacket.

Other changes

  • Added some new LevelSoundEvent constants.
  • Added SubChunkRequestResult::SUCCESS_ALL_AIR.
  • Added EntityMetadataCollection->markDirty() and EntityMetadataCollection->markAllDirty().
  • New ItemStackRequestActions have been added:
    • GrindstoneStackRequestAction: this already existed in 1.18.0, but was never accounted for
    • LoomStackRequestAction: same as above
    • PlaceIntoBundleStackRequestAction
    • TakeFromBundleStackRequestAction

7.3.1 for Minecraft Bedrock 1.18.0

27 Jan 22:33
c266745
Compare
Choose a tag to compare

Changes since 7.3.0

  • Fixed incorrect handling of signed bytes decoded for ByteMetadataProperty resulting in a crash.

7.3.0 for Minecraft Bedrock 1.18.0

06 Jan 22:39
418b4db
Compare
Choose a tag to compare

Changes since 7.2.0

  • Added missing LevelEvent constants.

7.2.0 for Minecraft Bedrock 1.18.0

29 Dec 16:38
e1fd0a1
Compare
Choose a tag to compare

Changes since 7.1.0

  • Added types\BossBarColor class containing several constants.
  • BossEventPacket::show() now accepts an optional color argument, which can be any member from the BossBarColor class.
  • Added PlayerAction::CRACK_BLOCK constant (replaces CRACK_BREAK, which was a typo and will be removed).
  • Added documentation for almost all PlayerAuthInputFlags constants.
  • Added EntityMetadataCollection::setAtomicBatch() (useful for setting things like entity height/width, where both properties must be sent even if only one of them is actually changed).

7.1.0 for Minecraft Bedrock 1.18.0

29 Dec 16:21
42f2a00
Compare
Choose a tag to compare

Changes since 7.0.0

  • Fixed incorrect decoding of block positions in block actions in PlayerAuthInputPacket.
  • Added some missing ActorEvent constants.
  • Added some missing LevelSoundEvent constants.
  • Added some missing EntityMetadataFlags constants.