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

29 lines
744 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.collision_box",
2021-10-08 12:59:03 +02:00
"type": "object",
2021-10-08 13:04:13 +02:00
"title": "Collision Box",
2021-10-08 12:59:03 +02:00
"additionalProperties": false,
"description": "Sets the width and height of the Entity's collision box.",
"required": [],
"properties": {
"height": {
"type": "number",
"default": 1,
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0",
"title": "Height"
},
"width": {
"type": "number",
"default": 1,
"description": "Width and Depth of the collision box in blocks. A negative value will be assumed to be 0",
"title": "Width"
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"height": 1,
"width": 1
}
]
2021-10-08 12:59:03 +02:00
}