Releases: pmmp/BedrockProtocol
Releases · pmmp/BedrockProtocol
34.0.0 for Minecraft Bedrock 1.21.30
Changes since 33.x.x
Protocol changes
New packets
CameraAimAssistPacket
ContainerRegistryCleanupPacket
Packet changes
EmotePacket
has a new fieldint $emoteLengthTicks
InventoryContentPacket
has new fieldsFullContainerName $containerName, int $dynamicContainerSize
,int $dynamicContainerId
field was removedInventorySlotPacket
has new fieldsFullContainerName $containerName, int $dynamicContainerSize
,int $dynamicContainerId
field was removedResourcePacksInfoPacket
has removed fieldsBehaviorPackInfoEntry[] $behaviorPackEntries
andbool $forceServerPacks
TransferPacket
has a new fieldbool $reloadWorld
, exact purpose unclearUpdateAttributesPacket
fieldAttribute[] $entries
was replaced byUpdateAttribute[] $entries
Types
LevelSoundEvent
:- The following types has been added:
IMITATE_DROWNED
BUNDLE_INSERT_FAIL
- The following types has been renamed:
RESPAWN_ANCHOR_BASALT_DELTAS_MOOD
toAMBIENT_BASALT_DELTAS_MOOD
- The following types has been added:
PlayerAction
:- The following types has been deprecated:
START_SPIN_ATTACK
- The following types has been deprecated:
PlayerAuthInputFlags
:- The following types has been added:
BLOCK_BREAKING_DELAY_ENABLED
HORIZONTAL_COLLISION
VERTICAL_COLLISION
DOWN_LEFT
DOWN_RIGHT
- The following types has been added:
- Added
CameraAimAssistActionType
, contains the following new types:SET
CLEAR
- Added
CameraAimAssistTargetMode
, contains the following new types:ANGLE
DISTANCE
CameraPreset
has new fields?float $rotationSpeed, ?bool $snapToTarget, ?Vector3 $entityOffset
- Added
UpdateAttribute
, contains the following fields:string $id
float $min
float $max
float $current
float $defaultMin
float $defaultMax
float $default
array $modifiers
ContainerIds
:- The following types has been added:
CONTAINER_ID_REGISTRY
CONTAINER_ID_REGISTRY_INVENTORY
- The following types has been added:
FullContainerName
fieldint $dynamicId = 0
was modified to?int $dynamicId = null
BehaviorPackInfoEntry
was removed
Other changes
33.0.0 for Minecraft Bedrock 1.21.20
Changes since 32.x.x
Protocol changes
New packets
CurrentStructureFeaturePacket
JigsawStructureDataPacket
ServerboundDiagnosticsPacket
ServerboundLoadingScreenPacket
Packet changes
CameraInstructionPacket
has new fields?CameraTargetInstruction $target, ?bool $removeTarget
ChangeDimensionPacket
has a new field?int $loadingScreenId
CorrectPlayerMovePredictionPacket
has a new field?float $vehicleAngularVelocity
, this field is only sent whenpredictionType
isVEHICLE
DisconnectPacket
has a new field?string $filteredMessage
, exact purpose unclearEditorNetworkPacket
has a new fieldbool $isRouteToManager
InventoryContentPacket
has a new fieldint $dynamicContainerId
InventorySlotPacket
has a new fieldint $dynamicContainerId
MobArmorEquipmentPacket
has a new fieldItemStackWrapper $body
PlayerArmorDamagePacket
has a new field?int $bodySlotDamage
PlayerArmorDamagePacket
has a new flagBODY
SetTitlePacket
has a new fieldstring $filteredTitleText
, exact purpose unclearStopSoundPacket
has a new fieldbool $stopLegacyMusic
StructureTemplateDataRequestPacket
typeIMPORT
has been removedStructureTemplateDataResponsePacket
typeIMPORT
has been removed
Types
EntityLink
has new fieldsbool $causedByRider, float $vehicleAngularVelocity
AbilitiesLayer
has a new typeLAYER_LOADING_SCREEN
ActorEvent
:PLAYER_CHECK_TREASURE_HUNTER_ACHIEVEMENT
was renamed toDEPRECATED_UPDATE_STRUCTURE_FEATURE
(finally mojang cleaning their hacks)LevelSoundEvent
:- The following types has been added:
IMITATE_BOGGED
VAULT_REJECT_REWARDED_PLAYER
- The following types has been removed:
IMITATE_ILLUSION_ILLAGER
- The following types has been added:
- Camera
CameraPreset
has new fields?Vector2 $viewOffset, ?float $radius
CameraSetInstruction
has a new field?Vector2 $viewOffset
CameraTargetInstruction
has been added
- Added
LoadingScreenType
, contains the following new types:UNKNOWN
START_LOADING_SCREEN
STOP_LOADING_SCREEN
ContainerUIIds
has a new typeDYNAMIC
- Added
FullContainerName
contains the following new fields:int $containerId
int $dynamicId
, default value is0
- Removed
PlaceIntoBundleStackRequestAction
- Added
PredictedResult
, contains the following new types:FAILURE
SUCCESS
- Added
TriggerType
, contains the following new types:UNKNOWN
PLAYER_INPUT
SIMULATION_TICK
UseItemTransactionData
now has the following fieldsTriggerType $triggerType
PredictedResult $clientInteractPrediction
CraftRecipeAutoStackRequestAction
has a new fieldint $repetitions2
, good one mojang... :/CraftRecipeStackRequestAction
has a new fieldint $repetitions
CreativeCreateStackRequestAction
has a new fieldint $repetitions
GrindstoneStackRequestAction
has a new fieldint $repetitions
ItemStackRequestActionType
- The following types has been removed:
PLACE_INTO_BUNDLE
TAKE_FROM_BUNDLE
- The following types has been removed:
ItemStackRequestSlotInfo
int $containerId
field has been replaced byFullContainerName $containerName
ItemStackResponseContainerInfo
int $containerId
field has been replaced byFullContainerName $containerName
BehaviorPackInfoEntry
has a new fieldbool $isAddonPack
ResourcePackInfoEntry
has a new fieldbool $isAddonPack
Other changes
- Any static function is allowed to have a @generate-create-func tag (a61b555)
PlayerAuthInputPacket
implements ainternalCreate()
method that uses the @generate-create-func tag to do extra validation without losing autogen capability (5db8d10)PacketHandlerInterface
:handleCloseForm
method was renamed tohandleClientboundCloseForm
- Fixed
PREDICTION_TYPE_PLAYER
andPREDICTION_TYPE_VEHICLE
values being swapped onCorrectPlayerMovePredictionPacket
(#259) - Added missing
?Vector2 $vehicleRotation
field onCorrectPlayerMovePredictionPacket
, this field is only send whenpredictionType
isVEHICLE
(#259) PacketSerializer
now has bindings for read/writeVector2
fields
32.2.0 for Minecraft Bedrock 1.21.2
Changes since 32.1.0
Protocol changes
Enum changes
- Updated
EntityMetadataProperties
enum to 1.21.2
32.0.0 for Minecraft Bedrock 1.21.2
Changes since 31.0.0
Protocol changes
New packets
CloseFormPacket
: closes the entire stack of forms
17.1.0 for Minecraft Bedrock 1.19.50
Changes since 17.0.0
Protocol changes
Enum changes
- Updated
LevelSoundEvent
enum to 1.19.50 ContainerUIIds
adds a new memberRECIPE_BOOK
(21) - everything above and includingENCHANTING_INPUT
shifts value up by 1
17.0.0 for Minecraft Bedrock 1.19.50
Changes since 16.0.0
Protocol changes
New packets
UpdateClientInputLocksPacket
: exact purpose unclear, currently non-functional
Packet changes
StructureTemplateDataRequestPacket
has a new typeIMPORT
StructureTemplateDataResponsePacket
has a new typeIMPORT
Enum changes
EntityMetadataFlags
added a newCAN_DASH
(46) - everything above and includingLINGER
shifts value up by 1
Other changes
- Fixed
ClientboundMapItemDataPacket
checking incorrect flags when reading scale field.
16.0.0 for Minecraft Bedrock 1.19.40
Changes since 15.0.0
- Added missing field to
ItemStackRequest
(BC break) - Added missing field to
StructureSettings
(BC break) - Add color parameter to
BossEventPacket::unknown6()
15.0.0 for Minecraft Bedrock 1.19.40
Changes since 14.0.0
- CraftRecipeAutoStackRequestAction: added missing protocol change from 1.19.40 (BC breaking)
14.0.0 for Minecraft Bedrock 1.19.40
Changes since 13.x.x
Protocol changes
Packet changes
AddActorPacket
now requires a newPropertySyncData $syncedProperties
fieldAddPlayerPacket
now requires a newPropertySyncData $syncedProperties
fieldSetActorDataPacket
now requires a newPropertySyncData $syncedProperties
field
Enum changes
UpdateAbilitiesPacketLayer
has a newEDITOR
member
New types
PropertySyncData
: Purpose currently unclear, but appears to be a planned replacement for actor metadata. Currently unused and can be filled with empty arrays for now.
13.0.0 for Minecraft Bedrock 1.19.30
Changes since 12.x.x
Protocol changes
New packets
GameTestRequestPacket
GameTestResultsPacket
RequestNetworkSettingsPacket
- this is now the first packet in a session, instead ofLoginPacket
ServerStatsPacket
Removed packets
AdventureSettingsPacket
Packet changes
NetworkSettingsPacket
has new fieldsint $compressionAlgorithm, bool $enableClientThrottling, int $clientThrottleThreshold, float $clientThrottleScalar
StructureBlockUpdatePacket
has a new fieldbool $waterlogged
TextPacket
has a new typeTYPE_JSON_ANNOUNCEMENT
New enums
CompressionType
- used byNetworkSettingsPacket
Other changes
RecipeIngredient
now accepts anItemDescriptor
instead of ID+meta. This enables more features like selecting items based on tags, Molang code, or other conditions. The types of descriptors currently supported are:IntIdMetaItemDescriptor
- this is used by all current vanilla recipes and is essentially the same as what we had to begin withMolangItemDescriptor
- allows selecting compatible items based on a Molang code predicateStringIdMetaItemDescriptor
- same asIntIdMetaItemDescriptor
, but uses string IDs and doesn't allow negative meta values (?)TagItemDescriptor
- allows selecting compatible items based on their type tags, like in Java (see the wiki)