Documentation/beta/Blocks

This is the blocks documentation for Bedrock Edition. New features, components, and capabilities in this release are not final and might change without notice before the final release. Be sure to check the documentation once the release is out of beta if the add-on isn't working properly. Resource and behavior packs created for the beta are not guaranteed to work on the final release.

minecraft:loot
Loot table component used to set what loot table is used when a block is destroyed.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * String
 * table
 * The path of the loot table that this component will use.
 * }
 * The path of the loot table that this component will use.
 * }

minecraft:destroy_time
The destroy time property for a block.



minecraft:explosion_resistance
The explosion resistance property for a block.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * Decimal
 * value
 * 0.0
 * Sets the explosion resistance for this block.
 * }
 * }

minecraft:friction
Property describing the friction for this block. Friction effects an entities movements when it walks on the block.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * Decimal
 * value
 * 0.6
 * Sets the friction property for this block.
 * }
 * }

minecraft:flammable
Describes the flammable properties for this block.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * Integer
 * flame_odds
 * 0
 * How likely the block will catch flame when next to a fire.
 * Integer
 * burn_odds
 * 0
 * How likely the block will be destroyed by flames when on fire.
 * }
 * How likely the block will be destroyed by flames when on fire.
 * }

minecraft:map_color
Modifies the map color for a block.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * String
 * color
 * A color represented as a hex value. This will be the color rendered to a map.
 * }
 * A color represented as a hex value. This will be the color rendered to a map.
 * }

minecraft:block_light_absorption
How a block absorbs light.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * Integer
 * value
 * 0
 * The amount of light this block will absorb. For ice blocks, this describes at what light level the ice will melt.
 * }
 * }

minecraft:block_light_emission
Makes the block emit light.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * Decimal
 * emission
 * 0.0
 * The amount of light this block will emit in a range [0.0, 1.0].
 * }
 * }

Block Definition Properties
These properties are part of the Block Definition. This helps the system determine how to parse and initialize this block.


 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * format_version
 * Specifies the version of the game this entity was made in. If the version is lower than the current version, any changes made to the entity in the vanilla version will be applied to it.
 * }
 * Code Example
 * Specifies the version of the game this entity was made in. If the version is lower than the current version, any changes made to the entity in the vanilla version will be applied to it.
 * }
 * Code Example


 * Example

{ "format_version": "1.10.0", "minecraft:block": { "components": { ...   }    ...  } }

Block Description Properties

 * {| class="wikitable"

! Type !! Name !! Default Value !! Description
 * String
 * identifier
 * The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.
 * Boolean
 * register_to_creative_menu
 * false
 * Whether or not to register this block to the creative inventory menu. (Currently bugged as of )
 * Boolean
 * is_experimental
 * false
 * If this block is experimental, it will only be registered if the world is marked as experimental.
 * }
 * is_experimental
 * false
 * If this block is experimental, it will only be registered if the world is marked as experimental.
 * }