Minecraft:Bedrock Edition Preview 1.20.10.23
More actions
Beta 1.20.10.23 (Android) or Preview 1.20.10.23 (Windows, iOS, iPadOS, Xbox) is the third beta/Preview version for Minecraft:Bedrock Edition 1.20.10, released on June 14, 2023,<ref>https://feedback.minecraft.net/hc/en-us/articles/16744110942349</ref> which fixes bugs.
Changes
World Generation
Fallen Minecraft:Trees
- Now generate with Minecraft:mushrooms again
Experimental
These additions and changes are accessible by enabling the "Beta APIs" "Short Sneaking and Crawling" and "Experimental Cameras" experimental toggles.
Additions
Command format
- Added the "example:example_player_effects" preset to demonstrate this
Changes
Gameplay
Minecraft:Sneaking and Minecraft:Crawling
- Players can now be forced into sneak/crawl state while flying
Command format
- Camera command can now take a 'facing' option instead of a 'rot' option with a target entity or position specified
Technical
API
- Dynamic Property identifiers are now limited to
1024characters. - Removed MinecraftEffectTypes defined in @minecraft/server. See @minecraft/vanilla-data NPM package for an equivalent.
- Moved several APIs to stable
1.30- Moving
tryTeleport(location: Vector3, duration: number, options: ScriptTeleportOptions)to3.0 - Moving
teleport(location: Vector3, options: ScriptTeleportOptions)to3.0 - Moved
function getComponentto3.0 - Moved
world event PlayerJoinAfterEventto3.0 - Moved
world event PlayerLeaveAfterEventto3.0 - Moved
world event PlayerSpawnAfterEventto3.0 - Moved
EntityComponent EntityHealableComponentto3.0 - Moved
EntityComponent EntityHealthComponentto3.0 - Moved
class FeedItemto3.0 - Moved
class FeedItemEffectto3.0 - Moved
addEffect(effectType: string | EffectType, duration: number, options: EntityEffectOptions)to3.0 - Moved
getEffect(effectType: string | EffectType)to3.0 - Moved
getEffectsto3.0 - Moved
removeEffect(effectType: string | EffectType)to3.0 - AfterEvents
- Moved
ButtonPushEventto3.0 - Moved
LeverActivateEventto3.0
- Moved
- Moved function
spawnEntityto3.0 - Moved function
spawnItemto3.0
- Moving
- Spawnpoint updates
- Removed function
clearSpawn - Removed property
spawnDimension - Added function getSpawnPoint: DimensionLocation | undefined- Returns the player's spawn point
- Added function setSpawnPoint(spawnPoint?: DimensionLocation): void- Sets the player's spawn point, or clears it if spawnPoint is undefined
- Renamed function
getDefaultSpawnPositiontogetDefaultSpawnLocation - Renamed function
setDefaultSpawntosetDefaultSpawnLocation - DimensionLocation
- Added new interface DimensionLocation- Represents a location in a dimension
- Added
hasParticipantfunctiontoScoreboardObjective. - The following functions in
ScoreboardObjectivecan now accept Entity or string types as participants:getScoresetScore
- removeParticipant
- Removed
getScore,setScorefrom ScoreboardIdentity and Scoreboard.
- Removed function
- Removed the
removeFromObjectivefunction from ScoreboardIdentity - Raycasting
- Changed function
getBlockFromRay- Changed return type from
BlocktoBlockRaycastHit| undefined
- Changed return type from
- Changed function
getEntitiesFromRay- Changed return type from
Entity[]toEntityRaycastHit[]
- Changed return type from
- Changed function
getBlockFromViewDirection- Changed return type from
BlocktoBlockRaycastHit| undefined
- Changed return type from
- Changed function
getEntitiesFromViewDirection- Changed return type from
Entity[]toEntityRaycastHit[]
- Changed return type from
- Added interface
BlockRaycastHit - Added interface
EntityRaycastHit
- Changed function
- Renamed
leverActivateafter event toleverAction- Removed class
EntityHitAfterEvent - Added class
EntityHitBlockAfterEvent - Added class
EntityHitEntityAfterEvent - Class
WorldAfterEvents- Removed property
entityHit - Added property
entityHitBlock - Added property
entityHitEntity
- Removed property
- Added helper function isValidto several classes in order to check if the object is valid. This can safely be used on any handle to a native object before accessing or using the object, to ensure the underlying object still exists and is valid to use.
Block(checks the block is a valid position in bounds and the containing chunk is loaded & ticking)Container(checks the relevant container inventory exists and is valid)Effect(checks the owning entity is valid and the effect exists on that entity)ScreenDisplay(checks the owning player is valid)ScoreboardObjective(checks the objective entry exists and is attached to a valid scoreboard)Entity(checks that the entity exists in the world. Will return true if the entity is dead)PlayerSimulatedPlayer(Note simulated players do not automatically get removed from the world, so isValidwill return true long after they are dead)
ContainerSlot(checks the item context is valid: Container exists in the world, such as the owning entity, and the slot is within the container bounds)- Already existed as a readonly property, changed to a method for consistency
ComponentEntityAttributeComponent(checks the owning entity is valid and the attribute exists on the entity)BlockLiquidContainerComponent(checks block exists and is a valid cauldron type)- Added read only method isValidLiquidwhich checks if the liquid in the cauldron matches the component in question (EG. BlockLavaContainerComponent checks for lava liquid)
EntityComponent(checks the owning entity exists)ItemComponent(checks the owning item exists)
- Removed class
- World
- Renamed
getTimetogetTimeOfDay - Renamed
setTimetosetTimeOfDay setTimeOfDaynow accepts aTimeOfDayenum as an argument.- The
timeOfDayargument forsetTimemust now be within0-23999(inclusive). - Added
getDay
- Renamed
- Updated the following enums' values to be
PascalCaseinstead ofcamelCaseClipboardMirrorAxisClipboardRotationHttpRequestMethodFormCancelationReasonDirectionDisplaySlotIdEntityLifetimeStateFluidTypeObjectiveSortOrderScoreboardIdentityTypeScriptEventSourceSignSideWatchdogTerminateReasonWeatherType
Fixes
Template:Fixes Other
- Fixed an issue where legacy Crawling was not working correctly with the Sneak and Crawl toggle turned off
- Fixed bug where scoreboard values would not be updated on the client when updated from script
- Fixed a crash.
References
Template:Navbox Bedrock Edition versions Minecraft:de:Bedrock Edition beta 1.20.10.23 Minecraft:es:Bedrock Edition beta 1.20.10.23 Minecraft:ko:Bedrock Edition 프리뷰 1.20.10.23 Minecraft:pt:Edição Bedrock Preview 1.20.10.23 Minecraft:uk:Preview 1.20.10.23 (Bedrock Edition) Minecraft:zh:基岩版1.20.10.23