Skip to content

33.0.0 for Minecraft Bedrock 1.21.20

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Aug 00:33
e226413

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 when predictionType is VEHICLE
  • DisconnectPacket has a new field ?string $filteredMessage, exact purpose unclear
  • EditorNetworkPacket has a new field bool $isRouteToManager
  • InventoryContentPacket has a new field int $dynamicContainerId
  • InventorySlotPacket has a new field int $dynamicContainerId
  • MobArmorEquipmentPacket has a new field ItemStackWrapper $body
  • PlayerArmorDamagePacket has a new field ?int $bodySlotDamage
  • PlayerArmorDamagePacket has a new flag BODY
  • SetTitlePacket has a new field string $filteredTitleText, exact purpose unclear
  • StopSoundPacket has a new field bool $stopLegacyMusic
  • StructureTemplateDataRequestPacket type IMPORT has been removed
  • StructureTemplateDataResponsePacket type IMPORT has been removed

Types

  • EntityLink has new fields bool $causedByRider, float $vehicleAngularVelocity
  • AbilitiesLayer has a new type LAYER_LOADING_SCREEN
  • ActorEvent: PLAYER_CHECK_TREASURE_HUNTER_ACHIEVEMENT was renamed to DEPRECATED_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
  • 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 type DYNAMIC
  • Added FullContainerName contains the following new fields:
    • int $containerId
    • int $dynamicId, default value is 0
  • 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 fields
    • TriggerType $triggerType
    • PredictedResult $clientInteractPrediction
  • CraftRecipeAutoStackRequestAction has a new field int $repetitions2, good one mojang... :/
  • CraftRecipeStackRequestAction has a new field int $repetitions
  • CreativeCreateStackRequestAction has a new field int $repetitions
  • GrindstoneStackRequestAction has a new field int $repetitions
  • ItemStackRequestActionType
    • The following types has been removed:
      • PLACE_INTO_BUNDLE
      • TAKE_FROM_BUNDLE
  • ItemStackRequestSlotInfo int $containerId field has been replaced by FullContainerName $containerName
  • ItemStackResponseContainerInfo int $containerId field has been replaced by FullContainerName $containerName
  • BehaviorPackInfoEntry has a new field bool $isAddonPack
  • ResourcePackInfoEntry has a new field bool $isAddonPack

Other changes

  • Any static function is allowed to have a @generate-create-func tag (a61b555)
  • PlayerAuthInputPacket implements a internalCreate() method that uses the @generate-create-func tag to do extra validation without losing autogen capability (5db8d10)
  • PacketHandlerInterface: handleCloseForm method was renamed to handleClientboundCloseForm
  • Fixed PREDICTION_TYPE_PLAYER and PREDICTION_TYPE_VEHICLE values being swapped on CorrectPlayerMovePredictionPacket (#259)
  • Added missing ?Vector2 $vehicleRotation field on CorrectPlayerMovePredictionPacket, this field is only send when predictionType is VEHICLE (#259)
  • PacketSerializer now has bindings for read/write Vector2 fields