Files
minecraft-bedrock-json-schemas/source/behavior/blocks/format/components/entity_collision.json
2022-07-22 19:41:04 +02:00

37 lines
1.3 KiB
JSON

{
"$id": "blockception.minecraft.behavior.blocks.minecraft.entity_collision",
"title": "Entity Collision",
"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",
"description": "Minimal position Bounds of the collision box.",
"default": [-8.0, 0.0, -8.0],
"items": [
{ "type": "number", "title": "X", "description": "The x offset." },
{ "type": "number", "title": "Y", "description": "The y offset." },
{ "type": "number", "title": "Z", "description": "The z offset." }
]
},
"size": {
"type": "array",
"title": "Size",
"description": "Size of each side of the box of the component.",
"default": [16.0, 16.0, 16.0],
"items": [
{ "type": "number", "title": "X", "description": "The x size." },
{ "type": "number", "title": "Y", "description": "The y size." },
{ "type": "number", "title": "Z", "description": "The z size." }
]
}
}
}
]
}