Files
minecraft-bedrock-json-schemas/source/resource/textures/flipbook_textures.json
ライゼン1920 38ea808af5 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 08:49:27 +02:00

70 lines
2.0 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": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"title": "Atlas Index",
"type": "integer"
},
"atlas_tile": {
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"pattern": "^[a-z0-9_:\\-]*$",
"title": "Atlas Index",
"type": "string"
},
"atlas_tile_variant": {
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"title": "Atlas Index",
"type": "integer"
},
"blend_frames": {
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"title": "Atlas Index",
"type": "boolean"
},
"flipbook_texture": {
"description": "A texture file.",
"pattern": "^textures/.+$",
"title": "Flipbook Texture",
"type": "string"
},
"frames": {
"title": "Frames",
"description": "The collection of frame index to display.",
"items": {
"description": "The index of the frame.",
"minimum": 0,
"title": "Frame Index",
"type": "integer"
},
"type": "array"
},
"replicate": {
"description": "UNDOCUMENTED.",
"$comment": "UNDOCUMENTED",
"title": "Atlas Index",
"type": "integer"
},
"ticks_per_frame": {
"description": "The amount of ticks to wait between frames.",
"title": "Ticks Per Frame",
"type": "integer"
}
}
}
}