This commit is contained in:
DaanV2
2021-04-04 14:00:43 +02:00
parent d08e59713b
commit 7cafb5cfc6
26 changed files with 65 additions and 60 deletions

View File

@@ -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",
@@ -88,7 +88,7 @@
"minProperties": 1,
"properties": {
"states": {
"title": "States ",
"title": "States",
"description": "The states of this animation controller",
"propertyNames": {
"pattern": "[a-z\\.]+"
@@ -101,12 +101,12 @@
"type": "object",
"properties": {
"animations": {
"title": "Animations ",
"title": "Animations",
"description": "The animations definition for 1.10.0",
"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"
}
},

View File

@@ -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": {
@@ -86,11 +86,9 @@
"minProperties": 1,
"properties": {
"states": {
"title": "States ",
"title": "States",
"description": "The states of this animation controller",
"propertyNames": {
"pattern": "[a-z\\.]+"
},
"propertyNames": { "pattern": "[a-z\\.]+" },
"minProperties": 1,
"additionalProperties": {
"additionalProperties": false,
@@ -99,13 +97,13 @@
"type": "object",
"properties": {
"animations": {
"title": "Animations ",
"title": "Animations",
"description": "The animations definition for 1.8.0",
"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": {
@@ -123,23 +121,30 @@
}
},
"transitions": {
"title": "Transition ",
"title": "Transition",
"description": "The transition definition for 1.8.0",
"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"]
}
}
}

View File

@@ -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": {
"title": "Animation",
"type": "object",
"additionalProperties": false,
"description": "TODO description: additionalItems",
"title": "Animation ",
"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": {

View File

@@ -52,7 +52,7 @@
"type": "object",
"additionalProperties": false,
"description": "TODO description: additionalItems",
"title": "Animation ",
"title": "Animation",
"properties": {
"animation_length": { "type": "number", "description": "TODO description: animation length", "title": "Animation Length" },
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" },

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.entities.events.1.16.0",
"type": "object",
"title": "Entity 1.16.0",
"description": "TODO description: ",
"description": "TODO description:",
"definitions": {
"addremove": {
"additionalProperties": false,

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.entities.events.1.16.100",
"type": "object",
"title": "Entity 1.16.100",
"description": "TODO description: ",
"description": "TODO description:",
"definitions": {
"addremove": {
"additionalProperties": false,

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.entities.1.8.0.filters.is_game_rule",
"type": "object",
"title": "Filters Is Game Rule 1.8.0",
"description": "TODO description: ",
"description": "TODO description:",
"required": ["domain"],
"properties": {
"domain": { "description": "The Game Rule to test.", "title": "Domain" },