Updated documentation with the microsoft documentation

This commit is contained in:
DaanV2
2021-07-02 13:00:02 +02:00
parent f9ecdb79e8
commit dd28b6a467
29 changed files with 152 additions and 127 deletions

View File

@@ -2,29 +2,39 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.custom_hit_test",
"type": "object",
"title": "Custom Hit Test 1.8.0",
"description": "List of hitboxes for melee and ranged hits against the entity.",
"description": "Defines a list of hitboxes for melee and ranged hits against the entity.",
"additionalProperties": false,
"properties": {
"hitboxes": {
"type": "array",
"title": "Hitboxes",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"description": "Defines a hitbox size and pivot to test against.",
"items": {
"type": "object",
"title": "Hitbox",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"description": "Defines a hitbox size and pivot to test against.",
"additionalProperties": false,
"required": ["width", "height", "pivot"],
"properties": {
"width": { "type": "number", "title": "Width", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"height": { "type": "number", "title": "Height", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
"width": {
"type": "number",
"title": "Width",
"description": "Width and Depth of the hitbox in blocks. A negative value will be assumed to be 0."
},
"height": {
"type": "number",
"title": "Height",
"description": "Height of the hitbox in blocks. A negative value will be assumed to be 0."
},
"pivot": {
"type": "array",
"title": "Pivot",
"description": "UNDOCUMENTED",
"$comment": "UNDOCUMENTED",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
"description": "The offset from the entity's anchor where the hitbox will spawn",
"items": [
{ "type": "number", "title": "X" },
{ "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" }
]
}
}
}