Releases: pmmp/BedrockProtocol
Releases · pmmp/BedrockProtocol
34.0.0 for Minecraft Bedrock 1.21.30
Changes since 33.x.x
Protocol changes
New packets
CameraAimAssistPacketContainerRegistryCleanupPacket
Packet changes
EmotePackethas a new fieldint $emoteLengthTicksInventoryContentPackethas new fieldsFullContainerName $containerName, int $dynamicContainerSize,int $dynamicContainerIdfield was removedInventorySlotPackethas new fieldsFullContainerName $containerName, int $dynamicContainerSize,int $dynamicContainerIdfield was removedResourcePacksInfoPackethas removed fieldsBehaviorPackInfoEntry[] $behaviorPackEntriesandbool $forceServerPacksTransferPackethas a new fieldbool $reloadWorld, exact purpose unclearUpdateAttributesPacketfieldAttribute[] $entrieswas replaced byUpdateAttribute[] $entries
Types
LevelSoundEvent:- The following types has been added:
IMITATE_DROWNEDBUNDLE_INSERT_FAIL
- The following types has been renamed:
RESPAWN_ANCHOR_BASALT_DELTAS_MOODtoAMBIENT_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_ENABLEDHORIZONTAL_COLLISIONVERTICAL_COLLISIONDOWN_LEFTDOWN_RIGHT
- The following types has been added:
- Added
CameraAimAssistActionType, contains the following new types:SETCLEAR
- Added
CameraAimAssistTargetMode, contains the following new types:ANGLEDISTANCE
CameraPresethas new fields?float $rotationSpeed, ?bool $snapToTarget, ?Vector3 $entityOffset- Added
UpdateAttribute, contains the following fields:string $idfloat $minfloat $maxfloat $currentfloat $defaultMinfloat $defaultMaxfloat $defaultarray $modifiers
ContainerIds:- The following types has been added:
CONTAINER_ID_REGISTRYCONTAINER_ID_REGISTRY_INVENTORY
- The following types has been added:
FullContainerNamefieldint $dynamicId = 0was modified to?int $dynamicId = nullBehaviorPackInfoEntrywas removed
Other changes
33.0.0 for Minecraft Bedrock 1.21.20
Changes since 32.x.x
Protocol changes
New packets
CurrentStructureFeaturePacketJigsawStructureDataPacketServerboundDiagnosticsPacketServerboundLoadingScreenPacket
Packet changes
CameraInstructionPackethas new fields?CameraTargetInstruction $target, ?bool $removeTargetChangeDimensionPackethas a new field?int $loadingScreenIdCorrectPlayerMovePredictionPackethas a new field?float $vehicleAngularVelocity, this field is only sent whenpredictionTypeisVEHICLEDisconnectPackethas a new field?string $filteredMessage, exact purpose unclearEditorNetworkPackethas a new fieldbool $isRouteToManagerInventoryContentPackethas a new fieldint $dynamicContainerIdInventorySlotPackethas a new fieldint $dynamicContainerIdMobArmorEquipmentPackethas a new fieldItemStackWrapper $bodyPlayerArmorDamagePackethas a new field?int $bodySlotDamagePlayerArmorDamagePackethas a new flagBODYSetTitlePackethas a new fieldstring $filteredTitleText, exact purpose unclearStopSoundPackethas a new fieldbool $stopLegacyMusicStructureTemplateDataRequestPackettypeIMPORThas been removedStructureTemplateDataResponsePackettypeIMPORThas been removed
Types
EntityLinkhas new fieldsbool $causedByRider, float $vehicleAngularVelocityAbilitiesLayerhas a new typeLAYER_LOADING_SCREENActorEvent:PLAYER_CHECK_TREASURE_HUNTER_ACHIEVEMENTwas renamed toDEPRECATED_UPDATE_STRUCTURE_FEATURE(finally mojang cleaning their hacks)LevelSoundEvent:- The following types has been added:
IMITATE_BOGGEDVAULT_REJECT_REWARDED_PLAYER
- The following types has been removed:
IMITATE_ILLUSION_ILLAGER
- The following types has been added:
- Camera
CameraPresethas new fields?Vector2 $viewOffset, ?float $radiusCameraSetInstructionhas a new field?Vector2 $viewOffsetCameraTargetInstructionhas been added
- Added
LoadingScreenType, contains the following new types:UNKNOWNSTART_LOADING_SCREENSTOP_LOADING_SCREEN
ContainerUIIdshas a new typeDYNAMIC- Added
FullContainerNamecontains the following new fields:int $containerIdint $dynamicId, default value is0
- Removed
PlaceIntoBundleStackRequestAction - Added
PredictedResult, contains the following new types:FAILURESUCCESS
- Added
TriggerType, contains the following new types:UNKNOWNPLAYER_INPUTSIMULATION_TICK
UseItemTransactionDatanow has the following fieldsTriggerType $triggerTypePredictedResult $clientInteractPrediction
CraftRecipeAutoStackRequestActionhas a new fieldint $repetitions2, good one mojang... :/CraftRecipeStackRequestActionhas a new fieldint $repetitionsCreativeCreateStackRequestActionhas a new fieldint $repetitionsGrindstoneStackRequestActionhas a new fieldint $repetitionsItemStackRequestActionType- The following types has been removed:
PLACE_INTO_BUNDLETAKE_FROM_BUNDLE
- The following types has been removed:
ItemStackRequestSlotInfoint $containerIdfield has been replaced byFullContainerName $containerNameItemStackResponseContainerInfoint $containerIdfield has been replaced byFullContainerName $containerNameBehaviorPackInfoEntryhas a new fieldbool $isAddonPackResourcePackInfoEntryhas a new fieldbool $isAddonPack
Other changes
- Any static function is allowed to have a @generate-create-func tag (a61b555)
PlayerAuthInputPacketimplements ainternalCreate()method that uses the @generate-create-func tag to do extra validation without losing autogen capability (5db8d10)PacketHandlerInterface:handleCloseFormmethod was renamed tohandleClientboundCloseForm- Fixed
PREDICTION_TYPE_PLAYERandPREDICTION_TYPE_VEHICLEvalues being swapped onCorrectPlayerMovePredictionPacket(#259) - Added missing
?Vector2 $vehicleRotationfield onCorrectPlayerMovePredictionPacket, this field is only send whenpredictionTypeisVEHICLE(#259) PacketSerializernow has bindings for read/writeVector2fields
32.2.0 for Minecraft Bedrock 1.21.2
Changes since 32.1.0
Protocol changes
Enum changes
- Updated
EntityMetadataPropertiesenum 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
LevelSoundEventenum to 1.19.50 ContainerUIIdsadds a new memberRECIPE_BOOK(21) - everything above and includingENCHANTING_INPUTshifts 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
StructureTemplateDataRequestPackethas a new typeIMPORTStructureTemplateDataResponsePackethas a new typeIMPORT
Enum changes
EntityMetadataFlagsadded a newCAN_DASH(46) - everything above and includingLINGERshifts value up by 1
Other changes
- Fixed
ClientboundMapItemDataPacketchecking 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
AddActorPacketnow requires a newPropertySyncData $syncedPropertiesfieldAddPlayerPacketnow requires a newPropertySyncData $syncedPropertiesfieldSetActorDataPacketnow requires a newPropertySyncData $syncedPropertiesfield
Enum changes
UpdateAbilitiesPacketLayerhas a newEDITORmember
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
GameTestRequestPacketGameTestResultsPacketRequestNetworkSettingsPacket- this is now the first packet in a session, instead ofLoginPacketServerStatsPacket
Removed packets
AdventureSettingsPacket
Packet changes
NetworkSettingsPackethas new fieldsint $compressionAlgorithm, bool $enableClientThrottling, int $clientThrottleThreshold, float $clientThrottleScalarStructureBlockUpdatePackethas a new fieldbool $waterloggedTextPackethas a new typeTYPE_JSON_ANNOUNCEMENT
New enums
CompressionType- used byNetworkSettingsPacket
Other changes
RecipeIngredientnow accepts anItemDescriptorinstead 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)