Files

30 lines
1.0 KiB
JSON
Raw Permalink 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 the physical properties of an actor, including whether it is affected by gravity, whether it collides with objects, or whether it is pushed to the closest space.",
2021-10-08 12:59:03 +02:00
"required": [],
"properties": {
"has_collision": {
"type": "boolean",
"default": true,
"description": "Whether or not the entity collides with things.",
2021-10-08 12:59:03 +02:00
"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"
},
"push_towards_closest_space": {
"type": "boolean",
"default": true,
"description": "Whether or not the entity is pushed to the closest space.",
"title": "Pushed Towards Closest Space"
2021-10-11 18:10:42 +02:00
}
},
"examples": [{}, { "has_collision": true, "has_gravity": true }, { "push_towards_closest_space": true}]
2021-10-08 12:59:03 +02:00
}