Minecraft:Bedrock Edition Preview 1.21.70.20: Difference between revisions
More actions
Remove broken links to missing pages |
Fix template calls: add MC/ prefix |
||
| Line 33: | Line 33: | ||
=== World generation === | === World generation === | ||
'''Dark Forest''' | '''Dark Forest''' | ||
*Updated the tree composition in dark forests to match {{JE}}, increasing the number of dark oak trees and reducing the prevalence of other tree types. | *Updated the tree composition in dark forests to match {{MC/JE}}, increasing the number of dark oak trees and reducing the prevalence of other tree types. | ||
'''[[Minecraft:Short Grass]]''' | '''[[Minecraft:Short Grass]]''' | ||
| Line 43: | Line 43: | ||
:@minecraft/server 1.18.0 | :@minecraft/server 1.18.0 | ||
*Renamed {{ | *Renamed {{MC/Cd|system.scriptEvent}} to {{MC/Cd|system.sendScriptEvent}}. | ||
*Moved {{ | *Moved {{MC/Cd|NamespaceNameErrorReason}} from {{MC/Cd|beta}} to {{MC/Cd|@minecraft/server 1.18.0}}. | ||
*Moved {{ | *Moved {{MC/Cd|system.sendScriptEvent}} from {{MC/Cd|beta}} to {{MC/Cd|@minecraft/server 1.18.0}}. | ||
*Moved {{ | *Moved {{MC/Cd|NamespaceNameError}} from {{MC/Cd|beta}} to {{MC/Cd|@minecraft/server 1.18.0}}. | ||
*Released {{ | *Released {{MC/Cd|InputInfo.getButtonState}}, {{MC/Cd|InputButton}}, and {{MC/Cd|ButtonState}} to {{MC/Cd|@minecraft/server 1.18.0}}. | ||
*Released {{ | *Released {{MC/Cd|InputInfo.getMovementVector}} to {{MC/Cd|@minecraft/server 1.18.0}}. | ||
*Released {{ | *Released {{MC/Cd|PlayerButtonInputAfterEvent}}, {{MC/Cd|AfterEvents.playerButtonInput}} and {{MC/Cd|InputEventOptions}} to {{MC/Cd|@minecraft/server 1.18.0}}. | ||
*Several APIs have been given the {{ | *Several APIs have been given the {{MC/Cd|Readonly}} permission, which allows them to now be called inside Before Event callbacks. | ||
**All methods for {{ | **All methods for {{MC/Cd|BlockVolume}}. | ||
**All methods for {{ | **All methods for {{MC/Cd|Vector}}. | ||
*Changed {{ | *Changed {{MC/Cd|spawnEntity}} method on {{MC/Cd|Dimension}} to now take a variant of either a string or {{MC/Cd|EntityType}}. | ||
*Added {{ | *Added {{MC/Cd|placeFeature}} and {{MC/Cd|placeFeatureRule}} APIs to the {{MC/Cd|Dimension}} class. | ||
*Added {{ | *Added {{MC/Cd|isValid}} property to the {{MC/Cd|Camera}} class. | ||
'''Blocks''' | '''Blocks''' | ||
*The {{ | *The {{MC/Cd|minecraft:map_color}} component underwent a schema change: | ||
*It is now a JSON object with two fields {{ | *It is now a JSON object with two fields {{MC/Cd|color}} and {{MC/Cd|tint_method}}. | ||
*{{ | *{{MC/Cd|color}} is a required string field expecting an HEX representation of the RGB, prefixed with a # character. | ||
*{{ | *{{MC/Cd|tint_method}} is a string field that multiplies the color with a predefined tint. Supported values are {{MC/Cd|none}}, {{MC/Cd|default_foliage}}, {{MC/Cd|birch_foliage}}, {{MC/Cd|evergreen_foliage}}, {{MC/Cd|grass}} and {{MC/Cd|water}}. | ||
*The old schema format is still supported for convenience. | *The old schema format is still supported for convenience. | ||
*Examples: | *Examples: | ||
| Line 82: | Line 82: | ||
:Components | :Components | ||
*Added the {{ | *Added the {{MC/Cd|minecraft:replaceable}} component which determines if a new block can replace the existing block at a particular position. If the component is not added to a block it is not replaceable. | ||
'''Components''' | '''Components''' | ||
*Multiple components that used effect durations can now be set to {{ | *Multiple components that used effect durations can now be set to {{MC/Cd|infinite}} including: | ||
**{{ | **{{MC/Cd|minecraft:attack}}: {{MC/Cd|effect_duration}} | ||
**{{ | **{{MC/Cd|minecraft:healable}}: {{MC/Cd|duration}} in the {{MC/Cd|effects}} list | ||
**{{ | **{{MC/Cd|minecraft:mob_effect}}: {{MC/Cd|effect_time}} | ||
**{{ | **{{MC/Cd|minecraft:projectile}}: {{MC/Cd|durationeasy}}, {{MC/Cd|durationnormal}}, and {{MC/Cd|durationhard}} can now all use {{MC/Cd|infinite}} | ||
**{{ | **{{MC/Cd|minecraft:food}}: {{MC/Cd|duration}} in the {{MC/Cd|effects}} list | ||
**{{ | **{{MC/Cd|minecraft:spell_effects}}: {{MC/Cd|duration}} in the {{MC/Cd|add_effects}} list | ||
**{{ | **{{MC/Cd|minecraft:combat_regeneration}}: {{MC/Cd|regeneration_duration}} | ||
'''JSON Events''' | '''JSON Events''' | ||
*The parameter {{ | *The parameter {{MC/Cd|duration}} in the {{MC/Cd|add_mob_effect}} event can now be set to {{MC/Cd|infinite}}. | ||
'''Sounds''' | '''Sounds''' | ||
*Added support for entity sound variants: | *Added support for entity sound variants: | ||
**Entity sounds now have a {{ | **Entity sounds now have a {{MC/Cd|variants}} field which defines sound variants based on the runtime entity | ||
**{{ | **{{MC/Cd|variants}} has a {{MC/Cd|key}} field reading a Molang expression returning a string to select sound variant (eg: querying an enum entity property). | ||
**{{ | **{{MC/Cd|variants}} has a {{MC/Cd|map}} field which contains key-value pairs of a variant identifier and the sound events it overrides. | ||
**When playing a sound for an entity we first try to calculate their variant and see if that variant overrides the sound event, if not we play the sound form the base entity. If that fails we fall back to the existing logic of running from {{ | **When playing a sound for an entity we first try to calculate their variant and see if that variant overrides the sound event, if not we play the sound form the base entity. If that fails we fall back to the existing logic of running from {{MC/Cd|defaults}}. | ||
*Example: | *Example: | ||
**Given a mob with the following property: | **Given a mob with the following property: | ||
| Line 168: | Line 168: | ||
=== Additions === | === Additions === | ||
==== Blocks ==== | ==== Blocks ==== | ||
'''{{ | '''{{MC/Animate|Leaf Litter 1 (S) JE1.png;Leaf Litter 2 (S) JE1.png;Leaf Litter 3 (S) JE1.png;Leaf Litter 4 (S) JE1.png|40px}} Leaf litter''' | ||
* A new type of decorative block which can be found in forests, dark forests and wooded badlands. | * A new type of decorative block which can be found in forests, dark forests and wooded badlands. | ||
* Can have different amounts of leaves in one block space. | * Can have different amounts of leaves in one block space. | ||
| Line 183: | Line 183: | ||
}} | }} | ||
'''{{ | '''{{MC/Animate|Wildflowers 1 (S) JE1.png;Wildflowers 2 (S) JE1.png;Wildflowers 3 (S) JE1.png;Wildflowers 4 (S) JE1.png|40px}} [[Minecraft:Wildflowers]]''' | ||
* A new type of [[Minecraft:flower]] which grow in birch forests, old growth birch forests and meadows. | * A new type of [[Minecraft:flower]] which grow in birch forests, old growth birch forests and meadows. | ||
* Can have different amounts of flowers in one block space. | * Can have different amounts of flowers in one block space. | ||
| Line 192: | Line 192: | ||
* Can be crafted into yellow dye. | * Can be crafted into yellow dye. | ||
{{Crafting|Wildflowers | {{MC/Crafting|Wildflowers | ||
|Output = Yellow Dye | |Output = Yellow Dye | ||
|shapeless = 1 | |shapeless = 1 | ||
| Line 200: | Line 200: | ||
'''[[File:Bush JE1.png|32px]] [[Minecraft:Bush]]''' | '''[[File:Bush JE1.png|32px]] [[Minecraft:Bush]]''' | ||
* Generates in the following biomes: | * Generates in the following biomes: | ||
**{{ | **{{MC/Biomelink|Plains}} | ||
**{{ | **{{MC/Biomelink|Windswept Hills}} | ||
**{{ | **{{MC/Biomelink|Windswept Gravelly Hills}} | ||
**{{ | **{{MC/Biomelink|Windswept Forest}} | ||
**{{ | **{{MC/Biomelink|River}} | ||
**{{ | **{{MC/Biomelink|Frozen River}} | ||
**{{ | **{{MC/Biomelink|Forest}} | ||
**{{ | **{{MC/Biomelink|Birch Forest}} | ||
**{{ | **{{MC/Biomelink|Old Growth Birch Forest}} | ||
* They are tinted by the grass color of the biome they are placed in. | * They are tinted by the grass color of the biome they are placed in. | ||
* Can be used in the [[Minecraft:Composter]], with a 30% chance to add a layer. | * Can be used in the [[Minecraft:Composter]], with a 30% chance to add a layer. | ||
| Line 223: | Line 223: | ||
==== Mobs ==== | ==== Mobs ==== | ||
'''{{Animate|Cow JE6.png;Warm Cow.png;Cold Cow.png|40px}} Cow''' | '''{{MC/Animate|Cow JE6.png;Warm Cow.png;Cold Cow.png|40px}} Cow''' | ||
* Nose now extrudes from model. | * Nose now extrudes from model. | ||
* New cow variants have been added. | * New cow variants have been added. | ||
**{{ | **{{MC/Entitylink|Cow|Temperate Cow}}: The pre-existing cow variant. | ||
***Spawns by default where the cold and warm cow variants do not spawn. | ***Spawns by default where the cold and warm cow variants do not spawn. | ||
**{{ | **{{MC/Entitylink|Cold Cow}}: A variant that spawns in the following biomes: | ||
*** {{ | *** {{MC/Biomelink|Old Growth Pine Taiga}} | ||
*** {{ | *** {{MC/Biomelink|Old Growth Spruce Taiga}} | ||
*** {{ | *** {{MC/Biomelink|Taiga}} | ||
*** {{ | *** {{MC/Biomelink|Snowy Taiga}} | ||
*** {{ | *** {{MC/Biomelink|Windswept Hills}} | ||
*** {{ | *** {{MC/Biomelink|Windswept Gravelly Hills}} | ||
*** {{ | *** {{MC/Biomelink|Windswept Forest}} | ||
**{{ | **{{MC/Entitylink|Warm Cow}}: A variant that spawns in the following biomes: | ||
*** {{ | *** {{MC/Biomelink|Savanna}} | ||
*** {{ | *** {{MC/Biomelink|Savanna Plateau}} | ||
*** {{ | *** {{MC/Biomelink|Windswept Savanna}} | ||
*** {{ | *** {{MC/Biomelink|Jungle}} | ||
*** {{ | *** {{MC/Biomelink|Sparse Jungle}} | ||
*** {{ | *** {{MC/Biomelink|Bamboo Jungle}} | ||
*** {{ | *** {{MC/Biomelink|Eroded Badlands}} | ||
*** {{ | *** {{MC/Biomelink|Wooded Badlands}} | ||
*** {{ | *** {{MC/Biomelink|Badlands}} | ||
* When bred by a player, a baby cow variant will not be chosen by the current biome, but instead randomly selected from one of the parents' variants. | * When bred by a player, a baby cow variant will not be chosen by the current biome, but instead randomly selected from one of the parents' variants. | ||
| Line 251: | Line 251: | ||
'''Deserts and Badlands''' | '''Deserts and Badlands''' | ||
*Sand, red sand and terracotta of any color have a chance of playing ambient sounds when surrounded by any one of them on at least 3 sides 8 blocks away. | *Sand, red sand and terracotta of any color have a chance of playing ambient sounds when surrounded by any one of them on at least 3 sides 8 blocks away. | ||
**{{ | **{{MC/Cd|block.sand.ambient}} can be played in any biome. | ||
**{{ | **{{MC/Cd|block.sand.ambient.attached}} only plays when in desert or badlands biomes. | ||
*Dead bush blocks have a chance of playing ambient sounds when placed on top of two blocks that are any color of terracotta, sand or red sand blocks in any biome. | *Dead bush blocks have a chance of playing ambient sounds when placed on top of two blocks that are any color of terracotta, sand or red sand blocks in any biome. | ||
| Line 258: | Line 258: | ||
'''API - Scripting''' | '''API - Scripting''' | ||
:@minecraft/server 2.0.0-beta | :@minecraft/server 2.0.0-beta | ||
*Added new privilege {{ | *Added new privilege {{MC/Cd|EarlyExecution}} | ||
**{{ | **{{MC/Cd|2.0.0-beta}} and higher now executes with the early execution privilege, scripting below {{MC/Cd|2.0.0-beta}} will continue to execute without early execution | ||
**All after and before event signals {{ | **All after and before event signals {{MC/Cd|subscribe}} and {{MC/Cd|unsubscribe}} methods can now be called in early execution | ||
**The following {{ | **The following {{MC/Cd|System}} methods can now be called in early execution | ||
***{{ | ***{{MC/Cd|clearJob}} | ||
***{{ | ***{{MC/Cd|clearRun}} | ||
***{{ | ***{{MC/Cd|run}} | ||
***{{ | ***{{MC/Cd|runInterval}} | ||
***{{ | ***{{MC/Cd|runJob}} | ||
***{{ | ***{{MC/Cd|runTimeout}} | ||
***{{ | ***{{MC/Cd|waitTicks}} | ||
**{{ | **{{MC/Cd|BlockComponentRegistry}} method {{MC/Cd|registerCustomComponent}} can now be called in early execution | ||
**{{ | **{{MC/Cd|ItemComponentRegistry}} method {{MC/Cd|registerCustomComponent}} can now be called in early execution | ||
*Added {{ | *Added {{MC/Cd|startup}} property to {{MC/Cd|SystemBeforeEvents}} | ||
*Added {{ | *Added {{MC/Cd|StartupEvent}} | ||
*Added {{ | *Added {{MC/Cd|StartupEventSignal}} | ||
*{{ | *{{MC/Cd|WorldAfterEvents}} renamed property {{MC/Cd|worldInitialize}} to {{MC/Cd|worldLoad}} | ||
*{{ | *{{MC/Cd|WorldBeforeEvents}} removed property {{MC/Cd|worldInitialize}} | ||
*{{ | *{{MC/Cd|WorldInitializeAfterEvent}} renamed to {{MC/Cd|WorldLoadAfterEvent}} | ||
*{{ | *{{MC/Cd|WorldInitializeAfterEventSignal}} renamed to {{MC/Cd|WorldLoadAfterEventSignal}} | ||
*Removed {{ | *Removed {{MC/Cd|WorldInitializeBeforeEvent}} | ||
*Removed {{ | *Removed {{MC/Cd|WorldInitializeBeforeEventSignal}} | ||
*Removed {{ | *Removed {{MC/Cd|Dimension.runCommandAsync}} as most commands did not actually run asynchronously. If you are looking to run a function asynchronously, please investigate using Jobs via {{MC/Cd|System.runJob}}. | ||
*{{ | *{{MC/Cd|EntityComponent.getEntity}} method throws if the underlying entity is invalid (instead of return undefined previously). | ||
*{{ | *{{MC/Cd|EntityInventoryComponent.containerproperty}} throws if the underlying entity is invalid (instead of return undefined previously). | ||
*{{ | *{{MC/Cd|isValid}} methods on various classes have been changed to read only properties | ||
*{{ | *{{MC/Cd|getComponents}}, {{MC/Cd|getComponent}} and {{MC/Cd|hasComponent}} now throw if the Entity is invalid | ||
*{{ | *{{MC/Cd|applyKnockback}} method now takes a VectorXZ parameter for the knockback horizontal force (which includes the strength/magnitude), as well as a vertical strength parameter. To convert from V1, you should normalize your previous direction vector and multiply it by the old horizontal strength value. Vertical strength is the same as before. | ||
*{{ | *{{MC/Cd|EffectType}} | ||
**{{ | **{{MC/Cd|getName}} method now always returns the {{MC/Cd|minecraft:}} namespace prefix along with the name | ||
*{{ | *{{MC/Cd|Effect}} | ||
**{{ | **{{MC/Cd|typeId}} property now always returns the {{MC/Cd|minecraft:}} namespace prefix along with the name | ||
*{{ | *{{MC/Cd|minecraft:air}} item has been removed (it is still a valid block) | ||
*Promises are now flushed along with after events and system tasks | *Promises are now flushed along with after events and system tasks | ||
*{{ | *{{MC/Cd|system.waitTicks()}} now can accept an argument bounds of 0 minimum to run this tick | ||
*Added a {{ | *Added a {{MC/Cd|GraphicsMode}} enum and {{MC/Cd|Player.graphicsMode}} to query a player's current graphics mode on the server. | ||
*Added {{ | *Added {{MC/Cd|system.isEditorWorld}} property into {{MC/Cd|@minecraft/server}} in {{MC/Cd|beta}} | ||
*{{ | *{{MC/Cd|BlockLocationIterator}} | ||
**Added {{ | **Added {{MC/Cd|isValid(): boolean}} method to {{MC/Cd|beta}}. This method checks if the iterator as been invalidated by modifying the underlining block volume. | ||
*{{ | *{{MC/Cd|BlockMapColorComponent}} API has been added to {{MC/Cd|beta}} | ||
*{{ | *{{MC/Cd|TintMethod}} enum has been added to {{MC/Cd|beta}} | ||
*Early execution changes in version {{ | *Early execution changes in version {{MC/Cd|@minecraft/server 2.0.0-beta}} | ||
**The following {{ | **The following {{MC/Cd|RegistrationBuilder}} methods can now be called in early execution: | ||
***{{ | ***{{MC/Cd|batch}} | ||
***{{ | ***{{MC/Cd|maxAttempts}} | ||
***{{ | ***{{MC/Cd|maxTicks}} | ||
***{{ | ***{{MC/Cd|padding}} | ||
***{{ | ***{{MC/Cd|required}} | ||
***{{ | ***{{MC/Cd|requiredSuccessfulAttempts}} | ||
***{{ | ***{{MC/Cd|rotateTest}} | ||
***{{ | ***{{MC/Cd|setupTicks}} | ||
***{{ | ***{{MC/Cd|structureName}} | ||
***{{ | ***{{MC/Cd|tag}} | ||
**{{ | **{{MC/Cd|register}} function can now be called in early execution | ||
**{{ | **{{MC/Cd|registerAsync}} function can now be called in early execution | ||
'''API - [[Minecraft:Molang]]''' | '''API - [[Minecraft:Molang]]''' | ||
*Added {{ | *Added {{MC/Cd|query.graphics_mode_is_any}} to Molang which accepts any of the following parameters: {{MC/Cd|simple}}, {{MC/Cd|fancy}}, {{MC/Cd|deferred}}, {{MC/Cd|raytraced}}. These parameters are all graphics modes that are available in the settings menu. | ||
'''Graphical''' | '''Graphical''' | ||
*Added a new version ({{ | *Added a new version ({{MC/Cd|1.21.70}}) for the lighting JSON schema in the Deferred Technical Preview. This new version adds support for controlling the intensity of sky light, which affects both the contribution of legacy sky lighting as well as sky reflections. See updated documentation on the Learning Portal for more details. | ||
**This object snippet can be added to {{ | **This object snippet can be added to {{MC/Cd|lighting/global.json}} under the {{MC/Cd|minecraft:lighting_settings}} object to control the sky intensity | ||
<syntaxhighlight lang="c++"> | <syntaxhighlight lang="c++"> | ||
"sky": { | "sky": { | ||
| Line 339: | Line 339: | ||
|188457|The player's hand still bobs if you hold an item while the game is paused | |188457|The player's hand still bobs if you hold an item while the game is paused | ||
|189224|Rideable Entity inventory transparent background is too dark | |189224|Rideable Entity inventory transparent background is too dark | ||
|189816|{{ | |189816|{{MC/Cd|client_biome}} files without {{MC/Cd|foliage_appearance}} and {{MC/Cd|grass_appearance}} components cause biomes to fall back to incorrect colors | ||
|189889|Water does not flow on Magma or Soul Sand | |189889|Water does not flow on Magma or Soul Sand | ||
|otherissuescount=15}} | |otherissuescount=15}} | ||
| Line 351: | Line 351: | ||
*Bundle tooltip no longer flickers for players beyond the first when playing in split screen | *Bundle tooltip no longer flickers for players beyond the first when playing in split screen | ||
*Adjusted Minecoin purchase screen UI to not show stray pixels. Fixed overlapping issue on PS4. | *Adjusted Minecoin purchase screen UI to not show stray pixels. Fixed overlapping issue on PS4. | ||
*Replacing items with the {{ | *Replacing items with the {{MC/Cd|lock_in_inventory}} component with items from the creative inventory using touch input now fails gracefully and produces a warning message. | ||
*Fixed an issue where dark forests were missing trees along their northern borders with other biomes. | *Fixed an issue where dark forests were missing trees along their northern borders with other biomes. | ||
*{{ | *{{MC/Cd|water}} and {{MC/Cd|lava}} no longer will turn into {{MC/Cd|flowing_water}} or {{MC/Cd|flowing_lava}} when neighbor updates happen. {{MC/Cd|water}} and {{MC/Cd|lava}} now will respond to queued ticks without needing to change into another block. | ||
*Fixed an issue where {{ | *Fixed an issue where {{MC/Cd|No more entities}} assert failure occurred when flying through biomes during a storm. | ||
*Fixed {{ | *Fixed {{MC/Cd|world_surface}} type of {{MC/Cd|heightmap_projection}} in {{MC/Cd|minecraft:jigsaw}} to generate on top of water and leaf blocks. | ||
*Fixed a bug with water surface rendering that caused specular highlights to be much lower than they should have been in the Deferred Technical Preview. | *Fixed a bug with water surface rendering that caused specular highlights to be much lower than they should have been in the Deferred Technical Preview. | ||
*Resolve crash when changing point light shadow settings under Deferred Graphical Settings. | *Resolve crash when changing point light shadow settings under Deferred Graphical Settings. | ||
{{ | {{MC/Fixes|project=REALMS|fixedin=1.21.70.20 Preview | ||
|;old | |;old | ||
|11759|Unable to change Random Tick speed back to 1 after changing to a higher value. | |11759|Unable to change Random Tick speed back to 1 after changing to a higher value. | ||
| Line 364: | Line 364: | ||
== References == | == References == | ||
{{ | {{MC/Reflist}} | ||
== Navigation == | == Navigation == | ||
{{Navbox Bedrock Edition versions|1.2x}} | {{MC/Navbox Bedrock Edition versions|1.2x}} | ||
[[Category:Bedrock Edition 1.21.70 betas]] | [[Category:Bedrock Edition 1.21.70 betas]] | ||
Latest revision as of 19:23, 9 April 2026
Beta 1.21.70.20 (ChromeOS, Android) or Preview 1.21.70.20 (Windows, iOS, iPadOS, Xbox, PlayStation) is the first beta/Preview version for Minecraft:Bedrock Edition 1.21.70, released on January 30, 2025,<ref>Template:Cite</ref> which adds new cow variants, leaf litters, Minecraft:wildflowers, Minecraft:bushes, firefly bushes, and fixes bugs.
Changes
Mobs
Donkey
- Donkeys now spawn in savannas.
World generation
Dark Forest
- Updated the tree composition in dark forests to match Java Edition, increasing the number of dark oak trees and reducing the prevalence of other tree types.
- Now generate slightly sparser in meadows.
Technical
API - Scripting
- Unhandled rejected promises in scripting now include callstacks when logged.
- @minecraft/server 1.18.0
- Renamed
- REDIRECT Template:Code
- REDIRECT Template:Code
- Moved
- REDIRECT Template:Code
Template:Redr from
- REDIRECT Template:Code
- REDIRECT Template:Code
- Moved
- REDIRECT Template:Code
Template:Redr from
- REDIRECT Template:Code
- REDIRECT Template:Code
- Moved
- REDIRECT Template:Code
Template:Redr from
- REDIRECT Template:Code
- REDIRECT Template:Code
- Released
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr, and
- REDIRECT Template:Code
- REDIRECT Template:Code
- Released
- REDIRECT Template:Code
- REDIRECT Template:Code
- Released
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
- REDIRECT Template:Code
- Several APIs have been given the
- REDIRECT Template:Code
Template:Redr permission, which allows them to now be called inside Before Event callbacks.
- All methods for
- REDIRECT Template:Code
- All methods for
- REDIRECT Template:Code
- Changed
- REDIRECT Template:Code
Template:Redr method on
- REDIRECT Template:Code
Template:Redr to now take a variant of either a string or
- REDIRECT Template:Code
- Added
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
Template:Redr APIs to the
- REDIRECT Template:Code
Template:Redr class.
- Added
- REDIRECT Template:Code
Template:Redr property to the
- REDIRECT Template:Code
Template:Redr class.
Blocks
- The
- REDIRECT Template:Code
Template:Redr component underwent a schema change:
- It is now a JSON object with two fields
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr is a required string field expecting an HEX representation of the RGB, prefixed with a # character.
- REDIRECT Template:Code
Template:Redr is a string field that multiplies the color with a predefined tint. Supported values are
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
- The old schema format is still supported for convenience.
- Examples:
<syntaxhighlight lang="c++"> "minecraft:map_color": {
"color": "#ABCDEF", "tint_method": "grass"
} </syntaxhighlight> or <syntaxhighlight lang="c++"> "minecraft:map_color": {
"color": "#ABCDEF"
} </syntaxhighlight> or <syntaxhighlight lang="c++"> "minecraft:map_color": "#ABCDEF" </syntaxhighlight>
- Components
- Added the
- REDIRECT Template:Code
Template:Redr component which determines if a new block can replace the existing block at a particular position. If the component is not added to a block it is not replaceable.
Components
- Multiple components that used effect durations can now be set to
- REDIRECT Template:Code
Template:Redr including:
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr in the
- REDIRECT Template:Code
Template:Redr list
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr, and
- REDIRECT Template:Code
Template:Redr can now all use
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr in the
- REDIRECT Template:Code
Template:Redr list
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr in the
- REDIRECT Template:Code
Template:Redr list
- REDIRECT Template:Code
- REDIRECT Template:Code
JSON Events
- The parameter
- REDIRECT Template:Code
Template:Redr in the
- REDIRECT Template:Code
Template:Redr event can now be set to
- REDIRECT Template:Code
Sounds
- Added support for entity sound variants:
- Entity sounds now have a
- REDIRECT Template:Code
Template:Redr field which defines sound variants based on the runtime entity
- REDIRECT Template:Code
Template:Redr has a
- REDIRECT Template:Code
Template:Redr field reading a Molang expression returning a string to select sound variant (eg: querying an enum entity property).
- REDIRECT Template:Code
Template:Redr has a
- REDIRECT Template:Code
Template:Redr field which contains key-value pairs of a variant identifier and the sound events it overrides.
- When playing a sound for an entity we first try to calculate their variant and see if that variant overrides the sound event, if not we play the sound form the base entity. If that fails we fall back to the existing logic of running from
- REDIRECT Template:Code
- Example:
- Given a mob with the following property:
<syntaxhighlight lang="c++"> "minecraft:emotional_state": {
"type": "enum", "values": [ "neutral", "angry", "happy", "sad" ], "default": "neutral", "client_sync": true
} </syntaxhighlight>
- Sound variants can be played by querying the property:
<syntaxhighlight lang="c++"> {
"entity_sounds": {
"entities": {
"test_mob": {
"volume": 1.0,
"pitch": 1.0,
// The base sounds for various events
"events": {
"ambient": "mob.test_mob.ambient",
"death": "mob.test_mob.death",
"step": {
"sound": "mob.test_mob.step",
"volume": 0.8,
"pitch": 1.0
},
"attack": "mob.test_mob.attack"
},
"variants": {
// Key returning the enum string for variants, can use any Molang expression resulting in a string
"key": "query.property('minecraft:emotional_state')",
"map": {
// If a resulting variant key is not handled here then it will use the base sounds
"neutral": {
"volume": 1.0,
"pitch": 1.0,
"events": {
// If an event is not handled in a variant then it will use the base sound
"death": "mob.test_mob.death.netural"
}
},
"angry": {
"volume": 1.0,
"pitch": 1.0,
"events": {
// Variants can override different events than other variants
"death": "mob.test_mob.death.angry",
"ambient": "mob.test_mob.ambient.angry"
}
}
}
}
}
}
}
}
} </syntaxhighlight>
Experimental
These additions and changes are accessible by enabling the "Beta APIs" and "Drop 1 2025" experimental toggles.
Additions
Blocks
Script error: No such module "animate". Leaf litter
- A new type of decorative block which can be found in forests, dark forests and wooded badlands.
- Can have different amounts of leaves in one block space.
- Up to four leaf litter pieces can be placed in the same block space like pink petals.
- Placing a leaf litter into an already placed leaf litter block increases the amount of leaves.
- Can be placed in four orientations.
- Can be created by smelting any type of Leaves block.
- Can be used as fuel for smelting.
- Has unique block sounds.
Script error: No such module "animate". Minecraft:Wildflowers
- A new type of Minecraft:flower which grow in birch forests, old growth birch forests and meadows.
- Can have different amounts of flowers in one block space.
- Up to four wildflowers can be placed in the same block space like pink petals.
- Placing a wildflower into an already placed wildflowers block increases the amount of flowers.
- Using bone meal on wildflowers will produce more Wildflowers.
- Can be placed in four orientations.
- Can be crafted into yellow dye.
Script error: No such module "crafting".
File:Bush JE1.png Minecraft:Bush
- Generates in the following biomes:
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- They are tinted by the grass color of the biome they are placed in.
- Can be used in the Minecraft:Composter, with a 30% chance to add a layer.
- Using bone meal on a bush will generate a neighboring bush next to it if possible.
- Can be instantly broken without any particular tool.
File:Firefly Bush JE1.png Firefly bush
- Generates in Swamps and near Rivers.
- When it's dark, glowing firefly particles appear around the firefly bush, up to 5 blocks away.
- Can be used in the Minecraft:Composter, with a 30% chance to add a layer.
- Using bone meal on a firefly bush will spawn another firefly bush item.
- Emits a light level of 2.
- Can be instantly broken without any particular tool.
Mobs
Script error: No such module "animate". Cow
- Nose now extrudes from model.
- New cow variants have been added.
- REDIRECT Template:EntityLink: The pre-existing cow variant.
- Spawns by default where the cold and warm cow variants do not spawn.
- REDIRECT Template:EntityLink: A variant that spawns in the following biomes:
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:EntityLink: A variant that spawns in the following biomes:
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- REDIRECT Template:BiomeLink
- When bred by a player, a baby cow variant will not be chosen by the current biome, but instead randomly selected from one of the parents' variants.
Sounds
Deserts and Badlands
- Sand, red sand and terracotta of any color have a chance of playing ambient sounds when surrounded by any one of them on at least 3 sides 8 blocks away.
- REDIRECT Template:Code
Template:Redr can be played in any biome.
- REDIRECT Template:Code
Template:Redr only plays when in desert or badlands biomes.
- Dead bush blocks have a chance of playing ambient sounds when placed on top of two blocks that are any color of terracotta, sand or red sand blocks in any biome.
Technical
API - Scripting
- @minecraft/server 2.0.0-beta
- Added new privilege
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr and higher now executes with the early execution privilege, scripting below
- REDIRECT Template:Code
Template:Redr will continue to execute without early execution
- All after and before event signals
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
Template:Redr methods can now be called in early execution
- The following
- REDIRECT Template:Code
Template:Redr methods can now be called in early execution
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr method
- REDIRECT Template:Code
Template:Redr can now be called in early execution
- REDIRECT Template:Code
Template:Redr method
- REDIRECT Template:Code
Template:Redr can now be called in early execution
- Added
- REDIRECT Template:Code
Template:Redr property to
- REDIRECT Template:Code
- Added
- REDIRECT Template:Code
- Added
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr renamed property
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr removed property
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr renamed to
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr renamed to
- REDIRECT Template:Code
- Removed
- REDIRECT Template:Code
- Removed
- REDIRECT Template:Code
- Removed
- REDIRECT Template:Code
Template:Redr as most commands did not actually run asynchronously. If you are looking to run a function asynchronously, please investigate using Jobs via
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr method throws if the underlying entity is invalid (instead of return undefined previously).
- REDIRECT Template:Code
Template:Redr throws if the underlying entity is invalid (instead of return undefined previously).
- REDIRECT Template:Code
Template:Redr methods on various classes have been changed to read only properties
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
Template:Redr now throw if the Entity is invalid
- REDIRECT Template:Code
Template:Redr method now takes a VectorXZ parameter for the knockback horizontal force (which includes the strength/magnitude), as well as a vertical strength parameter. To convert from V1, you should normalize your previous direction vector and multiply it by the old horizontal strength value. Vertical strength is the same as before.
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr method now always returns the
- REDIRECT Template:Code
Template:Redr namespace prefix along with the name
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr property now always returns the
- REDIRECT Template:Code
Template:Redr namespace prefix along with the name
- REDIRECT Template:Code
Template:Redr item has been removed (it is still a valid block)
- Promises are now flushed along with after events and system tasks
- REDIRECT Template:Code
Template:Redr now can accept an argument bounds of 0 minimum to run this tick
- Added a
- REDIRECT Template:Code
Template:Redr enum and
- REDIRECT Template:Code
Template:Redr to query a player's current graphics mode on the server.
- Added
- REDIRECT Template:Code
Template:Redr property into
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- Added
- REDIRECT Template:Code
Template:Redr method to
- REDIRECT Template:Code
Template:Redr. This method checks if the iterator as been invalidated by modifying the underlining block volume.
- REDIRECT Template:Code
Template:Redr API has been added to
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr enum has been added to
- REDIRECT Template:Code
- Early execution changes in version
- REDIRECT Template:Code
- The following
- REDIRECT Template:Code
Template:Redr methods can now be called in early execution:
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr function can now be called in early execution
- REDIRECT Template:Code
Template:Redr function can now be called in early execution
API - Minecraft:Molang
- Added
- REDIRECT Template:Code
Template:Redr to Molang which accepts any of the following parameters:
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr. These parameters are all graphics modes that are available in the settings menu.
Graphical
- Added a new version (
- REDIRECT Template:Code
Template:Redr) for the lighting JSON schema in the Deferred Technical Preview. This new version adds support for controlling the intensity of sky light, which affects both the contribution of legacy sky lighting as well as sky reflections. See updated documentation on the Learning Portal for more details.
- This object snippet can be added to
- REDIRECT Template:Code
Template:Redr under the
- REDIRECT Template:Code
Template:Redr object to control the sky intensity <syntaxhighlight lang="c++"> "sky": {
"intensity": 1.0 // Float value between [0.1 - 1.0]
} </syntaxhighlight>
- Improved the quality of screen space reflections, specifically cases where holes would appear in reflections at certain angles in the Deferred Technical Preview.
Fixes
Template:Fixes Other
- Placing a block in liquid, and then placing another block next to your first block in liquid will no longer replace your second placed block for a moment causing you to fall into the liquid.
- Fixed a mismatch between server and client when continuously building that caused orientation sensitive blocks to sometimes change to the wrong block.
- Fixed a crash that would occur on Xbox if you pressed "Cancel" in the Xbox UI when converting a world or importing a world from Retail to Preview
- In Server Authoritative movement, when Players receive a movement correction it will use the current Player speed instead of a generic one, this should give a better experience.
- In Server Authoritative movement, when Players receive a downward movement correction it will now use gravity acceleration, this should give a better experience.
- Fix "Reset Random Tick Speed" button not working when editing an existing world on Realms.
- Bundle tooltip no longer flickers for players beyond the first when playing in split screen
- Adjusted Minecoin purchase screen UI to not show stray pixels. Fixed overlapping issue on PS4.
- Replacing items with the
- REDIRECT Template:Code
Template:Redr component with items from the creative inventory using touch input now fails gracefully and produces a warning message.
- Fixed an issue where dark forests were missing trees along their northern borders with other biomes.
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
Template:Redr no longer will turn into
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr when neighbor updates happen.
- REDIRECT Template:Code
Template:Redr and
- REDIRECT Template:Code
Template:Redr now will respond to queued ticks without needing to change into another block.
- Fixed an issue where
- REDIRECT Template:Code
Template:Redr assert failure occurred when flying through biomes during a storm.
- Fixed
- REDIRECT Template:Code
Template:Redr type of
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr to generate on top of water and leaf blocks.
- Fixed a bug with water surface rendering that caused specular highlights to be much lower than they should have been in the Deferred Technical Preview.
- Resolve crash when changing point light shadow settings under Deferred Graphical Settings.
Script error: No such module "fixes".
References
<references group="">
</references>
de:Bedrock Edition beta 1.21.70.20 pt:Edição Bedrock Preview 1.21.70.20 ru:Preview 1.21.70.20 (Bedrock Edition) uk:Preview 1.21.70.20 (Bedrock Edition) zh:基岩版1.21.70.20