minecraft:collision_box

Defines the area of the block that collides with entities. If set to true, default values are used. If set to false, the block's collision with entities is disabled. If this component is omitted, default values are used.

Properties

Can be written as a single value: boolean or list of object.

Example from the game files

This is how vanilla red_shrub uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:collision_box": false
}

Used by 2

Vanilla blocks with minecraft:collision_box in their definition:

red_shrubshelf_mushroom

Related components