Releases: pmmp/BedrockProtocol
Releases · pmmp/BedrockProtocol
9.0.2 for Minecraft Bedrock 1.18.30
Changes since 9.0.1
- Fixed incorrect encoding of
molangVariablesJson
inSpawnParticleEffectPacket
.
9.0.1 for Minecraft Bedrock 1.18.30
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
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 byAgentActionEventPacket
DimensionNameIds
- used byDimensionDataPacket
New types
DimensionData
- used byDimensionDataPacket
Changes
AddPlayerPacket
now requires agameMode
field, which should be filled by a member of theGameMode
enum.AddVolumeEntityPacket
now requiresminBound
,maxBound
anddimension
fields.RemoveVolumeEntityPacket
now requires adimension
field.SpawnParticleEffectPacket
now requires amolangVariablesJson
field.LevelSettings->seed
is now ulongLE instead of svarint32
8.0.2 for Minecraft Bedrock 1.18.10
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
Changes since 8.0.0
- Added missing
StringMetadataProperty::getValue()
. - Added missing implementations of
ClientboundPacket
andServerboundPacket
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
Changes since 7.x
New packets
CodeBuilderSourcePacket
PlayerStartItemCooldownPacket
ScriptMessagePacket
Changed packets
AddVolumeEntityPacket
now requiresjsonIdentifier
andinstanceName
fields.BossEventPacket
has a newTYPE_QUERY
type, and a new static method::query()
.LevelChunkPacket
now requiresclientSubChunkRequestsEnabled
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
inSubChunkRequestPacket
andSubChunkPacket
.
Other changes
- Added some new
LevelSoundEvent
constants. - Added
SubChunkRequestResult::SUCCESS_ALL_AIR
. - Added
EntityMetadataCollection->markDirty()
andEntityMetadataCollection->markAllDirty()
. - New
ItemStackRequestAction
s have been added:GrindstoneStackRequestAction
: this already existed in 1.18.0, but was never accounted forLoomStackRequestAction
: same as abovePlaceIntoBundleStackRequestAction
TakeFromBundleStackRequestAction
7.3.1 for Minecraft Bedrock 1.18.0
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
Changes since 7.2.0
- Added missing
LevelEvent
constants.
7.2.0 for Minecraft Bedrock 1.18.0
Changes since 7.1.0
- Added
types\BossBarColor
class containing several constants. BossEventPacket::show()
now accepts an optionalcolor
argument, which can be any member from theBossBarColor
class.- Added
PlayerAction::CRACK_BLOCK
constant (replacesCRACK_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
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.