Files
minecraft-bedrock-json-schemas/source/resource/textures/flipbook_textures.json
BrodBlox09 4e6f730320 Fill in some undocumented entries (#356)
* Add permutations description

* Adjust grammar

* Update description of "num_mip_levels"

* Update "atlas_tile" and "blend_frames" property

Some properties had completely incorrect titles as well, those were fixed in this commit too.

* Update JSON UI schema

* Update item schema

* Update terrain_texture schema

* Update animations schema

* Update go_home.json

* Update textures schemas
2025-06-25 20:35:53 +02:00

73 lines
2.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false,
"description": "The file that specifies animated textures.",
"title": "Flipbook Texture File",
"type": "array",
"items": {
"additionalProperties": false,
"description": "A single flipbook texture.",
"title": "Flipbook Texture",
"type": "object",
"properties": {
"atlas_index": {
"description": "The index of the texture array inside the definition of that shortname.",
"$comment": "UNDOCUMENTED",
"title": "Atlas Index",
"type": "integer"
},
"atlas_tile": {
"description": "The shortname defined in the terrain_texture JSON file.",
"markdownDescription": "The shortname defined in the terrain_texture.json file.",
"$comment": "UNDOCUMENTED",
"pattern": "^[a-z0-9_:\\-]*$",
"title": "Atlas Title",
"type": "string"
},
"atlas_tile_variant": {
"description": "The variant of the block's texture array inside the shortname's block variation.",
"$comment": "UNDOCUMENTED",
"title": "Atlas Tile Variant",
"type": "integer"
},
"blend_frames": {
"description": "Whether or not Minecraft should interpolate between frames.",
"$comment": "UNDOCUMENTED",
"title": "Blend Frames",
"type": "boolean",
"default": true
},
"flipbook_texture": {
"description": "A texture file.",
"pattern": "^textures/.+$",
"title": "Flipbook Texture",
"type": "string"
},
"frames": {
"title": "Frames",
"description": "The order in which frame indices to display. Duplicate frames are allowed.",
"items": {
"description": "The index of the frame.",
"minimum": 0,
"title": "Frame Index",
"type": "integer"
},
"type": "array"
},
"replicate": {
"description": "Sets the size of pixels.",
"$comment": "UNDOCUMENTED",
"title": "Replicate",
"type": "integer",
"default": 1
},
"ticks_per_frame": {
"description": "The amount of ticks to wait between frames.",
"title": "Ticks Per Frame",
"type": "integer"
}
}
}
}