Updated offset to reflect documentation in projectile

This commit is contained in:
DaanV2
2021-10-21 16:01:23 +02:00
parent 0ae0daa6d4
commit 2992b3d19e

View File

@@ -103,25 +103,13 @@
}, },
"offset": { "offset": {
"type": "array", "type": "array",
"default": [0, 0.5, 0], "default": [0, 0.0, 0],
"description": "The offset from the entity's anchor where the projectile will spawn", "description": "The offset from the entity's anchor where the projectile will spawn",
"title": "Offset", "title": "Offset",
"items": [ "items": [
{ { "type": "number", "description": "X", "title": "X" },
"type": "number", { "type": "number", "description": "Y", "title": "Y" },
"description": "X", { "type": "number", "description": "Z", "title": "Z" }
"title": "X"
},
{
"type": "number",
"description": "Y",
"title": "Y"
},
{
"type": "number",
"description": "Z",
"title": "Z"
}
] ]
}, },
"on_fire_time": { "on_fire_time": {
@@ -480,6 +468,7 @@
} }
}, },
"examples": [ "examples": [
{},
{ {
"anchor": 0, "anchor": 0,
"angle_offset": 0, "angle_offset": 0,