Files
minecraft-bedrock-json-schemas/source/resource/ui/elements/properties/easing.json
ライゼン1920 e4b2710423 Update JSON UI schemas (#192)
* 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.
2023-11-06 21:04:26 +01:00

46 lines
863 B
JSON

{
"title": "Easing",
"description": "The easing of the animation.",
"anyOf": [
{
"enum": [
"linear",
"spring",
"in_quad",
"out_quad",
"in_out_quad",
"in_cubic",
"out_cubic",
"in_out_cubic",
"in_quart",
"out_quart",
"in_out_quart",
"in_quint",
"out_quint",
"in_out_quint",
"in_sine",
"out_sine",
"in_out_sine",
"in_expo",
"out_expo",
"in_out_expo",
"in_circ",
"out_circ",
"in_out_circ",
"in_bounce",
"out_bounce",
"in_out_bounce",
"in_back",
"out_back",
"in_out_back",
"in_elastic",
"out_elastic",
"in_out_elastic"
]
},
{
"$ref": "../../general/item_ref.json"
}
]
}