This commit is contained in:
DaanV2
2021-10-11 20:13:19 +02:00
parent b225a155a4
commit b2f0f7eb8c
2 changed files with 12 additions and 14 deletions

View File

@@ -30,18 +30,9 @@
"title": "Pivot", "title": "Pivot",
"description": "The offset from the entity's anchor where the hitbox will spawn", "description": "The offset from the entity's anchor where the hitbox will spawn",
"items": [ "items": [
{ { "type": "number", "title": "X" },
"type": "number", { "type": "number", "title": "Y" },
"title": "X" { "type": "number", "title": "Z" }
},
{
"type": "number",
"title": "Y"
},
{
"type": "number",
"title": "Z"
}
] ]
} }
} }
@@ -50,7 +41,13 @@
}, },
"examples": [ "examples": [
{ {
"hitboxes": [] "hitboxes": [
{
"width": 1,
"height": 1,
"pivot": [0, 1, 0]
}
]
} }
] ]
} }

View File

@@ -216,7 +216,8 @@
"type": "string", "type": "string",
"description": "The colors of the dots on the egg", "description": "The colors of the dots on the egg",
"title": "Overlay Color", "title": "Overlay Color",
"format": "color-hex" "format": "color-hex",
"examples": ["#FFFFFF"]
}, },
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" }, "texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 } "texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }