Initial Commit
This commit is contained in:
140
behaviour/animation_controllers/1.10.0/animation_controller.json
Normal file
140
behaviour/animation_controllers/1.10.0/animation_controller.json
Normal file
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animation_controller.1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft behaviourpack animation controller 1.10.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "object",
|
||||
"title": "The animation controllers schema",
|
||||
"description": "The animation controllers schema for 1.10.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"description": "A single animation controller 1.10.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"description": "The animations definition for 1.10.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
"on_entry": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform on entry of this state",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"on_exit": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform on exit of this state",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"transitions": {
|
||||
"title": "Transition definition",
|
||||
"description": "The transition definition for 1.10.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
140
behaviour/animation_controllers/1.8.0/animation_controller.json
Normal file
140
behaviour/animation_controllers/1.8.0/animation_controller.json
Normal file
@@ -0,0 +1,140 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animation_controller.1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft behaviourpack animation controller 1.8.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "object",
|
||||
"title": "The animation controllers schema",
|
||||
"description": "The animation controllers schema for 1.8.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"description": "A single animation controller 1.8.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"description": "The animations definition for 1.8.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
"on_entry": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"on_exit": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"transitions": {
|
||||
"title": "Transition definition",
|
||||
"description": "The transition definition for 1.8.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
behaviour/animation_controllers/animation_controller.json
Normal file
14
behaviour/animation_controllers/animation_controller.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animation_controller",
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/animation_controller.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "1.10.0/animation_controller.json" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user