Entity Documentation - minecraft:physics

minecraft:physics defines physics properties of an entity, including if it is affected by gravity or if it collides with objects.

Parameters

Name Default Value Type Description
has_collision True Boolean Whether or not the entity collides with things.
has_gravity True Boolean Whether or not the entity is affected by gravity.
push_towards_closest_space False Boolean Whether or not the entity should be pushed towards the nearest open area when stuck inside a block.

Example

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

Vanilla entities examples

player

"minecraft:physics": {
}

Vanilla entities using minecraft:physics