Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/entity_collision.json

37 lines
1.3 KiB
JSON
Raw Normal View History

2021-08-22 00:15:58 +02:00
{
2022-06-07 21:39:02 +02:00
"$id": "blockception.minecraft.behavior.blocks.minecraft.entity_collision",
"title": "Entity Collision",
2021-08-22 00:15:58 +02:00
"description": "Can only be set to false or an object, it disables the collision of the block with entities.",
"oneOf": [
{ "type": "boolean", "const": false },
{
"type": "object",
"additionalProperties": false,
"properties": {
"origin": {
"type": "array",
"title": "Origin",
2022-07-22 19:41:04 +02:00
"description": "Minimal position Bounds of the collision box.",
2021-08-22 00:15:58 +02:00
"default": [-8.0, 0.0, -8.0],
"items": [
2022-07-22 19:41:04 +02:00
{ "type": "number", "title": "X", "description": "The x offset." },
{ "type": "number", "title": "Y", "description": "The y offset." },
{ "type": "number", "title": "Z", "description": "The z offset." }
2021-08-22 00:15:58 +02:00
]
},
"size": {
"type": "array",
"title": "Size",
2022-07-22 19:41:04 +02:00
"description": "Size of each side of the box of the component.",
2021-08-22 00:15:58 +02:00
"default": [16.0, 16.0, 16.0],
"items": [
2022-07-22 19:41:04 +02:00
{ "type": "number", "title": "X", "description": "The x size." },
{ "type": "number", "title": "Y", "description": "The y size." },
{ "type": "number", "title": "Z", "description": "The z size." }
2021-08-22 00:15:58 +02:00
]
}
}
}
]
}