minecraft:movable
This defines how a block reacts to being moved by another block like a piston.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
movement_type required | Textpush_pull, push, popped, immovable | — | How the block reacts to being pushed by another block like a piston. The options are: "push_pull" - The default value for this field. The block will be pushed and pulled by a piston. "push" - The block will only be pulled by a piston and will ignore a sticky piston. "popped" - The block is destroyed when moved by a piston. "immovable" - The block is unaffected by a piston. |
sticky | Textnone, same | "none" | How the block should handle adjacent blocks around it when being pushed by another block like a piston. The options are: "same" - Adjacent blocks to this block will be moved when moved. This excludes other blocks with the "same" property. This will only work with the movement_type: "push_pull". "none" - The default and will not move adjacent blocks. |
Example from the game files
This is how vanilla red_shrub uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:movable": {
"movement_type": "popped"
}
}Used by 2
Vanilla blocks with minecraft:movable in their definition:
red_shrubshelf_mushroom