Add aseprite flipbook schema (#197)

* Add aseprite flipbook schema

* Probably hash is unneeded

* Add new UI texture definition file to compress_specification.json
This commit is contained in:
Piotr Brzozowski
2023-12-14 14:42:38 +01:00
committed by GitHub
parent 7141769e54
commit c76affe4ba
4 changed files with 89 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.ui_definition",
"additionalProperties": false,
"description": "The file that specifies either 9slice texture or Aseprite flipbook.",
"title": "UI Texture File",
"type": "object",
"oneOf": [
{
"$ref": "./nine_slice.json"
},
{
"$ref": "./aseprite_flipbook.json"
}
]
}