2020-11-01 17:22:42 +01:00
|
|
|
{
|
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
|
|
|
"$id": "blockception.minecraft.resource.texture.flipbook",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "array",
|
2021-03-21 15:18:38 +01:00
|
|
|
"title": "Flipbook Texture File",
|
2020-11-01 17:22:42 +01:00
|
|
|
"description": "",
|
|
|
|
|
"items": {
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"type": "object",
|
|
|
|
|
"description": "A single flipbook texture",
|
2021-03-21 15:18:38 +01:00
|
|
|
"title": "Flipbook Texture",
|
2020-11-01 17:22:42 +01:00
|
|
|
"properties": {
|
2021-03-21 15:18:38 +01:00
|
|
|
"atlas_index": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
|
|
|
|
|
"atlas_tile": { "type": "string", "pattern": "^[a-z0-9_\\-]*$", "title": "Atlas Index", "description": "TODO: add description" },
|
|
|
|
|
"atlas_tile_variant": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
|
|
|
|
|
"blend_frames": { "type": "boolean", "title": "Atlas Index", "description": "TODO: add description" },
|
|
|
|
|
"flipbook_texture": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
|
2020-11-01 17:22:42 +01:00
|
|
|
"frames": {
|
|
|
|
|
"description": "The collection of frame index to display",
|
|
|
|
|
"type": "array",
|
2021-03-21 15:18:38 +01:00
|
|
|
"items": { "description": "The index of the frame", "type": "integer", "title": "Frame Index", "minimum": 0 }
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
2021-03-21 15:18:38 +01:00
|
|
|
"replicate": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
|
|
|
|
|
"ticks_per_frame": { "description": "The amount of ticks to wait between frames", "type": "integer" }
|
2020-11-01 17:22:42 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|