diff --git a/source/resource/animations/1.10.0/actor_animation.json b/source/resource/animations/1.10.0/actor_animation.json index 06e645d4..caf3db2f 100644 --- a/source/resource/animations/1.10.0/actor_animation.json +++ b/source/resource/animations/1.10.0/actor_animation.json @@ -309,7 +309,11 @@ } ] }, - + "loop_delay": { + "title": "Loop delay", + "description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.", + "$ref": "../../../molang/1.8.0/number.json" + }, "override_previous_animation": { "title": "Override previous animation", "description": "Reset bones in this animation to the default pose before applying this animation.", @@ -343,12 +347,8 @@ "title": "Sound effect", "description": "TODO", "type": "object", - "propertyNames": { - "pattern": "^[\\d.]+$" - }, - "additionalProperties": { - "$ref": "#/definitions/SoundEffect" - } + "propertyNames": { "pattern": "^[\\d.]+$" }, + "additionalProperties": { "$ref": "#/definitions/SoundEffect" } }, "timeline": { "title": "Timeline", diff --git a/source/resource/animations/1.8.0/actor_animation.json b/source/resource/animations/1.8.0/actor_animation.json index 18ca7a0b..35550fdd 100644 --- a/source/resource/animations/1.8.0/actor_animation.json +++ b/source/resource/animations/1.8.0/actor_animation.json @@ -135,7 +135,7 @@ "description": "The animation specification for 1.8.0", "properties": { "anim_time_update": { - "title": "Start delay", + "title": "Anim time update", "description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.", "$ref": "../../../molang/1.8.0/number.json" }, @@ -300,15 +300,18 @@ "title": "Loop", "description": "Should this animation stop, loop, or stay on the last frame when finished (true, false, hold_on_last_frame)", "oneOf": [ - { - "type": "boolean" - }, + { "type": "boolean" }, { "type": "string", "enum": ["hold_on_last_frame"] } ] }, + "loop_delay": { + "title": "Loop delay", + "description": "How long to wait in seconds before looping this animation. Note that this expression is evaluated after each loop and on looping animation only.", + "$ref": "../../../molang/1.8.0/number.json" + }, "override_previous_animation": { "title": "Override previous animation", "description": "Reset bones in this animation to the default pose before applying this animation.",