Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Minecraft Bedrock has been updated to 1.20 and there are a number of changes of note for creators.
Holiday Creator Features
Five Item Components have released and are now available without using the Holiday Creator Features experiment toggle.
Creator API
A third set of Creator APIs have been released out of beta and into stable (see: script versioning for information on how we version Creator APIs ). These APIs should be a lot more stable and also allow Marketplace content creators to leverage them with backwards compatibility support.
APIs included in the @minecraft/server version 1.2.0 release:
Entity damage application
Entity tagging
Entity Components
Entity Inventory
Block Inventory
Music
- (World) playMusic
- (World) queueMusic
- (World) stopMusic
- MusicOptions
Sound
- (Player) playSound
- (World) playSound
- PlayerSoundOptions
- WorldSoundOptions
ItemStack (read-only APIs)
ItemStack basic component model
Entity velocity APIs
Execution Fundamentals
APIs included in the @minecraft/server-ui version 1.0.0 release:
- Basic form server UI
Beta APIs will continue to be developed behind the Beta API experimental flag so if you want to use those, make sure you have that flag enabled and your manifest.json references will need to update to 1.3.0-beta. Read more about script versioning.
Scripting is a powerful way to add complex behavior to your experience. It allows for a professional development environment that includes profiling and hot reloading.
New Experimental Features
Camera
The camera feature allows for defining custom cameras via JSON, and manipulating them via the /camera command. This initial experiment focuses on the free camera preset.
Block Traits
Block Traits are intended as a shortcut for creators to add Vanilla BlockStates and setter functions to data-driven blocks.
For example:
By using the
minecraft:placement_directiontrait to set theminecraft:cardinal_directionstate, you can create a custom furnace block that will orient so the front is facing the player.By using the
minecraft:placement_positiontrait to set theminecraft:block_face(the face the block was placed on) andminecraft:vertical_half(if a block was placed on the top or bottom) states, you can easily create blocks that behave like slabs or trapdoors.