编辑

Entity Documentation - minecraft:pushable

Defines what can push an entity between other entities and pistons.

Note

In 1.26.10 this component was split into minecraft:pushable_by_block (pistons and Shulker Boxes, equivalent to is_pushable_by_piston: true) and minecraft:pushable_by_entity (other entities, equivalent to is_pushable: true). The original minecraft:pushable component is no longer parsed.

Note

This item no longer works after format versions of at least 1.26.10.

Pushable Properties

Name Default Value Type Description Example Values
is_pushable true Boolean true/false Whether the entity can be pushed by other entities. Allay: true
is_pushable_by_piston true Boolean true/false Whether the entity can be pushed by pistons safely. Allay: true

Samples

Allay

"minecraft:pushable": {
  "is_pushable": true,
  "is_pushable_by_piston": true
}

Armor Stand

"minecraft:pushable": {
  "is_pushable": false,
  "is_pushable_by_piston": true
}