Entity Documentation - minecraft:physics

Defines physics properties of an actor, including if it is affected by gravity or if it collides with objects.

Physics Properties

Name Default Value Type Description Example Values
has_collision true Boolean true/false Whether or not the object collides with things.
has_gravity true Boolean true/false Whether or not the entity is affected by gravity.
push_towards_closest_space false Boolean true/false Whether or not the entity should be pushed towards the nearest open area when stuck inside a block. Player: true

Samples

Allay

"minecraft:physics": {
  "has_gravity": false
}

Area Effect Cloud

"minecraft:physics": {
  "has_collision": false
}

Armadillo

"minecraft:physics": {}

Ender Dragon

"minecraft:physics": {
  "has_gravity": false,
  "has_collision": false
}

Player

"minecraft:physics": {
  "push_towards_closest_space": true
}