Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/physics.json
ChibiMango 7794526025 Update physics.json
corrected description
2022-08-09 11:21:26 +01:00

24 lines
748 B
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.physics",
"additionalProperties": false,
"type": "object",
"title": "Physics",
"description": "Defines physics properties of an actor, including if it is affected by gravity or if it collides with objects.",
"required": [],
"properties": {
"has_collision": {
"type": "boolean",
"default": true,
"description": "Whether or not the object collides with things.",
"title": "Has Collision"
},
"has_gravity": {
"type": "boolean",
"default": true,
"description": "Whether or not the entity is affected by gravity.",
"title": "Has Gravity"
}
},
"examples": [{}, { "has_collision": true, "has_gravity": true }]
}