Refactoring block
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.1.17.0.minecraft.entity_collision",
|
||||
"title": "Entity Collision 1.17.0",
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user