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

39 lines
1.4 KiB
JSON
Raw Normal View History

2021-01-05 10:42:00 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.blocks.1.16.100.minecraft.entity_collision",
2021-01-05 10:42:00 +01:00
"additionalProperties": false,
2021-03-21 15:18:38 +01:00
"title": "Entity Collision 1.16.100",
2021-01-05 10:42:00 +01:00
"description": "Can only be set to false, 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" }
]
}
}
}
]
}