This is documentation for a beta release of Minecraft. 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 your add-on isn't working properly. Resource and Behavior Packs created for the beta are not guaranteed to work on the final release.
These properties are part of the Block Definition. This helps the system determine how to parse and initialize this block.
Name | Type | Default Value | Description |
---|---|---|---|
format_version |
Example
{ "format_version": "1.16.0", "minecraft:block": { "description": { "identifier": "design:lavenderstone" }, "components": { "minecraft:loot": "loot_tables/chests/simple_dungeon.json", "minecraft:destroy_time": 4.0, "minecraft:friction": 0.6, "minecraft:map_color": "#00ff00", "minecraft:flammable": { "flame_odds": 50, "burn_odds": 0 }, "minecraft:block_light_emission": 1.0 } } }
Name | Type | Default Value | Description |
---|---|---|---|
identifier | String | The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block. |
Name | Type | Default Value | Description |
---|---|---|---|
condition | String | The condition of event to be executed on the block. | |
event | String | The event executed on the block. | |
min_fall_distance | Decimal | The minimum distance in blocks that an actor needs to fall to trigger this event. | |
target | String | self | The target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
condition | String | The condition of event to be executed on the block. | |
event | String | The event executed on the block. | |
target | String | self | The target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
condition | String | The condition of event to be executed on the block. | |
event | String | The event executed on the block. | |
target | String | self | The target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
condition | String | The condition of event to be executed on the block. | |
event | String | The event executed on the block. | |
target | String | self | The target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
condition | String | The condition of event to be executed on the block. | |
event | String | The event executed on the block. | |
target | String | self | The target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
condition | String | The condition of event to be executed on the block. | |
event | String | The event executed on the block. | |
target | String | self | The target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
burn_odds | Integer | 0 | How likely the block will be destroyed by flames when on fire. |
flame_odds | Integer | 0 | How likely the block will catch flame when next to a fire. |
Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance
"minecraft:material_instances" : { "*": { "texture": "log", "render_method" : "opaque" }, "ends" : { "texture": "log_top", "render_method" : "opaque" }, "up" : "ends", "some_face_material_name" : "ends" }
Name | Type | Default Value | Description |
---|---|---|---|
Trigger | on_tickconditionThe condition of event to be executed on the block. eventThe type of event executed on the block. rangeThe Range between which the component will trigger his event. targetThe target of event executed on the block. |
||
looping | Boolean | true | Does the event loop |
range | Array | [10, 10] | The Range between which the component will trigger his event. |
Name | Type | Default Value | Description |
---|---|---|---|
Trigger | on_tickconditionThe condition of event to be executed on the block. eventThe type of event executed on the block. rangeThe Range between which the component will trigger his event. targetThe target of event executed on the block. |
Name | Type | Default Value | Description |
---|---|---|---|
origin | Array | [-8.0, 0.0, -8.0] | Minimal position Bounds of the collision box |
size | Array | [16.0, 16.0, 16.0] | Size of each side of the box of the component |
Name | Type | Default Value | Description |
---|---|---|---|
origin | Array | [-8.0, 0.0, -8.0] | Minimal position Bounds of the collision box |
size | Array | [16.0, 16.0, 16.0] | Size of each side of the box of the component |
The amount of light this block will absorb.
The amount of light this block will emit in a range [0.0, 1.0].
When pushed by a piston the block breaks
Sets the destroy time property for the block. Greater numbers result in greater mining times.
Can only be set to false, it disables the collision of the block with entities
Sets the explosion resistance for this block.
Property describing the friction for this block. Friction effects an entities movements when it walks on the block.
The geometry definition name to use.
An Immovable block cannot be pushed by pistons
The path of the loot table that this component will use when the block is destroyed.
A color represented as a hex value. This will be the color rendered to a map.
Blocks with those components won't stick to stickyPistons
Can only be set to false, it disables the collision of the block with entities
Sets rules for under what conditions the block can be placed/survive
List of conditions where the block can be placed/survive
List of any of the following strings: up, down, north, south, east, west, side, all
List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction
this component makes it so actors can't jump when walking on this block
This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.
Specifies that a unit cube is to be used with tessellation.
this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true