Updated
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"title": "Animation Controller 1.10.0",
|
||||
"description": "TODO description",
|
||||
"description": "Animation controller for minecraft behavior 1.10.0",
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "1.10.0 Format Version",
|
||||
@@ -106,7 +106,7 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"description": "The key definition of an animation to play, defined in the entity",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"description": "A object specification on when to animate",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
@@ -88,9 +88,7 @@
|
||||
"states": {
|
||||
"title": "States",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "[a-z\\.]+" },
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
@@ -104,8 +102,8 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
"description": "The animation key to play, defined in the entity",
|
||||
"title": "Animation"
|
||||
}
|
||||
},
|
||||
"on_entry": {
|
||||
@@ -128,18 +126,25 @@
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
"title": "Transition",
|
||||
"description": "A transition to another state",
|
||||
"type": "object",
|
||||
"examples": [ { "default": "query.is_chested" }],
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"maxProperties": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"title": "Initial State",
|
||||
"description": "The state to start with, if not specified state at position 0 in the array is used",
|
||||
"title": "Initial State"
|
||||
"type": "string",
|
||||
"examples": ["default"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"$id": "blockception.minecraft.behavior.1.10.0.animations",
|
||||
"type": "object",
|
||||
"title": "Animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"description": "Animation for behavior for 1.10.0",
|
||||
"required": ["format_version", "animations"],
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
@@ -48,16 +48,16 @@
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description: additionalItems",
|
||||
"title": "Animation",
|
||||
"type": "object",
|
||||
"description": "A single animation definition for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"animation_length": { "type": "number", "description": "TODO description: animation length", "title": "Animation Length" },
|
||||
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" },
|
||||
"animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" },
|
||||
"loop": { "type": "boolean", "description": "Whenever this animation should loop once it reaches the end, will only happen if the animation is still active", "title": "Loop" },
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"description": "The time line",
|
||||
"description": "A timeline specification, property names are timestamps",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" },
|
||||
"additionalProperties": {
|
||||
|
||||
Reference in New Issue
Block a user