编辑

通过


Entity Documentation - minecraft:pushable

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

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
}