Minecraft:Bedrock Edition Preview 26.20.26/Upstream: Difference between revisions
More actions
Sync: upstream version from Minecraft |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 25: | Line 25: | ||
=== General === | === General === | ||
'''[[Minecraft:Realms]]''' | '''[[Minecraft:Realms]]''' | ||
* Added the Admin log feature to the | * Added the Admin log feature to the Realms Hub. | ||
** Logs changes performed by Realm administrators, such as settings changes, add-ons, and world management. | ** Logs changes performed by Realm administrators, such as settings changes, add-ons, and world management. | ||
| Line 34: | Line 34: | ||
'''AI Goals''' | '''AI Goals''' | ||
* Made the schemas for the following goals stricter when parsing and will fail to load an entity json that has invalid data in versions 1.26.20 and newer: | * Made the schemas for the following goals stricter when parsing and will fail to load an entity json that has invalid data in versions 1.26.20 and newer: | ||
** {{ | ** {{MC/Cd|minecraft:behavior.go_and_give_items_to_noteblock}} | ||
** {{ | ** {{MC/Cd|minecraft:behavior.go_and_give_items_to_owner}} | ||
** {{ | ** {{MC/Cd|minecraft:behavior.go_home}} | ||
** {{ | ** {{MC/Cd|minecraft:behavior.random_hover}} | ||
** {{ | ** {{MC/Cd|minecraft:behavior.random_sitting}} | ||
** {{ | ** {{MC/Cd|minecraft:behavior.random_stroll}} | ||
* The {{ | * The {{MC/Cd|hover_height}} field in {{MC/Cd|minecraft:behavior.random_hover}} now only accepts an object with min and max values. | ||
'''[[Minecraft:Block components]]''' | '''[[Minecraft:Block components]]''' | ||
* Released the component {{ | * Released the component {{MC/Cd|minecraft:chest_obstruction}} from experimental for block format versions 1.26.20 or higher. | ||
'''Blocks''' | '''Blocks''' | ||
* Added content warning for component {{ | * Added content warning for component {{MC/Cd|minecraft:item_visual}} trying to use texture variations. | ||
** Variation textures are not supported for this component. | ** Variation textures are not supported for this component. | ||
* The {{ | * The {{MC/Cd|minecraft:selection_box}} component will correctly give an error again when the y is over the 16 limit. | ||
'''Entity components''' | '''Entity components''' | ||
* The component {{ | * The component {{MC/Cd|minecraft:apply_knockback_rules}} now takes an array of presets. | ||
** {{ | ** {{MC/Cd|presets}} is an array of elements with the same parameters as {{MC/Cd|minecraft:apply_knockback_rules}} had previously. | ||
* The preset elements have the following new field: | * The preset elements have the following new field: | ||
** {{ | ** {{MC/Cd|filter}} is an actor filter with the default syntax. | ||
* Added the {{ | * Added the {{MC/Cd|filters}} parameter to {{MC/Cd|minecraft:spawn_on_death}}. | ||
== Experimental == | == Experimental == | ||
These additions and changes are accessible by enabling the "Beta APIs", "Upcoming Creator Features", "Render Dragon Features for Creators", "Experimental Voxel Shape Features", and "[[Minecraft:Chaos Cubed|Drop 2 of 2026]]" | These additions and changes are accessible by enabling the "Beta APIs", "Upcoming Creator Features", "Render Dragon Features for Creators", "Experimental Voxel Shape Features", and "[[Minecraft:Chaos Cubed|Drop 2 of 2026]]" experimental toggles. | ||
=== Changes === | === Changes === | ||
==== Mobs ==== | ==== Mobs ==== | ||
''' | '''Sulfur cube''' | ||
* When hit by a player, its knockback is now affected by the attacker's hit angle, position and damage. | * When hit by a player, its knockback is now affected by the attacker's hit angle, position and damage. | ||
==== Technical ==== | ==== Technical ==== | ||
''' | '''API''' | ||
* Changed the maximum length of the text param of {{ | * Changed the maximum length of the text param of {{MC/Cd|setText}} on {{MC/Cd|TextPrimitive}}, to be 128 lines and 128 characters per line. | ||
* Class {{ | * Class {{MC/Cd|DimensionRegistry}}: | ||
** Added the method {{ | ** Added the method {{MC/Cd|registerCustomDimension}} to allow registrations of new custom [[Minecraft:dimension]]s in {{MC/Cd|beta}}. | ||
* Startup event: | * Startup event: | ||
** Added the ability to register custom dimensions during the before startup event. | ** Added the ability to register custom dimensions during the before startup event. | ||
'''DDUI''' | '''DDUI''' | ||
* Added support for multiline texts for {{ | * Added support for multiline texts for {{MC/Cd|MessageBox.body}}, {{MC/Cd|CustomForm.label}}, and {{MC/Cd|CustomForm.header}} using {{MC/Cd|\n}}. | ||
'''Entities''' | '''Entities''' | ||
* Added a new {{ | * Added a new {{MC/Cd|entity_version}} description field to entity behavior definitions that enables per-entity versioning and upgrade handling. | ||
** The {{ | ** The {{MC/Cd|entity_version}} field is a JSON object containing an upgrades array, where each entry specifies an integer {{MC/Cd|upgrade_to}} version and a name string referencing an upgrade handler defined in a new top-level upgrades section of the entity definition. | ||
** Upgrade versions must start at {{ | ** Upgrade versions must start at {{MC/Cd|1}} and be contiguous. Gaps or duplicates are rejected with a content error. | ||
** Version {{ | ** Version {{MC/Cd|0}} is reserved for entities that have no version set ("versionless"), which is the default for all existing entities. | ||
** When an entity is loaded with a version older than the current definition version, all upgrade handlers between the entity's saved version and the current version are executed sequentially | ** When an entity is loaded with a version older than the current definition version, all upgrade handlers between the entity's saved version and the current version are executed sequentially | ||
** Newly spawned entities are set directly to the latest version without running any upgrade handlers. | ** Newly spawned entities are set directly to the latest version without running any upgrade handlers. | ||
| Line 87: | Line 87: | ||
'''Entity components''' | '''Entity components''' | ||
* The following fields have been added to the preset element exclusively in the beta version of {{ | * The following fields have been added to the preset element exclusively in the beta version of {{MC/Cd|minecraft:apply_knockback_rules}}: | ||
** {{ | ** {{MC/Cd|scale_previous_velocity}} scales the previous velocity of the target when hit. | ||
** {{ | ** {{MC/Cd|horizontal_hit_angle_scale}} scales the horizontal angle response of the target when hit based on the attacker's aim direction. | ||
** {{ | ** {{MC/Cd|vertical_hit_angle_scale}} scales the vertical angle response of the target when hit based on the attacker's aim direction. | ||
** {{ | ** {{MC/Cd|vertical_position_angle_scale}} scales the vertical angle response of the target when hit based on the attacker's relative feet position. | ||
** {{ | ** {{MC/Cd|scale_with_damage}} enables scaling the magnitude of knocback based on the inverse square of the damage. | ||
'''Graphical''' | '''Graphical''' | ||
* Added static light shading to | * Added static light shading to weather. | ||
'''Voxel Shapes''' | '''Voxel Shapes''' | ||
| Line 104: | Line 104: | ||
== Fixes == | == Fixes == | ||
{{ | {{MC/Fixes|project=MCPE|fixedin=26.20.26 Preview | ||
|;old | |;old | ||
|227535|Armor swapping & interacting with jukebox or composter creates ghost item. | |227535|Armor swapping & interacting with jukebox or composter creates ghost item. | ||
| Line 123: | Line 123: | ||
* Fixed an issue in Realms Stories where the Members tab did not load in correctly. | * Fixed an issue in Realms Stories where the Members tab did not load in correctly. | ||
* Fixed a bug where emojis were not rendering at the small text tooltip when selecting an item in the HUD's hotbar. | * Fixed a bug where emojis were not rendering at the small text tooltip when selecting an item in the HUD's hotbar. | ||
* Fixed content warning regarding texture variations for block components {{ | * Fixed content warning regarding texture variations for block components {{MC/Cd|minecraft:item_visual}} and {{MC/Cd|minecraft:embedded_visual}}. | ||
* Fixed legacy {{ | * Fixed legacy {{MC/Cd|tag:}} entries in block permutations being silently dropped when upgrading to format version 1.26.20, which could cause scripts relying on permutation-specific tags to fail. | ||
* Fixed player friction not resetting for older content. | * Fixed player friction not resetting for older content. | ||
* Fixed a bug where in-flight http requests could freeze the game when the http client is destroyed in scripting. | * Fixed a bug where in-flight http requests could freeze the game when the http client is destroyed in scripting. | ||
* Fixed an issue that caused websockets to not complete their connection with the server. | * Fixed an issue that caused websockets to not complete their connection with the server. | ||
* Fixing a bug with Debug Drawing and Primitive Shapes where they could get into a bad state when used with Simulated Players. | * Fixing a bug with Debug Drawing and Primitive Shapes where they could get into a bad state when used with Simulated Players. | ||
* Fixed {{ | * Fixed {{MC/Cd|minecraft:replaceable}} to work with all parts of a multi-block. The component can no longer be defined in the permutations array, only allowed in the base components object.</onlyinclude> | ||
== Videos == | == Videos == | ||
:'''Updates for Creators''' | :'''Updates for Creators''' | ||
{{ | {{MC/Yt|1=ND_Prq3Sz7w}} | ||
== References == | == References == | ||
{{Reflist}} | {{MC/Reflist}} | ||
== Navigation == | == Navigation == | ||
{{Navbox Bedrock Edition versions|2026}} | {{MC/Navbox Bedrock Edition versions|2026}} | ||
[[Category:Bedrock Edition 26.20 betas]] | [[Category:Bedrock Edition 26.20 betas]] | ||
pt:Edição Bedrock Preview 26.20.26 | |||
zh:基岩版26.20.26 | |||
Latest revision as of 19:25, 9 April 2026
Template:Infobox version Beta 26.20.26 (ChromeOS, Android), or Preview 26.20.26 (Windows, iOS, iPadOS, Xbox, PlayStation), is the fifth beta/Preview for Minecraft:Bedrock Edition 26.20, released on April 8, 2026,<ref>Template:Cite</ref> which fixes bugs, and adds custom dimensions to the Minecraft:Beta APIs experiment.
Changes
General
- Added the Admin log feature to the Realms Hub.
- Logs changes performed by Realm administrators, such as settings changes, add-ons, and world management.
Technical
Accounts
- Added platform subscription checks as part of multiplayer allowance check and return new platform-subscription-specific permission deny reasons if the check failed.
AI Goals
- Made the schemas for the following goals stricter when parsing and will fail to load an entity json that has invalid data in versions 1.26.20 and newer:
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- The
- REDIRECT Template:Code
Template:Redr field in
- REDIRECT Template:Code
Template:Redr now only accepts an object with min and max values.
- Released the component
- REDIRECT Template:Code
Template:Redr from experimental for block format versions 1.26.20 or higher.
Blocks
- Added content warning for component
- REDIRECT Template:Code
Template:Redr trying to use texture variations.
- Variation textures are not supported for this component.
- The
- REDIRECT Template:Code
Template:Redr component will correctly give an error again when the y is over the 16 limit.
Entity components
- The component
- REDIRECT Template:Code
Template:Redr now takes an array of presets.
- REDIRECT Template:Code
Template:Redr is an array of elements with the same parameters as
- REDIRECT Template:Code
Template:Redr had previously.
- The preset elements have the following new field:
- REDIRECT Template:Code
Template:Redr is an actor filter with the default syntax.
- Added the
- REDIRECT Template:Code
Template:Redr parameter to
- REDIRECT Template:Code
Experimental
These additions and changes are accessible by enabling the "Beta APIs", "Upcoming Creator Features", "Render Dragon Features for Creators", "Experimental Voxel Shape Features", and "Drop 2 of 2026" experimental toggles.
Changes
Mobs
Sulfur cube
- When hit by a player, its knockback is now affected by the attacker's hit angle, position and damage.
Technical
API
- Changed the maximum length of the text param of
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr, to be 128 lines and 128 characters per line.
- Class
- REDIRECT Template:Code
- Added the method
- REDIRECT Template:Code
Template:Redr to allow registrations of new custom Minecraft:dimensions in
- REDIRECT Template:Code
- Startup event:
- Added the ability to register custom dimensions during the before startup event.
DDUI
- Added support for multiline texts for
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr, and
- REDIRECT Template:Code
Template:Redr using
- REDIRECT Template:Code
Entities
- Added a new
- REDIRECT Template:Code
Template:Redr description field to entity behavior definitions that enables per-entity versioning and upgrade handling.
- The
- REDIRECT Template:Code
Template:Redr field is a JSON object containing an upgrades array, where each entry specifies an integer
- REDIRECT Template:Code
Template:Redr version and a name string referencing an upgrade handler defined in a new top-level upgrades section of the entity definition.
- Upgrade versions must start at
- REDIRECT Template:Code
Template:Redr and be contiguous. Gaps or duplicates are rejected with a content error.
- Version
- REDIRECT Template:Code
Template:Redr is reserved for entities that have no version set ("versionless"), which is the default for all existing entities.
- When an entity is loaded with a version older than the current definition version, all upgrade handlers between the entity's saved version and the current version are executed sequentially
- Newly spawned entities are set directly to the latest version without running any upgrade handlers.
- Upgrade handlers reuse the existing event system but are defined in a separate upgrades section, keeping them distinct from regular events.
- The entity's version is persisted and loaded/saved automatically.
Entity components
- The following fields have been added to the preset element exclusively in the beta version of
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr scales the previous velocity of the target when hit.
- REDIRECT Template:Code
Template:Redr scales the horizontal angle response of the target when hit based on the attacker's aim direction.
- REDIRECT Template:Code
Template:Redr scales the vertical angle response of the target when hit based on the attacker's aim direction.
- REDIRECT Template:Code
Template:Redr scales the vertical angle response of the target when hit based on the attacker's relative feet position.
- REDIRECT Template:Code
Template:Redr enables scaling the magnitude of knocback based on the inverse square of the damage.
Graphical
- Added static light shading to weather.
Voxel Shapes
- Added non-unit-cube voxel shapes for 19 blocks when the Voxel Shapes experiment is enabled:
- Minecraft:Cake shapes (1 block): 7 bite-counter shapes for each slice of cake.
- Candle cake shape (17 blocks).
- Minecraft:Composter shapes (1 block): 8 fill-level shapes for each stage of composting.
- Minecraft:Cake shapes (1 block): 7 bite-counter shapes for each slice of cake.
Fixes
Script error: No such module "fixes". Other
- Fixed a crash in Realms Stories for high member count Realms.
- Fixed an issue in Realms Stories where the Members tab did not load in correctly.
- Fixed a bug where emojis were not rendering at the small text tooltip when selecting an item in the HUD's hotbar.
- Fixed content warning regarding texture variations for block components
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
- Fixed legacy
- REDIRECT Template:Code
Template:Redr entries in block permutations being silently dropped when upgrading to format version 1.26.20, which could cause scripts relying on permutation-specific tags to fail.
- Fixed player friction not resetting for older content.
- Fixed a bug where in-flight http requests could freeze the game when the http client is destroyed in scripting.
- Fixed an issue that caused websockets to not complete their connection with the server.
- Fixing a bug with Debug Drawing and Primitive Shapes where they could get into a bad state when used with Simulated Players.
- Fixed
- REDIRECT Template:Code
Template:Redr to work with all parts of a multi-block. The component can no longer be defined in the permutations array, only allowed in the base components object.
Videos
- Updates for Creators
- REDIRECT Template:YouTube
References
<references group="">
</references>
pt:Edição Bedrock Preview 26.20.26 zh:基岩版26.20.26