Index
Blocks
Block Definition Properties
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 |
Block Description Properties
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. |
minecraft:on_fall_on
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. |
minecraft:on_interact
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. |
minecraft:on_placed
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. |
minecraft:on_player_placing
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. |
minecraft:on_step_off
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. |
minecraft:on_step_on
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. |
minecraft:flammable
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. |
minecraft:material_instances
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 instanceminecraft:ticking
Name | Type | Default Value | Description |
---|---|---|---|
Trigger | on_tick condition The condition of event to be executed on the block.Back to topevent The type of event executed on the block.Back to toprange The Range between which the component will trigger his event.Back to toptarget The target of event executed on the block.Back to top |
||
looping | Boolean | true | Does the event loop |
range | Array | [10, 10] | The Range between which the component will trigger his event. |
minecraft:random_ticking
Name | Type | Default Value | Description |
---|---|---|---|
Trigger | on_tick condition The condition of event to be executed on the block.Back to topevent The type of event executed on the block.Back to toprange The Range between which the component will trigger his event.Back to toptarget The target of event executed on the block.Back to top |
minecraft:entity_collision
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 |
minecraft:pick_collision
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 |
minecraft:block_light_absorption
The amount of light this block will absorb.Back to topminecraft:block_light_emission
The amount of light this block will emit in a range [0.0, 1.0].Back to topminecraft:breakonpush
When pushed by a piston the block breaksBack to topminecraft:destroy_time
Sets the destroy time property for the block. Greater numbers result in greater mining times.Back to topminecraft:entity_collision
Can only be set to false, it disables the collision of the block with entitiesBack to topminecraft:explosion_resistance
Sets the explosion resistance for this block.Back to topminecraft:friction
Property describing the friction for this block. Friction effects an entities movements when it walks on the block.Back to topminecraft:geometry
The geometry definition name to use.Back to topminecraft:immovable
An Immovable block cannot be pushed by pistonsBack to topminecraft:loot
The path of the loot table that this component will use when the block is destroyed.Back to topminecraft:map_color
A color represented as a hex value. This will be the color rendered to a map.Back to topminecraft:onlypistonpush
Blocks with those components won't stick to stickyPistonsBack to topminecraft:pick_collision
Can only be set to false, it disables the collision of the block with entitiesBack to topminecraft:placement_filter
Sets rules for under what conditions the block can be placed/surviveconditions
List of conditions where the block can be placed/surviveallowed_faces
List of any of the following strings: up, down, north, south, east, west, side, allBack to topblock_filter
List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces directionBack to topminecraft:preventsjumping
this component makes it so actors can't jump when walking on this blockBack to topminecraft:rotation
This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.Back to topminecraft:unit_cube
Specifies that a unit cube is to be used with tessellation.Back to topminecraft:unwalkable
this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to trueBack to top