Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/physics.json

24 lines
748 B
JSON
Raw Normal View History

2021-10-08 12:59:03 +02:00
{
2021-10-08 13:04:13 +02:00
"$id": "blockception.minecraft.behavior.entities.minecraft.physics",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Physics",
"description": "Defines physics properties of an actor, including if it is affected by gravity or if it collides with objects.",
2021-10-08 12:59:03 +02:00
"required": [],
"properties": {
"has_collision": {
"type": "boolean",
"default": true,
"description": "Whether or not the object collides with things.",
"title": "Has Collision"
},
2021-10-11 18:10:42 +02:00
"has_gravity": {
"type": "boolean",
"default": true,
"description": "Whether or not the entity is affected by gravity.",
"title": "Has Gravity"
}
},
2021-10-13 10:39:05 +02:00
"examples": [{}, { "has_collision": true, "has_gravity": true }]
2021-10-08 12:59:03 +02:00
}