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

33 lines
855 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": [ ],
2021-10-08 12:59:03 +02:00
"properties": {
"height": {
2023-10-24 21:58:11 +02:00
"title": "Height",
2021-10-08 12:59:03 +02:00
"type": "number",
2023-10-24 21:58:11 +02:00
"default": 1.0,
"minimum": -100000000,
"maximum": 100000000,
2023-10-24 21:58:11 +02:00
"description": "Height of the collision box in blocks. A negative value will be assumed to be 0."
2021-10-08 12:59:03 +02:00
},
"width": {
2023-10-24 21:58:11 +02:00
"title": "Width",
2021-10-08 12:59:03 +02:00
"type": "number",
2023-10-24 21:58:11 +02:00
"default": 1.0,
"minimum": -100000000,
"maximum": 100000000,
2023-10-24 21:58:11 +02:00
"description": "Width of the collision box in blocks. A negative value will be assumed to be 0."
2021-10-08 12:59:03 +02:00
}
2021-10-11 18:10:42 +02:00
},
"examples": [
{
"height": 1,
"width": 1
}
]
2021-10-08 12:59:03 +02:00
}