Files
minecraft-bedrock-json-schemas/source/resource/textures/flipbook_textures.json

73 lines
2.4 KiB
JSON
Raw Normal View History

2021-06-06 10:07:19 +00:00
{
2021-11-20 11:26:35 +01:00
"$schema": "http://json-schema.org/draft-07/schema",
2021-06-06 10:07:19 +00:00
"$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false,
2022-07-22 19:41:04 +02:00
"description": "The file that specifies animated textures.",
2021-06-06 10:07:19 +00:00
"title": "Flipbook Texture File",
"type": "array",
"items": {
"additionalProperties": false,
2022-07-22 19:41:04 +02:00
"description": "A single flipbook texture.",
2021-06-06 10:07:19 +00:00
"title": "Flipbook Texture",
"type": "object",
"properties": {
"atlas_index": {
"description": "The index of the texture array inside the definition of that shortname.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
2021-06-06 10:07:19 +00:00
"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.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
Minor changes to texture definition RegExp, & added "FANCY" material enum (#290) * Implement some missing `ui/` schemas - Add `allow_debug_missing_texture` - Add `propagate_alpha` - Add `use_child_anchors` * Tweak descriptions of `item_ref` It should be noted that UI are referred to as "elements." Moreover, the examples used colon (`:`) instead of dots (`.`) which contradicts the given description. * Add more enum values to the `easing` property These are all known values, aside from the five that was given. * Update damage_source.json The list of damage sources have been updated and added new possible damage sources. Damage source `attack` has been deprecated going forward and has been split into two, namely: `entity_attack` and `entity_explosion`. Damage source `fatal` has also been deprecated in newer format/`min_engine` versions, and has caused content log errors upon testing. But will remain for backwards compatibility. This commit aims to resolve #185. Please refer to the damage sensor documentation here: https://github.com/MicrosoftDocs/minecraft-creator/blob/main/creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_damage_sensor.md * Define `pack_scope` and `product_type` fields for pack manifests With the release of Add-Ons in the marketplace, these property fields have become present in pack manifests. * Tweak RegExp for defining texture names - It will now match for a colon text (`:`) whereby namespaces are defined with - Fix completely off-the-mark RegExp for `item_texture.json` and `terrain_texture.json` files. * Add `FANCY` material enum * Merge branch
2024-05-28 14:49:27 +08:00
"pattern": "^[a-z0-9_:\\-]*$",
"title": "Atlas Title",
2021-06-06 10:07:19 +00:00
"type": "string"
},
"atlas_tile_variant": {
"description": "The variant of the block's texture array inside the shortname's block variation.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
"title": "Atlas Tile Variant",
2021-06-06 10:07:19 +00:00
"type": "integer"
},
"blend_frames": {
"description": "Whether or not Minecraft should interpolate between frames.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
"title": "Blend Frames",
"type": "boolean",
"default": true
2021-06-06 10:07:19 +00:00
},
"flipbook_texture": {
2022-07-22 19:41:04 +02:00
"description": "A texture file.",
2021-06-06 10:07:19 +00:00
"pattern": "^textures/.+$",
"title": "Flipbook Texture",
"type": "string"
},
"frames": {
"title": "Frames",
"description": "The order in which frame indices to display. Duplicate frames are allowed.",
2021-06-06 10:07:19 +00:00
"items": {
2022-07-22 19:41:04 +02:00
"description": "The index of the frame.",
2021-06-06 10:07:19 +00:00
"minimum": 0,
"title": "Frame Index",
"type": "integer"
},
"type": "array"
},
"replicate": {
"description": "Sets the size of pixels.",
2021-07-01 11:35:53 +02:00
"$comment": "UNDOCUMENTED",
"title": "Replicate",
"type": "integer",
"default": 1
2021-06-06 10:07:19 +00:00
},
"ticks_per_frame": {
2022-07-22 19:41:04 +02:00
"description": "The amount of ticks to wait between frames.",
2021-06-06 10:07:19 +00:00
"title": "Ticks Per Frame",
"type": "integer"
}
}
}
}