Updated
This commit is contained in:
@@ -2,25 +2,19 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.animation_controller1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack animation controller 1.10.0",
|
||||
"title": "Resourcepack 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"
|
||||
},
|
||||
{ "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"
|
||||
}
|
||||
"additionalProperties": { "$ref": "../../../molang/1.8.0/string.json" }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -31,53 +25,39 @@
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"title": "Bind To Actor",
|
||||
"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",
|
||||
"title": "Effect",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"effect": { "type": "string", "title": "Effect", "description": "The name of a particle effect that should be played" },
|
||||
"locator": { "type": "string", "title": "Locator", "description": "The name of a locator on the actor where the effect should be located" },
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"title": "Pre effect script",
|
||||
"title": "Pre Effect Script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized",
|
||||
"pattern": "^.+;$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
"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",
|
||||
"title": "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",
|
||||
"title": "Animation Controllers Schema",
|
||||
"description": "The animation controllers schema for 1.10.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^controller\\.animation\\.[a-z\\.]+" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"title": "A Animation Controller",
|
||||
"description": "A single animation controller 1.10.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
@@ -86,47 +66,35 @@
|
||||
"controller.animation.some_name": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [{ "state_1": "query.is_baby" }]
|
||||
},
|
||||
"state_1": {
|
||||
"animations": ["state_1"],
|
||||
"transitions": [{ "default": "query.all_animations_finished" }]
|
||||
}
|
||||
"default": { "transitions": [{ "state_1": "query.is_baby" }] },
|
||||
"state_1": { "animations": ["state_1"], "transitions": [{ "default": "query.all_animations_finished" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"title": "States ",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] },
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"title": "Animation State",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"title": "Animations ",
|
||||
"description": "The animations definition for 1.10.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
"items": { "$ref": "#/definitions/animationspec", "description": "TODO description: animations", "title": "Animations" }
|
||||
},
|
||||
"blend_transition": {
|
||||
"title": "Blend Transition",
|
||||
"description": "when transitioning away from this state, cross-fade over",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted"
|
||||
},
|
||||
{ "type": "number", "description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted" },
|
||||
{
|
||||
"type": "object",
|
||||
"description": "Specifies the cross-fade time in seconds when transitioning to another state",
|
||||
@@ -145,11 +113,7 @@
|
||||
"particle_effects": {
|
||||
"description": "The effects to be emitted",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/particle_effect_spec",
|
||||
"description": "TODO description: particle effects",
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"items": { "$ref": "#/definitions/particle_effect_spec", "description": "TODO description: particle effects", "title": "Particle Effects" },
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"sound_effects": {
|
||||
@@ -159,16 +123,11 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"effect": {
|
||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
"properties": { "effect": { "description": "Valid sound effect names should be listed in the entity's resource_definition json file.", "type": "string" } }
|
||||
}
|
||||
},
|
||||
"transitions": {
|
||||
"title": "Transition definition",
|
||||
"title": "Transition ",
|
||||
"description": "The transition definition for 1.10.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
@@ -187,17 +146,10 @@
|
||||
"type": "object",
|
||||
"required": ["input"],
|
||||
"properties": {
|
||||
"input": {
|
||||
"title": "Input",
|
||||
"description": "",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"input": { "title": "Input", "description": "", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"remap_curve": {
|
||||
"title": "Remap curve",
|
||||
"additionalProperties": {
|
||||
"propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" },
|
||||
"type": "number"
|
||||
}
|
||||
"title": "Remap Curve",
|
||||
"additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -217,11 +169,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
"initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,25 +2,19 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.animation_controller1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack animation controller 1.8.0",
|
||||
"title": "Resourcepack 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"
|
||||
},
|
||||
{ "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"
|
||||
}
|
||||
"additionalProperties": { "$ref": "../../../molang/1.8.0/string.json" }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -31,87 +25,64 @@
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"title": "Bind To Actor",
|
||||
"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",
|
||||
"title": "Effect",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"effect": { "type": "string", "title": "Effect", "description": "The name of a particle effect that should be played" },
|
||||
"locator": { "type": "string", "title": "Locator", "description": "The name of a locator on the actor where the effect should be located" },
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"title": "Pre effect script",
|
||||
"title": "Pre Effect Script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized",
|
||||
"pattern": "^.+;$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
"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",
|
||||
"title": "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",
|
||||
"title": "Animation Controllers Schema",
|
||||
"description": "The animation controllers schema for 1.8.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^controller\\.animation\\.[a-z\\.]+" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"title": "A Animation Controller",
|
||||
"description": "A single animation controller 1.8.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"title": "States ",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "[a-z\\.]+" },
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"title": "Animation State",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"title": "Animations ",
|
||||
"description": "The animations definition for 1.10.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
"items": { "$ref": "#/definitions/animationspec", "description": "TODO description: animations", "title": "Animations" }
|
||||
},
|
||||
"blend_transition": {
|
||||
"title": "Blend Transition",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted"
|
||||
},
|
||||
{ "type": "number", "description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted" },
|
||||
{
|
||||
"type": "object",
|
||||
"description": "Specifies the cross-fade time in seconds when transitioning to another state",
|
||||
@@ -130,11 +101,7 @@
|
||||
"particle_effects": {
|
||||
"description": "The effects to be emitted",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/particle_effect_spec",
|
||||
"description": "TODO description: particle effects",
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"items": { "$ref": "#/definitions/particle_effect_spec", "description": "TODO description: particle effects", "title": "Particle Effects" },
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"sound_effects": {
|
||||
@@ -144,24 +111,15 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"effect": {
|
||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
"properties": { "effect": { "description": "Valid sound effect names should be listed in the entity's resource_definition json file.", "type": "string" } }
|
||||
}
|
||||
},
|
||||
"transitions": {
|
||||
"title": "Transition definition",
|
||||
"title": "Transition ",
|
||||
"description": "The transition definition for 1.8.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
}
|
||||
"items": { "$ref": "#/definitions/animationspec", "description": "TODO description: transitions", "title": "Transitions" }
|
||||
},
|
||||
"variables": {
|
||||
"type": "object",
|
||||
@@ -169,16 +127,7 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["input"],
|
||||
"properties": {
|
||||
"input": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"remap_curve": {
|
||||
"additionalProperties": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
"properties": { "input": { "$ref": "../../../molang/1.8.0/number.json" }, "remap_curve": { "additionalProperties": { "type": "number" } } }
|
||||
}
|
||||
},
|
||||
"on_entry": {
|
||||
@@ -196,11 +145,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
"initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,26 +7,15 @@
|
||||
"animation_controllers": {
|
||||
"controller.animation.example": {
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [{ "state_1": "query.is_baby" }]
|
||||
},
|
||||
"state_1": {
|
||||
"animations": ["state_1"],
|
||||
"transitions": [{ "default": "query.all_animations_finished" }]
|
||||
}
|
||||
"default": { "transitions": [{ "state_1": "query.is_baby" }] },
|
||||
"state_1": { "animations": ["state_1"], "transitions": [{ "default": "query.all_animations_finished" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"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" }
|
||||
}
|
||||
{ "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" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,130 +3,78 @@
|
||||
"$id": "blockception.minecraft.resource.1.10.0.actor_animation",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.10.0",
|
||||
"title": "Resourcepack Actor Animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"ParticleEffect": {
|
||||
"type": "object",
|
||||
"title": "Particle effect",
|
||||
"title": "Particle Effect",
|
||||
"additionalProperties": false,
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"title": "Particle id",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"effect": { "type": "string", "title": "Particle Id", "description": "The name of a particle effect that should be played" },
|
||||
"locator": { "type": "string", "title": "Locator", "description": "The name of a locator on the actor where the effect should be located" },
|
||||
"pre_effect_script": {
|
||||
"title": "Pre effect script",
|
||||
"title": "Pre Effect Script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized",
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"title": "Bind To Actor",
|
||||
"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)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"PositionV3": {
|
||||
"title": "Position array",
|
||||
"title": "Position Array",
|
||||
"description": "An array of 3 items that describe the bones position",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Position X",
|
||||
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
{ "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
]
|
||||
},
|
||||
"RotationV3": {
|
||||
"title": "Rotation array",
|
||||
"title": "Rotation Array",
|
||||
"description": "An array of 3 items that describe the bones rotation",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Rotation X",
|
||||
"description": "The rotation over the X-axis, or up or down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Y",
|
||||
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Z",
|
||||
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
{ "title": "Rotation X", "description": "The rotation over the X-axis, or up or down.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Rotation Y", "description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Rotation Z", "description": "The rotation over the Z-axis, or roll.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
]
|
||||
},
|
||||
"ScaleV3": {
|
||||
"title": "Scale array",
|
||||
"title": "Scale Array",
|
||||
"description": "An array of 3 items that describe the bones position",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Position X",
|
||||
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
{ "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
]
|
||||
},
|
||||
"SoundEffect": {
|
||||
"title": "Sound effect",
|
||||
"title": "Sound Effect",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"effect": {
|
||||
"title": "Effect",
|
||||
"type": "string",
|
||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
|
||||
}
|
||||
}
|
||||
"properties": { "effect": { "title": "Effect", "type": "string", "description": "Valid sound effect names should be listed in the entity's resource_definition json file." } }
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animations"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"title": "1.10.0 Format Version",
|
||||
"type": "string",
|
||||
"const": "1.10.0",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animations": {
|
||||
"title": "Animations schema",
|
||||
"title": "Animations Schema",
|
||||
"description": "The animation 1.10.0 specification",
|
||||
"propertyNames": {
|
||||
"pattern": "^animation\\.[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
@@ -135,26 +83,22 @@
|
||||
"description": "The animation specification for 1.8.0",
|
||||
"properties": {
|
||||
"anim_time_update": {
|
||||
"title": "Start delay",
|
||||
"title": "Start Delay",
|
||||
"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"
|
||||
},
|
||||
"animation_length": {
|
||||
"title": "Animation length",
|
||||
"title": "Animation Length",
|
||||
"description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.",
|
||||
"type": "number"
|
||||
},
|
||||
"blend_weight": {
|
||||
"title": "Blend weight",
|
||||
"description": "TODO",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"bones": {
|
||||
"title": "Bones",
|
||||
"description": "Defines how the bones in an animation move or transform",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"title": "Bone transformation",
|
||||
"title": "Bone Transformation",
|
||||
"description": "The bone definition that declare how it transforms during animation",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -163,38 +107,19 @@
|
||||
"title": "Position",
|
||||
"description": "The Position transformation during this animation",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PositionV3"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../molang/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{ "$ref": "#/definitions/PositionV3" },
|
||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"lerp_mode": {
|
||||
"type": "string",
|
||||
"title": "Lerp mode",
|
||||
"description": "TODO",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/PositionV3"
|
||||
},
|
||||
"post": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/PositionV3"
|
||||
}
|
||||
"lerp_mode": { "type": "string", "title": "Lerp Mode", "description": "TODO", "enum": ["linear", "catmullrom"] },
|
||||
"pre": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/PositionV3" },
|
||||
"post": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/PositionV3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -204,90 +129,48 @@
|
||||
"title": "Rotation",
|
||||
"description": "The rotation transformation during this animation",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/RotationV3"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../molang/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{ "$ref": "#/definitions/RotationV3" },
|
||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"lerp_mode": {
|
||||
"type": "string",
|
||||
"title": "Lerp mode",
|
||||
"description": "TODO",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/RotationV3"
|
||||
},
|
||||
"post": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/RotationV3"
|
||||
}
|
||||
"lerp_mode": { "type": "string", "title": "Lerp Mode", "description": "TODO", "enum": ["linear", "catmullrom"] },
|
||||
"pre": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/RotationV3" },
|
||||
"post": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/RotationV3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"relative_to": {
|
||||
"title": "Relative to",
|
||||
"title": "Relative To",
|
||||
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
|
||||
"properties": {
|
||||
"rotation": {
|
||||
"title": "Rotation",
|
||||
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
|
||||
"type": "string"
|
||||
}
|
||||
"rotation": { "title": "Rotation", "description": "If set, makes the bone rotation relative to the entity instead of the bone's parent", "type": "string" }
|
||||
}
|
||||
},
|
||||
"scale": {
|
||||
"title": "Scale",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
},
|
||||
{ "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "$ref": "#/definitions/ScaleV3" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"lerp_mode": {
|
||||
"type": "string",
|
||||
"title": "Lerp mode",
|
||||
"description": "TODO",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
},
|
||||
"post": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
}
|
||||
"lerp_mode": { "type": "string", "title": "Lerp Mode", "description": "TODO", "enum": ["linear", "catmullrom"] },
|
||||
"pre": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/ScaleV3" },
|
||||
"post": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/ScaleV3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -299,28 +182,20 @@
|
||||
"loop": {
|
||||
"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": "string",
|
||||
"enum": ["hold_on_last_frame"]
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "type": "boolean" }, { "type": "string", "enum": ["hold_on_last_frame"] }]
|
||||
},
|
||||
"loop_delay": {
|
||||
"title": "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",
|
||||
"title": "Override Previous Animation",
|
||||
"description": "Reset bones in this animation to the default pose before applying this animation.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"particle_effects": {
|
||||
"title": "Particle effects",
|
||||
"title": "Particle Effects",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{ "$ref": "#/definitions/ParticleEffect" },
|
||||
@@ -328,7 +203,7 @@
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[\\d.]+$", "examples": ["0.0"] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/ParticleEffect" },
|
||||
@@ -339,12 +214,12 @@
|
||||
]
|
||||
},
|
||||
"start_delay": {
|
||||
"title": "Start delay",
|
||||
"title": "Start Delay",
|
||||
"description": "How long to wait in seconds before playing this animation. Note that this expression is evaluated once before playing, and only re-evaluated if asked to play from the beginning again. A looping animation should use 'loop_delay' if it wants a delay between loops.",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"sound_effects": {
|
||||
"title": "Sound effect",
|
||||
"title": "Sound Effect",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
@@ -354,26 +229,14 @@
|
||||
"title": "Timeline",
|
||||
"description": "The time line",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^(\\d+.\\d+|\\d+)$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" },
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"title": "Molang",
|
||||
"description": "Variable definition",
|
||||
"pattern": "^(v|variable)\\..*=.*;$"
|
||||
},
|
||||
{ "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" },
|
||||
{
|
||||
"type": "array",
|
||||
"title": "Collection timelime items",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Molang",
|
||||
"description": "Variable definition",
|
||||
"pattern": "^(v|variable)\\..*=.*;$"
|
||||
}
|
||||
"title": "Collection Timelime Items",
|
||||
"items": { "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,130 +3,78 @@
|
||||
"$id": "blockception.minecraft.resource.1.8.0.actor_animation",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.8.0",
|
||||
"title": "Resourcepack Actor Animation 1.8.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"ParticleEffect": {
|
||||
"type": "object",
|
||||
"title": "Particle effect",
|
||||
"title": "Particle Effect",
|
||||
"additionalProperties": false,
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"title": "Particle id",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"effect": { "type": "string", "title": "Particle Id", "description": "The name of a particle effect that should be played" },
|
||||
"locator": { "type": "string", "title": "Locator", "description": "The name of a locator on the actor where the effect should be located" },
|
||||
"pre_effect_script": {
|
||||
"title": "Pre effect script",
|
||||
"title": "Pre Effect Script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized",
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"title": "Bind To Actor",
|
||||
"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)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"PositionV3": {
|
||||
"title": "Position array",
|
||||
"title": "Position Array",
|
||||
"description": "An array of 3 items that describe the bones position",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Position X",
|
||||
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
{ "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
]
|
||||
},
|
||||
"RotationV3": {
|
||||
"title": "Rotation array",
|
||||
"title": "Rotation Array",
|
||||
"description": "An array of 3 items that describe the bones rotation",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Rotation X",
|
||||
"description": "The rotation over the X-axis, or up or down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Y",
|
||||
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Z",
|
||||
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
{ "title": "Rotation X", "description": "The rotation over the X-axis, or up or down.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Rotation Y", "description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Rotation Z", "description": "The rotation over the Z-axis, or roll.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
]
|
||||
},
|
||||
"ScaleV3": {
|
||||
"title": "Scale array",
|
||||
"title": "Scale Array",
|
||||
"description": "An array of 3 items that describe the bones position",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Position X",
|
||||
"description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
{ "title": "Position X", "description": "The position over the X-axis or forwards/backwards.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Y", "description": "The position over the Y-axis, or up/down.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "title": "Position Z", "description": "The position over the Z-axis, or left/right.\nCan be molang or a float", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
]
|
||||
},
|
||||
"SoundEffect": {
|
||||
"title": "Sound effect",
|
||||
"title": "Sound Effect",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"effect": {
|
||||
"title": "Effect",
|
||||
"type": "string",
|
||||
"description": "Valid sound effect names should be listed in the entity's resource_definition json file."
|
||||
}
|
||||
}
|
||||
"properties": { "effect": { "title": "Effect", "type": "string", "description": "Valid sound effect names should be listed in the entity's resource_definition json file." } }
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animations"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"title": "1.8.0 Format Version",
|
||||
"type": "string",
|
||||
"const": "1.8.0",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animations": {
|
||||
"title": "Animations schema",
|
||||
"title": "Animations Schema",
|
||||
"description": "The animation 1.8.0 specification",
|
||||
"propertyNames": {
|
||||
"pattern": "^animation\\.[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
@@ -135,26 +83,22 @@
|
||||
"description": "The animation specification for 1.8.0",
|
||||
"properties": {
|
||||
"anim_time_update": {
|
||||
"title": "Anim time update",
|
||||
"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"
|
||||
},
|
||||
"animation_length": {
|
||||
"title": "Animation length",
|
||||
"title": "Animation Length",
|
||||
"description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.",
|
||||
"type": "number"
|
||||
},
|
||||
"blend_weight": {
|
||||
"title": "Blend weight",
|
||||
"description": "TODO",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"blend_weight": { "title": "Blend Weight", "description": "TODO", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"bones": {
|
||||
"title": "Bones",
|
||||
"description": "Defines how the bones in an animation move or transform",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"title": "Bone transformation",
|
||||
"title": "Bone Transformation",
|
||||
"description": "The bone definition that declare how it transforms during animation",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -163,38 +107,19 @@
|
||||
"title": "Position",
|
||||
"description": "The Position transformation during this animation",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PositionV3"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../molang/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{ "$ref": "#/definitions/PositionV3" },
|
||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"lerp_mode": {
|
||||
"type": "string",
|
||||
"title": "Lerp mode",
|
||||
"description": "TODO",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/PositionV3"
|
||||
},
|
||||
"post": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/PositionV3"
|
||||
}
|
||||
"lerp_mode": { "type": "string", "title": "Lerp Mode", "description": "TODO", "enum": ["linear", "catmullrom"] },
|
||||
"pre": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/PositionV3" },
|
||||
"post": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/PositionV3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -204,90 +129,48 @@
|
||||
"title": "Rotation",
|
||||
"description": "The rotation transformation during this animation",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/RotationV3"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../molang/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{ "$ref": "#/definitions/RotationV3" },
|
||||
{ "$ref": "../../../molang/1.8.0/arraynumber3.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"lerp_mode": {
|
||||
"type": "string",
|
||||
"title": "Lerp mode",
|
||||
"description": "TODO",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/RotationV3"
|
||||
},
|
||||
"post": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/RotationV3"
|
||||
}
|
||||
"lerp_mode": { "type": "string", "title": "Lerp Mode", "description": "TODO", "enum": ["linear", "catmullrom"] },
|
||||
"pre": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/RotationV3" },
|
||||
"post": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/RotationV3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"relative_to": {
|
||||
"title": "Relative to",
|
||||
"title": "Relative To",
|
||||
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
|
||||
"properties": {
|
||||
"rotation": {
|
||||
"title": "Rotation",
|
||||
"description": "If set, makes the bone rotation relative to the entity instead of the bone's parent",
|
||||
"type": "string"
|
||||
}
|
||||
"rotation": { "title": "Rotation", "description": "If set, makes the bone rotation relative to the entity instead of the bone's parent", "type": "string" }
|
||||
}
|
||||
},
|
||||
"scale": {
|
||||
"title": "Scale",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
},
|
||||
{ "$ref": "../../../molang/1.8.0/number.json" },
|
||||
{ "$ref": "#/definitions/ScaleV3" },
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"lerp_mode": {
|
||||
"type": "string",
|
||||
"title": "Lerp mode",
|
||||
"description": "TODO",
|
||||
"enum": ["linear", "catmullrom"]
|
||||
},
|
||||
"pre": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
},
|
||||
"post": {
|
||||
"title": "Pre",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
}
|
||||
"lerp_mode": { "type": "string", "title": "Lerp Mode", "description": "TODO", "enum": ["linear", "catmullrom"] },
|
||||
"pre": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/ScaleV3" },
|
||||
"post": { "title": "Pre", "description": "TODO", "$ref": "#/definitions/ScaleV3" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -299,26 +182,20 @@
|
||||
"loop": {
|
||||
"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": "string",
|
||||
"enum": ["hold_on_last_frame"]
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "type": "boolean" }, { "type": "string", "enum": ["hold_on_last_frame"] }]
|
||||
},
|
||||
"loop_delay": {
|
||||
"title": "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",
|
||||
"title": "Override Previous Animation",
|
||||
"description": "Reset bones in this animation to the default pose before applying this animation.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"particle_effects": {
|
||||
"title": "Particle effects",
|
||||
"title": "Particle Effects",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{ "$ref": "#/definitions/ParticleEffect" },
|
||||
@@ -326,7 +203,7 @@
|
||||
"type": "object",
|
||||
"propertyNames": { "pattern": "^[\\d.]+$", "examples": ["0.0"] },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time",
|
||||
"oneOf": [
|
||||
{ "type": "object", "$ref": "#/definitions/ParticleEffect" },
|
||||
@@ -337,45 +214,29 @@
|
||||
]
|
||||
},
|
||||
"start_delay": {
|
||||
"title": "Start delay",
|
||||
"title": "Start Delay",
|
||||
"description": "How long to wait in seconds before playing this animation. Note that this expression is evaluated once before playing, and only re-evaluated if asked to play from the beginning again. A looping animation should use 'loop_delay' if it wants a delay between loops.",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"sound_effects": {
|
||||
"title": "Sound effect",
|
||||
"title": "Sound Effect",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/SoundEffect"
|
||||
}
|
||||
"propertyNames": { "pattern": "^[\\d.]+$" },
|
||||
"additionalProperties": { "$ref": "#/definitions/SoundEffect" }
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"description": "The time line",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^(\\d+.\\d+|\\d+)$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" },
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"title": "Molang",
|
||||
"description": "Variable definition",
|
||||
"pattern": "^(v|variable)\\..*=.*;$"
|
||||
},
|
||||
{ "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" },
|
||||
{
|
||||
"type": "array",
|
||||
"title": "Collection timelime items",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Molang",
|
||||
"description": "Variable definition",
|
||||
"pattern": "^(v|variable)\\..*=.*;$"
|
||||
}
|
||||
"title": "Collection Timelime Items",
|
||||
"items": { "type": "string", "title": "Molang", "description": "Variable definition", "pattern": "^(v|variable)\\..*=.*;$" }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,26 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.actor_animation",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"animations": {
|
||||
"animation.annie.idle": {
|
||||
"loop": true,
|
||||
"animation_length": 2.12,
|
||||
"bones": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"examples": [{ "format_version": "1.8.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/actor_animation.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/actor_animation.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/actor_animation.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/actor_animation.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -2,35 +2,31 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.attachables",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.10.0",
|
||||
"title": "Resourcepack Actor Animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "minecraft:attachable"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"title": "1.10.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^(1.10.0|1.10)$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:attachable": {
|
||||
"type": "object",
|
||||
"title": "The attachables",
|
||||
"title": "Attachables",
|
||||
"description": "The attachables definition",
|
||||
"required": ["description"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description definition",
|
||||
"title": "Description ",
|
||||
"type": "object",
|
||||
"required": ["identifier"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"animations": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A single animation reference",
|
||||
"title": "Animation"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "A single animation reference", "title": "Animation" },
|
||||
"description": "The collection of animations references",
|
||||
"title": "Animations"
|
||||
},
|
||||
@@ -38,59 +34,27 @@
|
||||
"type": "array",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A single Animation controller reference",
|
||||
"title": "Animation controller reference"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "A single Animation controller reference", "title": "Animation Controller Reference" },
|
||||
"description": "A collection of animation controller references",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "The specification of animation controllers",
|
||||
"title": "Animation Controllers"
|
||||
},
|
||||
"enable_attachables": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: enable attachables",
|
||||
"title": "Enable Attachables"
|
||||
},
|
||||
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
|
||||
"geometry": {
|
||||
"title": "Geometry definition",
|
||||
"title": "Geometry ",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-zA-Z0-9_\\.\\-]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A single geometry reference",
|
||||
"title": "Geometry"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "A single geometry reference", "title": "Geometry" },
|
||||
"description": "The geometry specification"
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
},
|
||||
"item": {
|
||||
"type": "object",
|
||||
"title": "Item",
|
||||
"description": "TODO",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"title": "TODO",
|
||||
"description": "TODO"
|
||||
}
|
||||
},
|
||||
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
|
||||
"item": { "type": "object", "title": "Item", "description": "TODO", "additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" } },
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A single material reference",
|
||||
"title": "Material"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "A single material reference", "title": "Material" },
|
||||
"description": "A collection of material references",
|
||||
"title": "Materials"
|
||||
},
|
||||
@@ -103,22 +67,14 @@
|
||||
"particle_effects": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A single particle effect reference",
|
||||
"title": "Particle effect"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "A single particle effect reference", "title": "Particle Effect" },
|
||||
"description": "A collection of particle effect references",
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"particle_emitters": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle emitters",
|
||||
"title": "Particle Emitters"
|
||||
},
|
||||
@@ -127,11 +83,7 @@
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers"
|
||||
}
|
||||
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
|
||||
},
|
||||
"scripts": {
|
||||
"additionalProperties": false,
|
||||
@@ -141,25 +93,17 @@
|
||||
"properties": {
|
||||
"animate": {
|
||||
"type": "array",
|
||||
"title": "Animate schema",
|
||||
"title": "Animate Schema",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "TODO description: oneOf[0]",
|
||||
"title": "TODO title"
|
||||
},
|
||||
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
|
||||
{
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: oneOf[1]",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
],
|
||||
"description": "TODO description: animate",
|
||||
@@ -171,36 +115,16 @@
|
||||
"type": "array",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize"
|
||||
}
|
||||
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: initialize", "title": "Initialize" }
|
||||
},
|
||||
"pre_animation": {
|
||||
"type": "array",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
}
|
||||
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
|
||||
},
|
||||
"parent_setup": {
|
||||
"type": "string",
|
||||
"description": "TODO description: parent setup",
|
||||
"title": "Parent Setup",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
"parent_setup": { "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" }
|
||||
}
|
||||
},
|
||||
"sound_effects": {
|
||||
@@ -208,52 +132,23 @@
|
||||
"description": "TODO description: sound effects",
|
||||
"title": "Sound Effects",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: sound effects",
|
||||
"title": "Sound Effects"
|
||||
}
|
||||
"items": { "type": "string", "description": "TODO description: sound effects", "title": "Sound Effects" }
|
||||
},
|
||||
"spawn_egg": {
|
||||
"type": "object",
|
||||
"description": "TODO description: spawn egg",
|
||||
"title": "Spawn Egg",
|
||||
"dependencies": {
|
||||
"texture": ["texture_index"],
|
||||
"texture_index": ["texture"],
|
||||
"base_colour": ["overlay_color"],
|
||||
"overlay_color": ["base_colour"]
|
||||
},
|
||||
"dependencies": { "texture": ["texture_index"], "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_colour"] },
|
||||
"properties": {
|
||||
"base_colour": {
|
||||
"type": "string",
|
||||
"description": "TODO description: base colour",
|
||||
"title": "Base Colour"
|
||||
},
|
||||
"overlay_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "TODO description: texture",
|
||||
"title": "Texture"
|
||||
},
|
||||
"texture_index": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture index",
|
||||
"title": "Texture Index"
|
||||
}
|
||||
"base_colour": { "type": "string", "description": "TODO description: base colour", "title": "Base Colour" },
|
||||
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color" },
|
||||
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
|
||||
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
|
||||
@@ -2,39 +2,35 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.8.0.attachables",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.8.0",
|
||||
"title": "Resourcepack Actor Animation 1.8.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "minecraft:attachable"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"title": "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."
|
||||
},
|
||||
"minecraft:attachable": {
|
||||
"type": "object",
|
||||
"title": "The attachables",
|
||||
"title": "Attachables",
|
||||
"description": "The attachables definition for 1.8.0",
|
||||
"required": ["description"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"additionalProperties": false,
|
||||
"title": "Description definition",
|
||||
"title": "Description ",
|
||||
"description": "TODO description: description",
|
||||
"type": "object",
|
||||
"required": ["identifier", "geometry"],
|
||||
"properties": {
|
||||
"animations": {
|
||||
"description": "The connecting of animations in animations controllers with the actuall animations, names should corosponds",
|
||||
"title": "The animations schema",
|
||||
"title": "Animations Schema",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "array",
|
||||
@@ -43,82 +39,39 @@
|
||||
"title": "Animation Controllers",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: animation controllers",
|
||||
"title": "Animation Controllers"
|
||||
}
|
||||
},
|
||||
"enable_attachables": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: enable attachables",
|
||||
"title": "Enable Attachables"
|
||||
},
|
||||
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
|
||||
"geometry": {
|
||||
"title": "Geometry definition",
|
||||
"title": "Geometry ",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: geometry"
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
},
|
||||
"item": {
|
||||
"type": "object",
|
||||
"title": "Item",
|
||||
"description": "TODO",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"title": "TODO",
|
||||
"description": "TODO"
|
||||
}
|
||||
},
|
||||
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
|
||||
"item": { "type": "object", "title": "Item", "description": "TODO", "additionalProperties": { "type": "string", "title": "TODO", "description": "TODO" } },
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
},
|
||||
"min_engine_version": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
|
||||
"description": "TODO description: min engine version",
|
||||
"title": "Min Engine Version"
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
|
||||
},
|
||||
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
|
||||
"particle_effects": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle effects",
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"particle_emitters": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle emitters",
|
||||
"title": "Particle Emitters"
|
||||
},
|
||||
@@ -127,54 +80,25 @@
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers"
|
||||
}
|
||||
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
|
||||
},
|
||||
"sound_effects": {
|
||||
"type": "array",
|
||||
"description": "TODO description: sound effects",
|
||||
"title": "Sound Effects",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: sound effects",
|
||||
"title": "Sound Effects"
|
||||
}
|
||||
"items": { "type": "string", "description": "TODO description: sound effects", "title": "Sound Effects" }
|
||||
},
|
||||
"spawn_egg": {
|
||||
"type": "object",
|
||||
"description": "TODO description: spawn egg",
|
||||
"title": "Spawn Egg",
|
||||
"dependencies": {
|
||||
"texture": ["texture_index"],
|
||||
"texture_index": ["texture"],
|
||||
"base_colour": ["overlay_color"],
|
||||
"overlay_color": ["base_colour"]
|
||||
},
|
||||
"dependencies": { "texture": ["texture_index"], "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_colour"] },
|
||||
"properties": {
|
||||
"base_colour": {
|
||||
"type": "string",
|
||||
"description": "TODO description: base colour",
|
||||
"title": "Base Colour"
|
||||
},
|
||||
"overlay_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "TODO description: texture",
|
||||
"title": "Texture"
|
||||
},
|
||||
"texture_index": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture index",
|
||||
"title": "Texture Index"
|
||||
}
|
||||
"base_colour": { "type": "string", "description": "TODO description: base colour", "title": "Base Colour" },
|
||||
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color" },
|
||||
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
|
||||
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
@@ -182,40 +106,23 @@
|
||||
"properties": {
|
||||
"pre_animation": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
},
|
||||
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" },
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
},
|
||||
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale" },
|
||||
"animate": {
|
||||
"type": "array",
|
||||
"title": "Animate schema",
|
||||
"title": "Animate Schema",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "TODO description: oneOf[0]",
|
||||
"title": "TODO title"
|
||||
},
|
||||
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
|
||||
{
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: oneOf[1]",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
],
|
||||
"description": "TODO description: animate",
|
||||
@@ -223,20 +130,14 @@
|
||||
},
|
||||
"description": "TODO description: animate"
|
||||
},
|
||||
"parent_setup": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
"parent_setup": { "$ref": "../../../molang/1.8.0/number.json" }
|
||||
},
|
||||
"description": "TODO description: scripts",
|
||||
"title": "Scripts"
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
|
||||
@@ -7,16 +7,9 @@
|
||||
"minecraft:attachable": {
|
||||
"description": {
|
||||
"identifier": "minecraft:item",
|
||||
"materials": {
|
||||
"default": "entity_alphatest",
|
||||
"enchanted": "entity_alphatest_glint"
|
||||
},
|
||||
"textures": {
|
||||
"default": "textures/items/item"
|
||||
},
|
||||
"geometry": {
|
||||
"default": "geometry.item"
|
||||
},
|
||||
"materials": { "default": "entity_alphatest", "enchanted": "entity_alphatest_glint" },
|
||||
"textures": { "default": "textures/items/item" },
|
||||
"geometry": { "default": "geometry.item" },
|
||||
"scripts": {},
|
||||
"render_controllers": ["controller.render.item"]
|
||||
}
|
||||
@@ -24,17 +17,8 @@
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/attachables.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
|
||||
"then": { "$ref": "./1.10.0/attachables.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/attachables.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/attachables.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/attachables.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/attachables.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -2,52 +2,24 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.biomes_client.json",
|
||||
"type": "object",
|
||||
"title": "Biomes client",
|
||||
"title": "Biomes Client",
|
||||
"description": "The minecraft biomes definition file",
|
||||
"definitions": {
|
||||
"biomespec": {
|
||||
"additionalProperties": false,
|
||||
"description": "The specification of colors in a given biome",
|
||||
"title": "Biome specification",
|
||||
"title": "Biome ",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fog_color": {
|
||||
"$ref": "#/definitions/colorhex",
|
||||
"title": "Fog color",
|
||||
"description": "The color of the fog"
|
||||
},
|
||||
"fog_identifier": {
|
||||
"title": "Fog identifier",
|
||||
"description": "The fog to be associated to this biome",
|
||||
"$ref": "../general/fog/identifier.json"
|
||||
},
|
||||
"water_fog_color": {
|
||||
"$ref": "#/definitions/colorhex",
|
||||
"title": "Water fog color",
|
||||
"description": "The color of the water fog"
|
||||
},
|
||||
"water_fog_distance": {
|
||||
"type": "integer",
|
||||
"title": "Water fog distance",
|
||||
"description": "The distance the water fog start at"
|
||||
},
|
||||
"water_surface_color": {
|
||||
"$ref": "#/definitions/colorhex",
|
||||
"title": "Water surface color",
|
||||
"description": "The color of the water surface"
|
||||
},
|
||||
"water_surface_transparency": {
|
||||
"type": "number",
|
||||
"title": "Water surface transparency",
|
||||
"description": "TODO"
|
||||
}
|
||||
"fog_color": { "$ref": "#/definitions/colorhex", "title": "Fog Color", "description": "The color of the fog" },
|
||||
"fog_identifier": { "title": "Fog Identifier", "description": "The fog to be associated to this biome", "$ref": "../general/fog/identifier.json" },
|
||||
"water_fog_color": { "$ref": "#/definitions/colorhex", "title": "Water Fog Color", "description": "The color of the water fog" },
|
||||
"water_fog_distance": { "type": "integer", "title": "Water Fog Distance", "description": "The distance the water fog start at" },
|
||||
"water_surface_color": { "$ref": "#/definitions/colorhex", "title": "Water Surface Color", "description": "The color of the water surface" },
|
||||
"water_surface_transparency": { "type": "number", "title": "Water Surface Transparency", "description": "TODO" }
|
||||
}
|
||||
},
|
||||
"colorhex": {
|
||||
"description": "TODO description: colorhex",
|
||||
"title": "Colorhex",
|
||||
"format": "color-hex"
|
||||
}
|
||||
"colorhex": { "description": "TODO description: colorhex", "title": "Colorhex", "format": "color-hex" }
|
||||
},
|
||||
"properties": {
|
||||
"biomes": {
|
||||
@@ -56,213 +28,75 @@
|
||||
"title": "Biomes",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bamboo_jungle": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"bamboo_jungle_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"basalt_deltas": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"beach": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"birch_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"birch_forest_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_beach": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_taiga_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"crimson_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_cold_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_frozen_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_lukewarm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_warm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"desert": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"desert_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_edge": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_plus_trees": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_plus_trees_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"flower_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"forest_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"frozen_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"frozen_river": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"hell": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ice_mountains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ice_plains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ice_plains_spikes": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle_edge": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"lukewarm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_spruce_taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_spruce_taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_taiga_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_bryce": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_plateau": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_plateau_stone": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mushroom_island": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mushroom_island_shore": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"plains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"river": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"roofed_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"savanna": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"savanna_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"savanna_plateau": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"soulsand_valley": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"stone_beach": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"sunflower_plains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"swampland": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"swampland_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"taiga_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"the_end": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"warm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"warped_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
}
|
||||
"bamboo_jungle": { "$ref": "#/definitions/biomespec" },
|
||||
"bamboo_jungle_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"basalt_deltas": { "$ref": "#/definitions/biomespec" },
|
||||
"beach": { "$ref": "#/definitions/biomespec" },
|
||||
"birch_forest": { "$ref": "#/definitions/biomespec" },
|
||||
"birch_forest_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"cold_beach": { "$ref": "#/definitions/biomespec" },
|
||||
"cold_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"cold_taiga": { "$ref": "#/definitions/biomespec" },
|
||||
"cold_taiga_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"cold_taiga_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"crimson_forest": { "$ref": "#/definitions/biomespec" },
|
||||
"deep_cold_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"deep_frozen_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"deep_lukewarm_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"deep_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"deep_warm_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"default": { "$ref": "#/definitions/biomespec" },
|
||||
"desert": { "$ref": "#/definitions/biomespec" },
|
||||
"desert_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"extreme_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"extreme_hills_edge": { "$ref": "#/definitions/biomespec" },
|
||||
"extreme_hills_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"extreme_hills_plus_trees": { "$ref": "#/definitions/biomespec" },
|
||||
"extreme_hills_plus_trees_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"flower_forest": { "$ref": "#/definitions/biomespec" },
|
||||
"forest": { "$ref": "#/definitions/biomespec" },
|
||||
"forest_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"frozen_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"frozen_river": { "$ref": "#/definitions/biomespec" },
|
||||
"hell": { "$ref": "#/definitions/biomespec" },
|
||||
"ice_mountains": { "$ref": "#/definitions/biomespec" },
|
||||
"ice_plains": { "$ref": "#/definitions/biomespec" },
|
||||
"ice_plains_spikes": { "$ref": "#/definitions/biomespec" },
|
||||
"jungle": { "$ref": "#/definitions/biomespec" },
|
||||
"jungle_edge": { "$ref": "#/definitions/biomespec" },
|
||||
"jungle_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"jungle_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"lukewarm_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"mega_spruce_taiga": { "$ref": "#/definitions/biomespec" },
|
||||
"mega_spruce_taiga_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"mega_taiga": { "$ref": "#/definitions/biomespec" },
|
||||
"mega_taiga_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"mega_taiga_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"mesa": { "$ref": "#/definitions/biomespec" },
|
||||
"mesa_bryce": { "$ref": "#/definitions/biomespec" },
|
||||
"mesa_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"mesa_plateau": { "$ref": "#/definitions/biomespec" },
|
||||
"mesa_plateau_stone": { "$ref": "#/definitions/biomespec" },
|
||||
"mushroom_island": { "$ref": "#/definitions/biomespec" },
|
||||
"mushroom_island_shore": { "$ref": "#/definitions/biomespec" },
|
||||
"ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"plains": { "$ref": "#/definitions/biomespec" },
|
||||
"river": { "$ref": "#/definitions/biomespec" },
|
||||
"roofed_forest": { "$ref": "#/definitions/biomespec" },
|
||||
"savanna": { "$ref": "#/definitions/biomespec" },
|
||||
"savanna_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"savanna_plateau": { "$ref": "#/definitions/biomespec" },
|
||||
"soulsand_valley": { "$ref": "#/definitions/biomespec" },
|
||||
"stone_beach": { "$ref": "#/definitions/biomespec" },
|
||||
"sunflower_plains": { "$ref": "#/definitions/biomespec" },
|
||||
"swampland": { "$ref": "#/definitions/biomespec" },
|
||||
"swampland_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"taiga": { "$ref": "#/definitions/biomespec" },
|
||||
"taiga_hills": { "$ref": "#/definitions/biomespec" },
|
||||
"taiga_mutated": { "$ref": "#/definitions/biomespec" },
|
||||
"the_end": { "$ref": "#/definitions/biomespec" },
|
||||
"warm_ocean": { "$ref": "#/definitions/biomespec" },
|
||||
"warped_forest": { "$ref": "#/definitions/biomespec" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -7,129 +7,57 @@
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{ "type": "string" },
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"down": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
},
|
||||
"up": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
},
|
||||
"side": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
},
|
||||
"south": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
},
|
||||
"north": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
},
|
||||
"west": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
},
|
||||
"east": {
|
||||
"type": "string",
|
||||
"pattern": "^[\\w_\\-]+$"
|
||||
}
|
||||
"down": { "type": "string", "pattern": "^[\\w_\\-]+$" },
|
||||
"up": { "type": "string", "pattern": "^[\\w_\\-]+$" },
|
||||
"side": { "type": "string", "pattern": "^[\\w_\\-]+$" },
|
||||
"south": { "type": "string", "pattern": "^[\\w_\\-]+$" },
|
||||
"north": { "type": "string", "pattern": "^[\\w_\\-]+$" },
|
||||
"west": { "type": "string", "pattern": "^[\\w_\\-]+$" },
|
||||
"east": { "type": "string", "pattern": "^[\\w_\\-]+$" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\w_\\-:]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\w_\\-:]+$" },
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
}
|
||||
],
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"format_version": { "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }], "description": "TODO description", "title": "TODO Title" }
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Block definition",
|
||||
"title": "Block ",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"brightness_gamma": {
|
||||
"type": "number",
|
||||
"title": "Brightness gamma",
|
||||
"description": "TODO"
|
||||
},
|
||||
"carried_textures": {
|
||||
"$ref": "#/definitions/texture",
|
||||
"title": "Carried textures",
|
||||
"description": "TODO"
|
||||
},
|
||||
"brightness_gamma": { "type": "number", "title": "Brightness Gamma", "description": "TODO" },
|
||||
"carried_textures": { "$ref": "#/definitions/texture", "title": "Carried Textures", "description": "TODO" },
|
||||
"isotropic": {
|
||||
"title": "Isotropic",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{ "type": "boolean" },
|
||||
{
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"down": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"up": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"side": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"south": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"north": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"west": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"east": {
|
||||
"type": "boolean"
|
||||
}
|
||||
"down": { "type": "boolean" },
|
||||
"up": { "type": "boolean" },
|
||||
"side": { "type": "boolean" },
|
||||
"south": { "type": "boolean" },
|
||||
"north": { "type": "boolean" },
|
||||
"west": { "type": "boolean" },
|
||||
"east": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"sound": {
|
||||
"type": "string",
|
||||
"title": "Sound",
|
||||
"description": "TODO"
|
||||
},
|
||||
"textures": {
|
||||
"$ref": "#/definitions/texture",
|
||||
"title": "Sound",
|
||||
"description": "Textures"
|
||||
}
|
||||
"sound": { "type": "string", "title": "Sound", "description": "TODO" },
|
||||
"textures": { "$ref": "#/definitions/texture", "title": "Sound", "description": "Textures" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,24 +2,24 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.entity",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.10.0",
|
||||
"title": "Resourcepack Actor Animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "minecraft:client_entity"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"title": "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."
|
||||
},
|
||||
"minecraft:client_entity": {
|
||||
"type": "object",
|
||||
"title": "The client entity",
|
||||
"title": "Client Entity",
|
||||
"description": "The client entity definition",
|
||||
"required": ["description"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description definition",
|
||||
"title": "Description ",
|
||||
"type": "object",
|
||||
"required": ["identifier"],
|
||||
"additionalProperties": false,
|
||||
@@ -31,74 +31,38 @@
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A reference to an animation or animation controller",
|
||||
"title": "Animation reference",
|
||||
"examples": [
|
||||
{
|
||||
"basic": "controller.generic.basic"
|
||||
}
|
||||
]
|
||||
"title": "Animation Reference",
|
||||
"examples": [{ "basic": "controller.generic.basic" }]
|
||||
}
|
||||
},
|
||||
"enable_attachables": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: enable attachables",
|
||||
"title": "Enable Attachables"
|
||||
},
|
||||
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
|
||||
"geometry": {
|
||||
"title": "Geometry definition",
|
||||
"title": "Geometry ",
|
||||
"description": "The reference to defined geometries in '<resource pack>/models/'",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-zA-Z0-9_\\.\\-]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "The reference to the geometry",
|
||||
"title": "Geometry reference"
|
||||
}
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
|
||||
},
|
||||
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/item/identifier.json" },
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials"
|
||||
},
|
||||
"min_engine_version": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
|
||||
"description": "TODO description: min engine version",
|
||||
"title": "Min Engine Version"
|
||||
},
|
||||
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
|
||||
"particle_effects": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle effects",
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"particle_emitters": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle emitters",
|
||||
"title": "Particle Emitters"
|
||||
},
|
||||
@@ -109,17 +73,8 @@
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A render controller",
|
||||
"title": "Render controller"
|
||||
}
|
||||
}
|
||||
{ "type": "string" },
|
||||
{ "type": "object", "additionalProperties": { "type": "string", "description": "A render controller", "title": "Render Controller" } }
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -131,25 +86,17 @@
|
||||
"properties": {
|
||||
"animate": {
|
||||
"type": "array",
|
||||
"title": "Animate schema",
|
||||
"title": "Animate Schema",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "TODO description: oneOf[0]",
|
||||
"title": "TODO title"
|
||||
},
|
||||
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
|
||||
{
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: oneOf[1]",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
],
|
||||
"description": "TODO description: animate",
|
||||
@@ -161,55 +108,26 @@
|
||||
"type": "array",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/string.json",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize"
|
||||
}
|
||||
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/string.json", "description": "TODO description: initialize", "title": "Initialize" }
|
||||
},
|
||||
"pre_animation": {
|
||||
"type": "array",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/string.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
}
|
||||
},
|
||||
"parent_setup": {
|
||||
"type": "string",
|
||||
"description": "TODO description: parent setup",
|
||||
"title": "Parent Setup",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scalex": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale X"
|
||||
},
|
||||
"scaley": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Y"
|
||||
},
|
||||
"scalez": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Z"
|
||||
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/string.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
|
||||
},
|
||||
"parent_setup": { "type": "string", "description": "TODO description: parent setup", "title": "Parent Setup", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" },
|
||||
"scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" },
|
||||
"scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" },
|
||||
"should_update_bones_and_effects_offscreen": {
|
||||
"title": "Should update bones and effects offscreen",
|
||||
"title": "Should Update Bones And Effects Offscreen",
|
||||
"description": "Bones and effects will still be updated if the entity is off screen if this expression returns anything other than 0.0.",
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
"should_update_effects_offscreen": {
|
||||
"title": "Should update effects offscreen",
|
||||
"title": "Should Update Effects Offscreen",
|
||||
"description": "Effects will still be updated if the entity is off screen if this expression or `should_update_bones_and_effects_offscreen` returns anything other than 0.0.",
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
@@ -218,11 +136,9 @@
|
||||
"description": " A list of variables that need certain settings applied to them. Currently, for the client, only \"public\" is supported.",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "variable.[a-zA-Z_][a-zA-Z0-9_]*"
|
||||
},
|
||||
"propertyNames": { "pattern": "variable.[a-zA-Z_][a-zA-Z0-9_]*" },
|
||||
"additionalProperties": {
|
||||
"title": "Variable definition",
|
||||
"title": "Variable ",
|
||||
"description": " If a variable is public, it can be read by other mobs. See the molang `->` operator for details.",
|
||||
"type": "string",
|
||||
"enum": ["public"]
|
||||
@@ -235,54 +151,24 @@
|
||||
"description": "TODO description: sound effects",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "Sound effect"
|
||||
}
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "Sound Effect" }
|
||||
},
|
||||
"spawn_egg": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "TODO description: spawn egg",
|
||||
"title": "Spawn Egg",
|
||||
"dependencies": {
|
||||
"texture_index": ["texture"],
|
||||
"base_colour": ["overlay_color"],
|
||||
"overlay_color": ["base_color"]
|
||||
},
|
||||
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
|
||||
"properties": {
|
||||
"base_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: base color",
|
||||
"title": "Base Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"overlay_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "TODO description: texture",
|
||||
"title": "Texture"
|
||||
},
|
||||
"texture_index": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture index",
|
||||
"title": "Texture Index"
|
||||
}
|
||||
"base_color": { "type": "string", "description": "TODO description: base color", "title": "Base Color", "format": "color-hex" },
|
||||
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color", "format": "color-hex" },
|
||||
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
|
||||
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.entity1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.8.0",
|
||||
"title": "Resourcepack Actor Animation 1.8.0",
|
||||
"description": "TODO description",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "minecraft:client_entity"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"title": "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."
|
||||
@@ -16,26 +16,22 @@
|
||||
"minecraft:client_entity": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Client entity",
|
||||
"title": "Client Entity",
|
||||
"description": "The definition of an entity's models, materials, textures, and animations",
|
||||
"properties": {
|
||||
"description": {
|
||||
"additionalProperties": false,
|
||||
"title": "Description definition",
|
||||
"title": "Description ",
|
||||
"description": "TODO description: description",
|
||||
"type": "object",
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"animations": {
|
||||
"description": "The connecting of animations in animations controllers with the actuall animations, names should corosponds",
|
||||
"title": "The animations schema",
|
||||
"title": "Animations Schema",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "array",
|
||||
@@ -44,72 +40,38 @@
|
||||
"title": "Animation Controllers",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: animation controllers",
|
||||
"title": "Animation Controllers"
|
||||
}
|
||||
},
|
||||
"enable_attachables": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: enable attachables",
|
||||
"title": "Enable Attachables"
|
||||
},
|
||||
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
|
||||
"geometry": {
|
||||
"title": "Geometry definition",
|
||||
"title": "Geometry ",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: geometry"
|
||||
},
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/entity/identifier.json"
|
||||
},
|
||||
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/entity/identifier.json" },
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
},
|
||||
"min_engine_version": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
|
||||
"description": "TODO description: min engine version",
|
||||
"title": "Min Engine Version"
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
|
||||
},
|
||||
"min_engine_version": { "type": "string", "pattern": "[0-9]+\\.[0-9]+\\.[0-9]+", "description": "TODO description: min engine version", "title": "Min Engine Version" },
|
||||
"particle_effects": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle effects",
|
||||
"title": "Particle Effects"
|
||||
},
|
||||
"particle_emitters": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: particle emitters",
|
||||
"title": "Particle Emitters"
|
||||
},
|
||||
@@ -118,56 +80,26 @@
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers"
|
||||
}
|
||||
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
|
||||
},
|
||||
"sound_effects": {
|
||||
"title": "Sound Effects",
|
||||
"description": "TODO description: sound effects",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
|
||||
},
|
||||
"spawn_egg": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "TODO description: spawn egg",
|
||||
"title": "Spawn Egg",
|
||||
"dependencies": {
|
||||
"texture_index": ["texture"],
|
||||
"base_colour": ["overlay_color"],
|
||||
"overlay_color": ["base_color"]
|
||||
},
|
||||
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
|
||||
"properties": {
|
||||
"base_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: base color",
|
||||
"title": "Base Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"overlay_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "TODO description: texture",
|
||||
"title": "Texture"
|
||||
},
|
||||
"texture_index": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture index",
|
||||
"title": "Texture Index"
|
||||
}
|
||||
"base_color": { "type": "string", "description": "TODO description: base color", "title": "Base Color", "format": "color-hex" },
|
||||
"overlay_color": { "type": "string", "description": "TODO description: overlay color", "title": "Overlay Color", "format": "color-hex" },
|
||||
"texture": { "type": "string", "description": "TODO description: texture", "title": "Texture" },
|
||||
"texture_index": { "type": "integer", "description": "TODO description: texture index", "title": "Texture Index" }
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
@@ -180,42 +112,18 @@
|
||||
"type": "array",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
}
|
||||
"items": { "pattern": ";$", "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: pre aninamtion", "title": "Pre Animation" }
|
||||
},
|
||||
"parent_setup": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
},
|
||||
"scalex": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale X"
|
||||
},
|
||||
"scaley": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Y"
|
||||
},
|
||||
"scalez": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Z"
|
||||
}
|
||||
"parent_setup": { "$ref": "../../../molang/1.8.0/number.json" },
|
||||
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale" },
|
||||
"scalex": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale X" },
|
||||
"scaley": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Y" },
|
||||
"scalez": { "$ref": "../../../molang/1.8.0/number.json", "title": "Scale Z" }
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
|
||||
@@ -8,33 +8,19 @@
|
||||
"description": {
|
||||
"identifier": "minecraft:entity",
|
||||
"materials": { "default": "entity_custom" },
|
||||
"textures": {
|
||||
"default": "textures/entity/custom/entity"
|
||||
},
|
||||
"geometry": {
|
||||
"default": "geometry.entity"
|
||||
},
|
||||
"textures": { "default": "textures/entity/custom/entity" },
|
||||
"geometry": { "default": "geometry.entity" },
|
||||
"animations": {},
|
||||
"particle_effects": {},
|
||||
"scripts": {},
|
||||
"render_controllers": ["controller.render.entity"],
|
||||
|
||||
"spawn_egg": {
|
||||
"base_color": "#288483",
|
||||
"overlay_color": "#2B7135"
|
||||
}
|
||||
"spawn_egg": { "base_color": "#288483", "overlay_color": "#2B7135" }
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/entity.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/entity.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"$id": "blockception.minecraft.resource.1.16.100.resource",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Fog specification",
|
||||
"title": "Fog ",
|
||||
"description": "TODO",
|
||||
"definitions": {
|
||||
"colorHexOrArray": {
|
||||
@@ -17,11 +17,7 @@
|
||||
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Blue" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"format": "color-hex",
|
||||
"pattern": "^\\#[0-9a-fA-F]{6}$"
|
||||
}
|
||||
{ "type": "string", "format": "color-hex", "pattern": "^\\#[0-9a-fA-F]{6}$" }
|
||||
]
|
||||
},
|
||||
"defaultFogSettings": {
|
||||
@@ -31,25 +27,20 @@
|
||||
"examples": [{ "fog_start": 100, "fog_end": 200, "fog_color": "#056bd1", "render_distance_type": "render" }],
|
||||
"properties": {
|
||||
"fog_start": {
|
||||
"title": "Fog start",
|
||||
"title": "Fog Start",
|
||||
"description": "The distance from the player that the fog will begin to appear. 'fog_start' must be less than or equal to 'fog_end'.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"fog_end": {
|
||||
"title": "Fog end",
|
||||
"title": "Fog End",
|
||||
"description": "The distance from the player that the fog will become fully opaque. 'fog_end' must be greater than or equal to 'fog_start'.",
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"fog_color": {
|
||||
"title": "Fog color",
|
||||
"description": "The color that the fog will take on.",
|
||||
"type": "string",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"fog_color": { "title": "Fog Color", "description": "The color that the fog will take on.", "type": "string", "format": "color-hex" },
|
||||
"render_distance_type": {
|
||||
"title": "Render distance type",
|
||||
"title": "Render Distance Type",
|
||||
"description": "Determines how distance value is used. Fixed distance is measured in blocks. Dynamic distance is multiplied by the current render distance.",
|
||||
"type": "string",
|
||||
"enum": ["fixed", "render"]
|
||||
@@ -63,58 +54,42 @@
|
||||
"examples": [{ "max_density": 0.25 }, { "max_density": 0.25, "max_density_height": 128, "zero_density_height": 20, "uniform": true }],
|
||||
"properties": {
|
||||
"max_density": {
|
||||
"title": "Max density",
|
||||
"title": "Max Density",
|
||||
"description": "The maximum amount of opaqueness that the ground fog will take on. A value from [0.0, 1.0].",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"type": "number"
|
||||
},
|
||||
"max_density_height": {
|
||||
"title": "Max density height",
|
||||
"title": "Max Density Height",
|
||||
"description": "The height in blocks that the ground fog will become it's maximum density.",
|
||||
"minimum": 0,
|
||||
"maximum": 128,
|
||||
"type": "number"
|
||||
},
|
||||
"zero_density_height": {
|
||||
"title": "Zero density height",
|
||||
"title": "Zero Density Height",
|
||||
"description": "The height in blocks that the ground fog will be completely transparent and begin to appear. This value needs to be at least 1 higher than 'max_density_height'.",
|
||||
"minimum": 0,
|
||||
"maximum": 128,
|
||||
"type": "number"
|
||||
},
|
||||
"uniform": {
|
||||
"title": "Uniform",
|
||||
"description": "When set to true, the density will be uniform across all heights.",
|
||||
"type": "boolean"
|
||||
}
|
||||
"uniform": { "title": "Uniform", "description": "When set to true, the density will be uniform across all heights.", "type": "boolean" }
|
||||
}
|
||||
},
|
||||
"volumeMediaObject": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"absorption": {
|
||||
"title": "Absorption",
|
||||
"description": "Proportion of light that is absorbed (lost) per block.",
|
||||
"$ref": "#/definitions/colorHexOrArray"
|
||||
},
|
||||
"scattering": {
|
||||
"title": "Scattering",
|
||||
"description": "Proportion of light that is scattered per block.",
|
||||
"$ref": "#/definitions/colorHexOrArray"
|
||||
}
|
||||
"absorption": { "title": "Absorption", "description": "Proportion of light that is absorbed (lost) per block.", "$ref": "#/definitions/colorHexOrArray" },
|
||||
"scattering": { "title": "Scattering", "description": "Proportion of light that is scattered per block.", "$ref": "#/definitions/colorHexOrArray" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "Format version",
|
||||
"description": "TODO: format_version",
|
||||
"type": "string"
|
||||
},
|
||||
"format_version": { "title": "Format Version", "description": "TODO: format_version", "type": "string" },
|
||||
"minecraft:fog_settings": {
|
||||
"title": "Fog settings",
|
||||
"title": "Fog Settings",
|
||||
"description": "The definition of a single fog",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -139,36 +114,20 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"air": {
|
||||
"title": "Air",
|
||||
"description": "The fog settings when the camera is in the air.",
|
||||
"$ref": "#/definitions/defaultFogSettings"
|
||||
},
|
||||
"air": { "title": "Air", "description": "The fog settings when the camera is in the air.", "$ref": "#/definitions/defaultFogSettings" },
|
||||
"weather": {
|
||||
"title": "Weather",
|
||||
"description": " The fog settings for when the camera is in the air with active weather (rain, snow, etc..).",
|
||||
"$ref": "#/definitions/defaultFogSettings"
|
||||
},
|
||||
"water": {
|
||||
"title": "Water",
|
||||
"description": "The fog settings when the camera is in water.",
|
||||
"$ref": "#/definitions/defaultFogSettings"
|
||||
},
|
||||
"lava": {
|
||||
"title": "Lava",
|
||||
"description": "The fog settings when the camera is in lava.",
|
||||
"$ref": "#/definitions/defaultFogSettings"
|
||||
},
|
||||
"water": { "title": "Water", "description": "The fog settings when the camera is in water.", "$ref": "#/definitions/defaultFogSettings" },
|
||||
"lava": { "title": "Lava", "description": "The fog settings when the camera is in lava.", "$ref": "#/definitions/defaultFogSettings" },
|
||||
"lava_resistance": {
|
||||
"title": "Lava resistance",
|
||||
"title": "Lava Resistance",
|
||||
"description": "The fog settings when the camera is in lava and the player has the lava resistance effect active.",
|
||||
"$ref": "#/definitions/defaultFogSettings"
|
||||
},
|
||||
"powder_snow": {
|
||||
"title": "Powder snow",
|
||||
"description": "The fog settings when the camera is inside a Powder Snow block.",
|
||||
"$ref": "#/definitions/defaultFogSettings"
|
||||
}
|
||||
"powder_snow": { "title": "Powder Snow", "description": "The fog settings when the camera is inside a Powder Snow block.", "$ref": "#/definitions/defaultFogSettings" }
|
||||
}
|
||||
},
|
||||
"volumetric": {
|
||||
@@ -183,48 +142,24 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"air": {
|
||||
"title": "Air",
|
||||
"description": "Fog density values as light passes through air blocks.",
|
||||
"$ref": "#/definitions/volumeDensityObject"
|
||||
},
|
||||
"water": {
|
||||
"title": "Water",
|
||||
"description": "Fog density values as light passes through water blocks.",
|
||||
"$ref": "#/definitions/volumeDensityObject"
|
||||
},
|
||||
"lava": {
|
||||
"title": "Lava",
|
||||
"description": "Fog density values as light passes through lava blocks.",
|
||||
"$ref": "#/definitions/volumeDensityObject"
|
||||
},
|
||||
"air": { "title": "Air", "description": "Fog density values as light passes through air blocks.", "$ref": "#/definitions/volumeDensityObject" },
|
||||
"water": { "title": "Water", "description": "Fog density values as light passes through water blocks.", "$ref": "#/definitions/volumeDensityObject" },
|
||||
"lava": { "title": "Lava", "description": "Fog density values as light passes through lava blocks.", "$ref": "#/definitions/volumeDensityObject" },
|
||||
"lava_resistance": {
|
||||
"title": "Lava resistance",
|
||||
"title": "Lava Resistance",
|
||||
"description": "Fog density values as light passes through lava blocks while the player has lava resistance.",
|
||||
"$ref": "#/definitions/volumeDensityObject"
|
||||
}
|
||||
}
|
||||
},
|
||||
"media_coefficients": {
|
||||
"title": "Media coefficients",
|
||||
"title": "Media Coefficients",
|
||||
"description": "The coefficient settings for the volumetric fog in different blocks.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"air": {
|
||||
"title": "Air",
|
||||
"description": "Fog coefficient values while light passes through air.",
|
||||
"$ref": "#/definitions/volumeMediaObject"
|
||||
},
|
||||
"water": {
|
||||
"title": "Water",
|
||||
"description": "Fog coefficient values while light passes through water.",
|
||||
"$ref": "#/definitions/volumeMediaObject"
|
||||
},
|
||||
"cloud": {
|
||||
"title": "Cloud",
|
||||
"description": "Fog coefficient values while light passes through clouds.",
|
||||
"$ref": "#/definitions/volumeMediaObject"
|
||||
}
|
||||
"air": { "title": "Air", "description": "Fog coefficient values while light passes through air.", "$ref": "#/definitions/volumeMediaObject" },
|
||||
"water": { "title": "Water", "description": "Fog coefficient values while light passes through water.", "$ref": "#/definitions/volumeMediaObject" },
|
||||
"cloud": { "title": "Cloud", "description": "Fog coefficient values while light passes through clouds.", "$ref": "#/definitions/volumeMediaObject" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,10 +2,5 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.fog",
|
||||
"examples": [],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } },
|
||||
"then": { "$ref": "./1.16.100/fog.json" }
|
||||
}
|
||||
]
|
||||
"allOf": [{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/fog.json" } }]
|
||||
}
|
||||
|
||||
@@ -5,11 +5,7 @@
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"format_version": { "type": "string", "description": "TODO description", "title": "TODO Title" },
|
||||
"minecraft:item": {
|
||||
"title": "Item",
|
||||
"description": "TODO",
|
||||
@@ -24,16 +20,8 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "TODO",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
},
|
||||
"category": {
|
||||
"title": "Category",
|
||||
"description": "TODO",
|
||||
"type": "string"
|
||||
}
|
||||
"identifier": { "title": "Identifier", "description": "TODO", "$ref": "../../../general/item/identifier.json" },
|
||||
"category": { "title": "Category", "description": "TODO", "type": "string" }
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
@@ -41,17 +29,8 @@
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"minecraft:icon": {
|
||||
"title": "Icon",
|
||||
"description": "The texture defined in `textures/item_texture.json`",
|
||||
"type": "string"
|
||||
},
|
||||
"minecraft:render_offsets": {
|
||||
"type": "string",
|
||||
"description": "TODO",
|
||||
"title": "Render offsets",
|
||||
"enum": ["apple"]
|
||||
}
|
||||
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
|
||||
"minecraft:render_offsets": { "type": "string", "description": "TODO", "title": "Render Offsets", "enum": ["apple"] }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,25 +5,13 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"minecraft:item": {
|
||||
"description": {
|
||||
"identifier": "blockception:item",
|
||||
"category": "Equipment"
|
||||
},
|
||||
"components": {
|
||||
"minecraft:icon": "item",
|
||||
"minecraft:render_offsets": "apple"
|
||||
}
|
||||
"description": { "identifier": "blockception:item", "category": "Equipment" },
|
||||
"components": { "minecraft:icon": "item", "minecraft:render_offsets": "apple" }
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
|
||||
"then": { "$ref": "./1.10.0/items.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/items.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/items.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/items.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -95,48 +95,18 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"FailOperation": {
|
||||
"type": "string",
|
||||
"title": "Fail operation",
|
||||
"description": "TODO",
|
||||
"enum": ["Keep", "Replace"]
|
||||
},
|
||||
"FailOperation": { "type": "string", "title": "Fail Operation", "description": "TODO", "enum": ["Keep", "Replace"] },
|
||||
"FaceSpecification": {
|
||||
"type": "object",
|
||||
"title": "Face",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"stencilDepthFailOp": {
|
||||
"type": "string",
|
||||
"title": "Stencil depth fail operation",
|
||||
"description": "",
|
||||
"$ref": "#/definitions/FailOperation"
|
||||
},
|
||||
"stencilFailOp": {
|
||||
"type": "string",
|
||||
"title": "Stencil fail operation",
|
||||
"description": "",
|
||||
"$ref": "#/definitions/FailOperation"
|
||||
},
|
||||
"stencilFunc": {
|
||||
"type": "string",
|
||||
"title": "Stencil function",
|
||||
"description": "",
|
||||
"enum": ["Always", "Equal", "NotEqual"]
|
||||
},
|
||||
"stencilPass": {
|
||||
"type": "string",
|
||||
"title": "Stencil pass",
|
||||
"description": "",
|
||||
"enum": ["Replace"]
|
||||
},
|
||||
"stencilPassOp": {
|
||||
"type": "string",
|
||||
"title": "Stencil depth fail operation",
|
||||
"description": "",
|
||||
"$ref": "#/definitions/FailOperation"
|
||||
}
|
||||
"stencilDepthFailOp": { "type": "string", "title": "Stencil Depth Fail Operation", "description": "", "$ref": "#/definitions/FailOperation" },
|
||||
"stencilFailOp": { "type": "string", "title": "Stencil Fail Operation", "description": "", "$ref": "#/definitions/FailOperation" },
|
||||
"stencilFunc": { "type": "string", "title": "Stencil Function", "description": "", "enum": ["Always", "Equal", "NotEqual"] },
|
||||
"stencilPass": { "type": "string", "title": "Stencil Pass", "description": "", "enum": ["Replace"] },
|
||||
"stencilPassOp": { "type": "string", "title": "Stencil Depth Fail Operation", "description": "", "$ref": "#/definitions/FailOperation" }
|
||||
}
|
||||
},
|
||||
"StatesSpecification": {
|
||||
@@ -167,46 +137,26 @@
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Sample state",
|
||||
"title": "Sample State",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"samplerIndex": {
|
||||
"type": "integer",
|
||||
"title": "Sample state",
|
||||
"description": "TODO"
|
||||
},
|
||||
"textureFilter": {
|
||||
"type": "string",
|
||||
"title": "Texture filter",
|
||||
"description": "TODO",
|
||||
"enum": ["Point", "Bilinear", "TexelAA"]
|
||||
},
|
||||
"textureWrap": {
|
||||
"type": "string",
|
||||
"title": "Texture wrap",
|
||||
"description": "TODO",
|
||||
"enum": ["Repeat", "Clamp"]
|
||||
}
|
||||
"samplerIndex": { "type": "integer", "title": "Sample State", "description": "TODO" },
|
||||
"textureFilter": { "type": "string", "title": "Texture Filter", "description": "TODO", "enum": ["Point", "Bilinear", "TexelAA"] },
|
||||
"textureWrap": { "type": "string", "title": "Texture Wrap", "description": "TODO", "enum": ["Repeat", "Clamp"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"VertexFieldsSpecification": {
|
||||
"type": "array",
|
||||
"title": "Vertex fields",
|
||||
"title": "Vertex Fields",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Vertex field",
|
||||
"title": "Vertex Field",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"field": {
|
||||
"type": "string",
|
||||
"title": "Vertex field",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
"properties": { "field": { "type": "string", "title": "Vertex Field", "description": "TODO" } }
|
||||
}
|
||||
},
|
||||
"VariantSpecification": {
|
||||
@@ -217,14 +167,8 @@
|
||||
"type": "object",
|
||||
"title": "Variant",
|
||||
"description": "TODO",
|
||||
"propertyNames": {
|
||||
"enum": ["fading", "fog", "fog.underwater", "lit", "skinning", "skinning_color", "underlava", "underwater"]
|
||||
},
|
||||
"additionalProperties": {
|
||||
"title": "Variant Item",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/VariantsItemSpecificaiton"
|
||||
}
|
||||
"propertyNames": { "enum": ["fading", "fog", "fog.underwater", "lit", "skinning", "skinning_color", "underlava", "underwater"] },
|
||||
"additionalProperties": { "title": "Variant Item", "description": "TODO", "$ref": "#/definitions/VariantsItemSpecificaiton" }
|
||||
}
|
||||
},
|
||||
"VariantsItemSpecificaiton": {
|
||||
@@ -233,31 +177,11 @@
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"+defines": {
|
||||
"title": "Defines",
|
||||
"description": "TODO, Add definitions???",
|
||||
"$ref": "#/definitions/DefinesSpecification"
|
||||
},
|
||||
"vertexFields": {
|
||||
"title": "Vertex fields",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/VertexFieldsSpecification"
|
||||
},
|
||||
"states": {
|
||||
"title": "States",
|
||||
"description": "TODO, start states???",
|
||||
"$ref": "#/definitions/StatesSpecification"
|
||||
},
|
||||
"+states": {
|
||||
"title": "States",
|
||||
"description": "TODO, Add additional states???",
|
||||
"$ref": "#/definitions/StatesSpecification"
|
||||
},
|
||||
"-states": {
|
||||
"title": "States",
|
||||
"description": "TODO, remove additional states???",
|
||||
"$ref": "#/definitions/StatesSpecification"
|
||||
}
|
||||
"+defines": { "title": "Defines", "description": "TODO, Add definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"vertexFields": { "title": "Vertex Fields", "description": "TODO", "$ref": "#/definitions/VertexFieldsSpecification" },
|
||||
"states": { "title": "States", "description": "TODO, start states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"+states": { "title": "States", "description": "TODO, Add additional states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"-states": { "title": "States", "description": "TODO, remove additional states???", "$ref": "#/definitions/StatesSpecification" }
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -267,183 +191,48 @@
|
||||
"title": "Materials",
|
||||
"description": "TODO",
|
||||
"required": ["version"],
|
||||
"properties": {
|
||||
"version": {
|
||||
"type": "string",
|
||||
"const": "1.0.0",
|
||||
"title": "Version",
|
||||
"description": "TODO"
|
||||
}
|
||||
},
|
||||
"properties": { "version": { "type": "string", "const": "1.0.0", "title": "Version", "description": "TODO" } },
|
||||
"additionalProperties": {
|
||||
"title": "Material definitions",
|
||||
"title": "Material Definitions",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"alphaDst": {
|
||||
"type": "string",
|
||||
"title": "Alpha distance",
|
||||
"description": "TODO",
|
||||
"enum": ["DestColor", "OneMinusSrcAlpha"]
|
||||
},
|
||||
"backFace": {
|
||||
"title": "Back face",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/FaceSpecification"
|
||||
},
|
||||
"alphaDst": { "type": "string", "title": "Alpha Distance", "description": "TODO", "enum": ["DestColor", "OneMinusSrcAlpha"] },
|
||||
"backFace": { "title": "Back Face", "description": "TODO", "$ref": "#/definitions/FaceSpecification" },
|
||||
"blendDst": {
|
||||
"type": "string",
|
||||
"title": "Blend Distance",
|
||||
"description": "TODO",
|
||||
"enum": ["SourceAlpha", "OneMinusSrcAlpha", "OneMinusSrcColor", "SourceColor", "Zero", "One"]
|
||||
},
|
||||
"blendSrc": {
|
||||
"type": "string",
|
||||
"title": "Blend source",
|
||||
"description": "TODO",
|
||||
"enum": ["DestColor", "One", "OneMinusDestColor", "SourceAlpha", "SourceColor"]
|
||||
},
|
||||
"defines": {
|
||||
"title": "Defines",
|
||||
"description": "TODO, sets or starts definitions???",
|
||||
"$ref": "#/definitions/DefinesSpecification"
|
||||
},
|
||||
"+defines": {
|
||||
"title": "Defines",
|
||||
"description": "TODO, Add definitions???",
|
||||
"$ref": "#/definitions/DefinesSpecification"
|
||||
},
|
||||
"-defines": {
|
||||
"title": "Defines",
|
||||
"description": "TODO, removes definitions???",
|
||||
"$ref": "#/definitions/DefinesSpecification"
|
||||
},
|
||||
"depthBias": {
|
||||
"type": "number",
|
||||
"title": "Depth bias",
|
||||
"description": "TODO"
|
||||
},
|
||||
"depthBiasOGL": {
|
||||
"type": "number",
|
||||
"title": "Depth bias OGL",
|
||||
"description": "TODO"
|
||||
},
|
||||
"depthFunc": {
|
||||
"type": "string",
|
||||
"title": "Depth function",
|
||||
"description": "TODO",
|
||||
"enum": ["LessEqual", "Always", "Equal"]
|
||||
},
|
||||
"fragmentShader": {
|
||||
"type": "string",
|
||||
"title": "Fragment shader",
|
||||
"description": "TODO",
|
||||
"pattern": "^shaders/.*\\.fragment$"
|
||||
},
|
||||
"frontFace": {
|
||||
"title": "Front face",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/FaceSpecification"
|
||||
},
|
||||
"isAnimatedTexture": {
|
||||
"type": "integer",
|
||||
"title": "Is animated texture",
|
||||
"description": "TODO, think its a boolean value as a number, so 1 and 0????"
|
||||
},
|
||||
"msaaSupport": {
|
||||
"type": "string",
|
||||
"title": "MSAA support",
|
||||
"description": "TODO",
|
||||
"enum": ["Both", "MSAA"]
|
||||
},
|
||||
"primitiveMode": {
|
||||
"type": "string",
|
||||
"title": "Primitive mode",
|
||||
"description": "TODO",
|
||||
"enum": ["Line"]
|
||||
},
|
||||
"samplerStates": {
|
||||
"title": "Sampler States",
|
||||
"description": "TODO, set or start samplerStates???",
|
||||
"$ref": "#/definitions/SamplerStatesSpecification"
|
||||
},
|
||||
"+samplerStates": {
|
||||
"title": "Sampler States",
|
||||
"description": "TODO, Add samplerStates???",
|
||||
"$ref": "#/definitions/SamplerStatesSpecification"
|
||||
},
|
||||
"slopeScaledDepthBias": {
|
||||
"type": "number",
|
||||
"title": "Slope scaled depth bias",
|
||||
"description": "TODO"
|
||||
},
|
||||
"slopeScaledDepthBiasOGL": {
|
||||
"type": "number",
|
||||
"title": "Slope scaled depth bias OGL",
|
||||
"description": "TODO"
|
||||
},
|
||||
"states": {
|
||||
"title": "States",
|
||||
"description": "TODO, start states???",
|
||||
"$ref": "#/definitions/StatesSpecification"
|
||||
},
|
||||
"+states": {
|
||||
"title": "States",
|
||||
"description": "TODO, Add additional states???",
|
||||
"$ref": "#/definitions/StatesSpecification"
|
||||
},
|
||||
"-states": {
|
||||
"title": "States",
|
||||
"description": "TODO, remove additional states???",
|
||||
"$ref": "#/definitions/StatesSpecification"
|
||||
},
|
||||
"stencilRef": {
|
||||
"type": "integer",
|
||||
"title": "Stencil Ref",
|
||||
"description": "TODO"
|
||||
},
|
||||
"stencilRefOverride": {
|
||||
"type": "integer",
|
||||
"title": "Stencil ref override",
|
||||
"description": "TODO"
|
||||
},
|
||||
"stencilReadMask": {
|
||||
"type": "integer",
|
||||
"title": "Stencil read mask",
|
||||
"description": "TODO"
|
||||
},
|
||||
"stencilWriteMask": {
|
||||
"type": "integer",
|
||||
"title": "Stencil write mask",
|
||||
"description": "TODO"
|
||||
},
|
||||
"variants": {
|
||||
"title": "Variants",
|
||||
"description": "TODO, sets the variants?",
|
||||
"$ref": "#/definitions/VariantSpecification"
|
||||
},
|
||||
"+variants": {
|
||||
"title": "Variants",
|
||||
"description": "TODO, adds variants?",
|
||||
"$ref": "#/definitions/VariantSpecification"
|
||||
},
|
||||
"vertexFields": {
|
||||
"title": "Vertex fields",
|
||||
"description": "TODO",
|
||||
"$ref": "#/definitions/VertexFieldsSpecification"
|
||||
},
|
||||
"vertexShader": {
|
||||
"type": "string",
|
||||
"title": "Vertex shader",
|
||||
"description": "TODO",
|
||||
"pattern": "^shaders/.*\\.vertex$"
|
||||
},
|
||||
"vrGeometryShader": {
|
||||
"type": "string",
|
||||
"title": "VR geometry shader",
|
||||
"description": "TODO",
|
||||
"pattern": "^shaders/.*\\.geometry$"
|
||||
}
|
||||
"blendSrc": { "type": "string", "title": "Blend Source", "description": "TODO", "enum": ["DestColor", "One", "OneMinusDestColor", "SourceAlpha", "SourceColor"] },
|
||||
"defines": { "title": "Defines", "description": "TODO, sets or starts definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"+defines": { "title": "Defines", "description": "TODO, Add definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"-defines": { "title": "Defines", "description": "TODO, removes definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"depthBias": { "type": "number", "title": "Depth Bias", "description": "TODO" },
|
||||
"depthBiasOGL": { "type": "number", "title": "Depth Bias OGL", "description": "TODO" },
|
||||
"depthFunc": { "type": "string", "title": "Depth Function", "description": "TODO", "enum": ["LessEqual", "Always", "Equal"] },
|
||||
"fragmentShader": { "type": "string", "title": "Fragment Shader", "description": "TODO", "pattern": "^shaders/.*\\.fragment$" },
|
||||
"frontFace": { "title": "Front Face", "description": "TODO", "$ref": "#/definitions/FaceSpecification" },
|
||||
"isAnimatedTexture": { "type": "integer", "title": "Is Animated Texture", "description": "TODO, think its a boolean value as a number, so 1 and 0????" },
|
||||
"msaaSupport": { "type": "string", "title": "MSAA Support", "description": "TODO", "enum": ["Both", "MSAA"] },
|
||||
"primitiveMode": { "type": "string", "title": "Primitive Mode", "description": "TODO", "enum": ["Line"] },
|
||||
"samplerStates": { "title": "Sampler States", "description": "TODO, set or start samplerStates???", "$ref": "#/definitions/SamplerStatesSpecification" },
|
||||
"+samplerStates": { "title": "Sampler States", "description": "TODO, Add samplerStates???", "$ref": "#/definitions/SamplerStatesSpecification" },
|
||||
"slopeScaledDepthBias": { "type": "number", "title": "Slope Scaled Depth Bias", "description": "TODO" },
|
||||
"slopeScaledDepthBiasOGL": { "type": "number", "title": "Slope Scaled Depth Bias OGL", "description": "TODO" },
|
||||
"states": { "title": "States", "description": "TODO, start states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"+states": { "title": "States", "description": "TODO, Add additional states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"-states": { "title": "States", "description": "TODO, remove additional states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"stencilRef": { "type": "integer", "title": "Stencil Ref", "description": "TODO" },
|
||||
"stencilRefOverride": { "type": "integer", "title": "Stencil Ref Override", "description": "TODO" },
|
||||
"stencilReadMask": { "type": "integer", "title": "Stencil Read Mask", "description": "TODO" },
|
||||
"stencilWriteMask": { "type": "integer", "title": "Stencil Write Mask", "description": "TODO" },
|
||||
"variants": { "title": "Variants", "description": "TODO, sets the variants?", "$ref": "#/definitions/VariantSpecification" },
|
||||
"+variants": { "title": "Variants", "description": "TODO, adds variants?", "$ref": "#/definitions/VariantSpecification" },
|
||||
"vertexFields": { "title": "Vertex Fields", "description": "TODO", "$ref": "#/definitions/VertexFieldsSpecification" },
|
||||
"vertexShader": { "type": "string", "title": "Vertex Shader", "description": "TODO", "pattern": "^shaders/.*\\.vertex$" },
|
||||
"vrGeometryShader": { "type": "string", "title": "VR Geometry Shader", "description": "TODO", "pattern": "^shaders/.*\\.geometry$" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,25 +2,19 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model.1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack model schema for 1.10.0",
|
||||
"title": "Resourcepack Model Schema For 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version"],
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"title": "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."
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)"
|
||||
},
|
||||
"propertyNames": { "pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -38,303 +32,72 @@
|
||||
"title": "Bone",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"bind_pose_rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bind_pose_rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"inflate": { "type": "number" },
|
||||
"mirror": { "type": "boolean" },
|
||||
"origin": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"size": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"uv": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"locators": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"neverRender": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"parent": {
|
||||
"type": "string"
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number" },
|
||||
"locators": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "number" } } },
|
||||
"mirror": { "type": "boolean" },
|
||||
"name": { "type": "string" },
|
||||
"neverRender": { "type": "boolean" },
|
||||
"parent": { "type": "string" },
|
||||
"pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"poly_mesh": {
|
||||
"type": "object",
|
||||
"required": ["polys"],
|
||||
"properties": {
|
||||
"normalized_uvs": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"positions": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normals": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normalized_uvs": { "type": "boolean" },
|
||||
"positions": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"normals": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"polys": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 4,
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"items": { "type": "array", "minItems": 3, "maxItems": 4, "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"reset": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"reset": { "type": "boolean" },
|
||||
"rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"texture": {
|
||||
"type": "string"
|
||||
},
|
||||
"local_pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"texture": { "type": "string" },
|
||||
"local_pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"position": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"scale": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"type": "string"
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"texturewidth": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texturewidth",
|
||||
"title": "Texturewidth"
|
||||
},
|
||||
"textureheight": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: textureheight",
|
||||
"title": "Textureheight"
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds width",
|
||||
"title": "Visible Bounds Width"
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds height",
|
||||
"title": "Visible Bounds Height"
|
||||
},
|
||||
"cape": { "type": "string" },
|
||||
"debug": { "type": "boolean" },
|
||||
"texturewidth": { "type": "integer", "description": "TODO description: texturewidth", "title": "Texturewidth" },
|
||||
"textureheight": { "type": "integer", "description": "TODO description: textureheight", "title": "Textureheight" },
|
||||
"visible_bounds_width": { "type": "number", "description": "TODO description: visible bounds width", "title": "Visible Bounds Width" },
|
||||
"visible_bounds_height": { "type": "number", "description": "TODO description: visible bounds height", "title": "Visible Bounds Height" },
|
||||
"visible_bounds_offset": {
|
||||
"type": "array",
|
||||
"description": "TODO description: visible bounds offset",
|
||||
"title": "Visible Bounds Offset",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,14 +7,7 @@
|
||||
"description": "The minecraft resourcepack model schema for 1.12.0",
|
||||
"required": ["format_version", "minecraft:geometry"],
|
||||
"definitions": {
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"uv": { "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "number" } },
|
||||
"direction_uv": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -23,26 +16,15 @@
|
||||
"description": "Specifies the uv origin for the face. For this face, it is the upper-left corner, when looking at the face with y being up.",
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"uv_size": {
|
||||
"description": "The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.",
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"material_instance": {
|
||||
"type": "string",
|
||||
"description": "TODO"
|
||||
}
|
||||
"uv_size": { "description": "The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.", "$ref": "#/definitions/uv" },
|
||||
"material_instance": { "type": "string", "description": "TODO" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.12.0 format version",
|
||||
"title": "1.12.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.12.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
@@ -72,36 +54,18 @@
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$",
|
||||
"title": "Identifier"
|
||||
},
|
||||
"texture_width": {
|
||||
"type": "number",
|
||||
"description": "Assumed width in texels of the texture that will be bound to this geometry.",
|
||||
"title": "Texture Width"
|
||||
},
|
||||
"texture_height": {
|
||||
"type": "number",
|
||||
"description": "Assumed height in texels of the texture that will be bound to this geometry.",
|
||||
"title": "Texture Height"
|
||||
},
|
||||
"texture_width": { "type": "number", "description": "Assumed width in texels of the texture that will be bound to this geometry.", "title": "Texture Width" },
|
||||
"texture_height": { "type": "number", "description": "Assumed height in texels of the texture that will be bound to this geometry.", "title": "Texture Height" },
|
||||
"visible_bounds_offset": {
|
||||
"description": "Offset of the visibility bounding box from the entity location point (in model space units).",
|
||||
"title": "Visible Bounds Offset",
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
"items": { "type": "number" }
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"description": "Width of the visibility bounding box (in model space units).",
|
||||
"title": "Visible Bounds Width"
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"description": "Height of the visible bounding box (in model space units).",
|
||||
"title": "Visible Bounds Height"
|
||||
}
|
||||
"visible_bounds_width": { "type": "number", "description": "Width of the visibility bounding box (in model space units).", "title": "Visible Bounds Width" },
|
||||
"visible_bounds_height": { "type": "number", "description": "Height of the visible bounding box (in model space units).", "title": "Visible Bounds Height" }
|
||||
}
|
||||
},
|
||||
"bones": {
|
||||
@@ -113,10 +77,7 @@
|
||||
"description": "A bones specification",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"average_normals": {
|
||||
"type": "object",
|
||||
"examples": [null]
|
||||
},
|
||||
"average_normals": { "type": "object", "examples": [null] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"description": "This is the list of cubes associated with this bone.",
|
||||
@@ -137,10 +98,7 @@
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)." }
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
@@ -155,19 +113,13 @@
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot."
|
||||
}
|
||||
"items": { "type": "number", "description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot." }
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "The cube extends this amount relative to its origin (in model space units)." }
|
||||
},
|
||||
"uv": {
|
||||
"description": "This is an alternate per-face uv mapping which specifies each face of the cube. Omitting a face will cause that face to not get drawn.",
|
||||
@@ -202,26 +154,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
{ "type": "array", "minItems": 2, "maxItems": 2, "items": { "type": "number" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number",
|
||||
"description": "Grow this box by this additive amount in all directions (in model space units)."
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number", "description": "Grow this box by this additive amount in all directions (in model space units)." },
|
||||
"locators": {
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"type": "object",
|
||||
@@ -236,25 +176,16 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Position of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Rotation of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Rotation of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Rotation of the locator in model space." }
|
||||
},
|
||||
"ignore_inherited_scale": {
|
||||
"type": "boolean",
|
||||
"description": "Discard scale inherited from parent bone."
|
||||
}
|
||||
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -262,35 +193,20 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean",
|
||||
"description": "Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Animation files refer to this bone via this identifier."
|
||||
},
|
||||
"parent": {
|
||||
"type": "string",
|
||||
"description": "Bone that this bone is relative to. If the parent bone moves, this bone will move along with it."
|
||||
},
|
||||
"mirror": { "type": "boolean", "description": "Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped." },
|
||||
"name": { "type": "string", "description": "Animation files refer to this bone via this identifier." },
|
||||
"parent": { "type": "string", "description": "Bone that this bone is relative to. If the parent bone moves, this bone will move along with it." },
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "The bone pivots around this point (in model space units).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The bone pivots around this point (in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "The bone pivots around this point (in model space units)." }
|
||||
},
|
||||
"poly_mesh": {
|
||||
"additionalProperties": false,
|
||||
@@ -336,18 +252,9 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the position"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the normal vertex"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the uv vertex"
|
||||
}
|
||||
{ "type": "number", "description": "The index of the position" },
|
||||
{ "type": "number", "description": "The index of the normal vertex" },
|
||||
{ "type": "number", "description": "The index of the uv vertex" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -382,19 +289,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "The bone pivots around this point (in model space units).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)."
|
||||
}
|
||||
"items": { "type": "number", "description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)." }
|
||||
},
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
@@ -408,10 +309,7 @@
|
||||
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry"
|
||||
}
|
||||
"items": { "type": "number", "description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry" }
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
@@ -428,34 +326,23 @@
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The rotation (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The scale (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "The friendly-named texture to use."
|
||||
}
|
||||
"texture": { "type": "string", "description": "The friendly-named texture to use." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"type": "string"
|
||||
}
|
||||
"cape": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,27 +24,18 @@
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"uv_size": {
|
||||
"title": "Uv size",
|
||||
"title": "Uv Size",
|
||||
"description": "The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.",
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"material_instance": {
|
||||
"type": "string",
|
||||
"title": "Material instance",
|
||||
"description": "Specifies the UV's for the face that stretches"
|
||||
}
|
||||
"material_instance": { "type": "string", "title": "Material Instance", "description": "Specifies the UV's for the face that stretches" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.14.0 format version",
|
||||
"title": "1.14.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.14.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
@@ -74,36 +65,18 @@
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$",
|
||||
"title": "Identifier"
|
||||
},
|
||||
"texture_width": {
|
||||
"type": "number",
|
||||
"description": "Assumed width in texels of the texture that will be bound to this geometry.",
|
||||
"title": "Texture Width"
|
||||
},
|
||||
"texture_height": {
|
||||
"type": "number",
|
||||
"description": "Assumed height in texels of the texture that will be bound to this geometry.",
|
||||
"title": "Texture Height"
|
||||
},
|
||||
"texture_width": { "type": "number", "description": "Assumed width in texels of the texture that will be bound to this geometry.", "title": "Texture Width" },
|
||||
"texture_height": { "type": "number", "description": "Assumed height in texels of the texture that will be bound to this geometry.", "title": "Texture Height" },
|
||||
"visible_bounds_offset": {
|
||||
"description": "Offset of the visibility bounding box from the entity location point (in model space units).",
|
||||
"title": "Visible Bounds Offset",
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
"items": { "type": "number" }
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"description": "Width of the visibility bounding box (in model space units).",
|
||||
"title": "Visible Bounds Width"
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"description": "Height of the visible bounding box (in model space units).",
|
||||
"title": "Visible Bounds Height"
|
||||
}
|
||||
"visible_bounds_width": { "type": "number", "description": "Width of the visibility bounding box (in model space units).", "title": "Visible Bounds Width" },
|
||||
"visible_bounds_height": { "type": "number", "description": "Height of the visible bounding box (in model space units).", "title": "Visible Bounds Height" }
|
||||
}
|
||||
},
|
||||
"bones": {
|
||||
@@ -115,10 +88,7 @@
|
||||
"description": "A bones specification",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"average_normals": {
|
||||
"type": "object",
|
||||
"examples": [null]
|
||||
},
|
||||
"average_normals": { "type": "object", "examples": [null] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"description": "This is the list of cubes associated with this bone.",
|
||||
@@ -139,10 +109,7 @@
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)." }
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
@@ -171,31 +138,16 @@
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot."
|
||||
}
|
||||
"items": { "type": "number", "description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot." }
|
||||
},
|
||||
"size": {
|
||||
"title": "Size",
|
||||
"type": "array",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units).",
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"title": "X",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Y",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Z",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
}
|
||||
{ "type": "number", "title": "X", "description": "The cube extends this amount relative to its origin (in model space units)." },
|
||||
{ "type": "number", "title": "Y", "description": "The cube extends this amount relative to its origin (in model space units)." },
|
||||
{ "type": "number", "title": "Z", "description": "The cube extends this amount relative to its origin (in model space units)." }
|
||||
]
|
||||
},
|
||||
"uv": {
|
||||
@@ -250,13 +202,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number",
|
||||
"description": "Grow this box by this additive amount in all directions (in model space units)."
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number", "description": "Grow this box by this additive amount in all directions (in model space units)." },
|
||||
"locators": {
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"type": "object",
|
||||
@@ -271,25 +218,16 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Position of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Rotation of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Rotation of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Rotation of the locator in model space." }
|
||||
},
|
||||
"ignore_inherited_scale": {
|
||||
"type": "boolean",
|
||||
"description": "Discard scale inherited from parent bone."
|
||||
}
|
||||
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -297,10 +235,7 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -310,11 +245,7 @@
|
||||
"title": "Mirror",
|
||||
"description": "Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Name",
|
||||
"description": "Animation files refer to this bone via this identifier."
|
||||
},
|
||||
"name": { "type": "string", "title": "Name", "description": "Animation files refer to this bone via this identifier." },
|
||||
"parent": {
|
||||
"type": "string",
|
||||
"title": "Parent",
|
||||
@@ -325,10 +256,7 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "The bone pivots around this point (in model space units).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The bone pivots around this point (in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "The bone pivots around this point (in model space units)." }
|
||||
},
|
||||
"poly_mesh": {
|
||||
"additionalProperties": false,
|
||||
@@ -374,18 +302,9 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the position"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the normal vertex"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the uv vertex"
|
||||
}
|
||||
{ "type": "number", "description": "The index of the position" },
|
||||
{ "type": "number", "description": "The index of the normal vertex" },
|
||||
{ "type": "number", "description": "The index of the uv vertex" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -420,19 +339,13 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "The bone pivots around this point (in model space units).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)."
|
||||
}
|
||||
"items": { "type": "number", "description": "This is the initial rotation of the bone around the pivot, pre-animation (in degrees, x-then-y-then-z order)." }
|
||||
},
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
@@ -447,10 +360,7 @@
|
||||
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry"
|
||||
}
|
||||
"items": { "type": "number", "description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry" }
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
@@ -467,34 +377,23 @@
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The rotation (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The scale (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "The friendly-named texture to use."
|
||||
}
|
||||
"texture": { "type": "string", "description": "The friendly-named texture to use." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"type": "string"
|
||||
}
|
||||
"cape": { "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,27 +24,18 @@
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"uv_size": {
|
||||
"title": "Uv size",
|
||||
"title": "Uv Size",
|
||||
"description": "The face maps this many texels from the uv origin. If not specified, the box dimensions are used instead.",
|
||||
"$ref": "#/definitions/uv"
|
||||
},
|
||||
"material_instance": {
|
||||
"type": "string",
|
||||
"title": "Material instance",
|
||||
"description": "Specifies the UV's for the face that stretches"
|
||||
}
|
||||
"material_instance": { "type": "string", "title": "Material Instance", "description": "Specifies the UV's for the face that stretches" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"debug": {
|
||||
"title": "Debug",
|
||||
"description": "TODO description",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"debug": { "title": "Debug", "description": "TODO description", "type": "boolean", "default": false },
|
||||
"format_version": {
|
||||
"title": "The 1.16.0 format version",
|
||||
"title": "1.16.0 Format Version",
|
||||
"type": "string",
|
||||
"pattern": "^1.16.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
@@ -74,36 +65,18 @@
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$",
|
||||
"title": "Identifier"
|
||||
},
|
||||
"texture_width": {
|
||||
"type": "number",
|
||||
"description": "Assumed width in texels of the texture that will be bound to this geometry.",
|
||||
"title": "Texture Width"
|
||||
},
|
||||
"texture_height": {
|
||||
"type": "number",
|
||||
"description": "Assumed height in texels of the texture that will be bound to this geometry.",
|
||||
"title": "Texture Height"
|
||||
},
|
||||
"texture_width": { "type": "number", "description": "Assumed width in texels of the texture that will be bound to this geometry.", "title": "Texture Width" },
|
||||
"texture_height": { "type": "number", "description": "Assumed height in texels of the texture that will be bound to this geometry.", "title": "Texture Height" },
|
||||
"visible_bounds_offset": {
|
||||
"title": "Visible Bounds Offset",
|
||||
"description": "Offset of the visibility bounding box from the entity location point (in model space units).",
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
"items": { "type": "number" }
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"title": "Visible Bounds Width",
|
||||
"description": "Width of the visibility bounding box (in model space units)."
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"title": "Visible Bounds Height",
|
||||
"description": "Height of the visible bounding box (in model space units)."
|
||||
}
|
||||
"visible_bounds_width": { "type": "number", "title": "Visible Bounds Width", "description": "Width of the visibility bounding box (in model space units)." },
|
||||
"visible_bounds_height": { "type": "number", "title": "Visible Bounds Height", "description": "Height of the visible bounding box (in model space units)." }
|
||||
}
|
||||
},
|
||||
"bones": {
|
||||
@@ -142,10 +115,7 @@
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)."
|
||||
}
|
||||
"items": { "type": "number", "description": "This point declares the unrotated lower corner of cube (smallest x/y/z value in model space units)." }
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
@@ -174,31 +144,16 @@
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot."
|
||||
}
|
||||
"items": { "type": "number", "description": "The cube is rotated by this amount (in degrees, x-then-y-then-z order) around the pivot." }
|
||||
},
|
||||
"size": {
|
||||
"title": "Size",
|
||||
"type": "array",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units).",
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"title": "X",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Y",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"title": "Z",
|
||||
"description": "The cube extends this amount relative to its origin (in model space units)."
|
||||
}
|
||||
{ "type": "number", "title": "X", "description": "The cube extends this amount relative to its origin (in model space units)." },
|
||||
{ "type": "number", "title": "Y", "description": "The cube extends this amount relative to its origin (in model space units)." },
|
||||
{ "type": "number", "title": "Z", "description": "The cube extends this amount relative to its origin (in model space units)." }
|
||||
]
|
||||
},
|
||||
"uv": {
|
||||
@@ -253,13 +208,8 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number",
|
||||
"description": "Grow this box by this additive amount in all directions (in model space units)."
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number", "description": "Grow this box by this additive amount in all directions (in model space units)." },
|
||||
"locators": {
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"type": "object",
|
||||
@@ -274,25 +224,16 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Position of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "Rotation of the locator in model space.",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Rotation of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Rotation of the locator in model space." }
|
||||
},
|
||||
"ignore_inherited_scale": {
|
||||
"type": "boolean",
|
||||
"description": "Discard scale inherited from parent bone."
|
||||
}
|
||||
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -300,10 +241,7 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "This is a list of locators associated with this bone. A locator is a point in model space that tracks a particular bone as the bone animates (by maintaining it's relationship to the bone through the animation).",
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "Position of the locator in model space."
|
||||
}
|
||||
"items": { "type": "number", "description": "Position of the locator in model space." }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -313,11 +251,7 @@
|
||||
"title": "Mirror",
|
||||
"description": "Mirrors the UV's of the unrotated cubes along the x axis, also causes the east/west faces to get flipped."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Name",
|
||||
"description": "Animation files refer to this bone via this identifier."
|
||||
},
|
||||
"name": { "type": "string", "title": "Name", "description": "Animation files refer to this bone via this identifier." },
|
||||
"parent": {
|
||||
"type": "string",
|
||||
"title": "Parent",
|
||||
@@ -377,18 +311,9 @@
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the position"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the normal vertex"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"description": "The index of the uv vertex"
|
||||
}
|
||||
{ "type": "number", "description": "The index of the position" },
|
||||
{ "type": "number", "description": "The index of the normal vertex" },
|
||||
{ "type": "number", "description": "The index of the uv vertex" }
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -423,10 +348,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"render_group_id": { "type": "integer", "minimum": 0 },
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"title": "Rotation",
|
||||
@@ -439,7 +361,7 @@
|
||||
},
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
"title": "Texture meshes",
|
||||
"title": "Texture Meshes",
|
||||
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
|
||||
"items": {
|
||||
"type": "object",
|
||||
@@ -451,10 +373,7 @@
|
||||
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry"
|
||||
}
|
||||
"items": { "type": "number", "description": "The pivot point on the texture (in *texture space* not entity or bone space) of the texture geometry" }
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
@@ -471,36 +390,23 @@
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The rotation (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The rotation (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"type": "number",
|
||||
"description": "The scale (in degrees) of the texture geometry relative to the offset"
|
||||
}
|
||||
"items": { "type": "number", "description": "The scale (in degrees) of the texture geometry relative to the offset" }
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "The friendly-named texture to use."
|
||||
}
|
||||
"texture": { "type": "string", "description": "The friendly-named texture to use." }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"title": "Cape",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "string"
|
||||
}
|
||||
"cape": { "title": "Cape", "description": "UNDOCUMENTATED", "type": "string" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,25 +2,19 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model.1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack model schema for 1.8.0",
|
||||
"title": "Resourcepack Model Schema For 1.8.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version"],
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"title": "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."
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)"
|
||||
},
|
||||
"propertyNames": { "pattern": "(^geometry\\.[a-zA-Z0-9_.'\\-:]+|format_version)" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -38,327 +32,80 @@
|
||||
"title": "Bone",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"bind_pose_rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bind_pose_rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"cubes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"inflate": { "type": "number" },
|
||||
"mirror": { "type": "boolean" },
|
||||
"origin": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"size": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"uv": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"debug": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"inflate": {
|
||||
"type": "number"
|
||||
},
|
||||
"locators": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mirror": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"neverRender": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"parent": {
|
||||
"type": "string"
|
||||
},
|
||||
"pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"debug": { "type": "boolean" },
|
||||
"inflate": { "type": "number" },
|
||||
"locators": { "type": "object", "additionalProperties": { "type": "array", "items": { "type": "number" } } },
|
||||
"mirror": { "type": "boolean" },
|
||||
"name": { "type": "string" },
|
||||
"neverRender": { "type": "boolean" },
|
||||
"parent": { "type": "string" },
|
||||
"pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"poly_mesh": {
|
||||
"type": "object",
|
||||
"required": ["polys"],
|
||||
"title": "Poly mesh",
|
||||
"title": "Poly Mesh",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"normalized_uvs": {
|
||||
"title": "Normalized uvs",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"positions": {
|
||||
"title": "Positions",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normals": {
|
||||
"title": "Normals",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"normalized_uvs": { "title": "Normalized Uvs", "description": "TODO", "type": "boolean" },
|
||||
"positions": { "title": "Positions", "description": "TODO", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"normals": { "title": "Normals", "description": "TODO", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"polys": {
|
||||
"title": "Polys",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 4,
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"items": { "type": "array", "minItems": 3, "maxItems": 4, "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"render_group_id": {
|
||||
"title": "Render group id",
|
||||
"description": "TODO",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
},
|
||||
"reset": {
|
||||
"title": "Reset",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"rotation": {
|
||||
"title": "Rotation",
|
||||
"description": "TODO",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"render_group_id": { "title": "Render Group Id", "description": "TODO", "type": "integer", "minimum": 0 },
|
||||
"reset": { "title": "Reset", "description": "TODO", "type": "boolean" },
|
||||
"rotation": { "title": "Rotation", "description": "TODO", "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"texture_meshes": {
|
||||
"type": "array",
|
||||
"title": "Texture meshes",
|
||||
"title": "Texture Meshes",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"texture": {
|
||||
"type": "string"
|
||||
},
|
||||
"local_pivot": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"position": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rotation": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"scale": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"texture": { "type": "string" },
|
||||
"local_pivot": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"position": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"rotation": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] },
|
||||
"scale": { "type": "array", "items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cape": {
|
||||
"title": "Cape",
|
||||
"description": "TODO",
|
||||
"type": "string"
|
||||
},
|
||||
"debug": {
|
||||
"title": "Debug",
|
||||
"description": "TODO",
|
||||
"type": "boolean"
|
||||
},
|
||||
"texturewidth": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texturewidth",
|
||||
"title": "Texturewidth"
|
||||
},
|
||||
"textureheight": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: textureheight",
|
||||
"title": "Textureheight"
|
||||
},
|
||||
"visible_bounds_width": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds width",
|
||||
"title": "Visible Bounds Width"
|
||||
},
|
||||
"visible_bounds_height": {
|
||||
"type": "number",
|
||||
"description": "TODO description: visible bounds height",
|
||||
"title": "Visible Bounds Height"
|
||||
},
|
||||
"cape": { "title": "Cape", "description": "TODO", "type": "string" },
|
||||
"debug": { "title": "Debug", "description": "TODO", "type": "boolean" },
|
||||
"texturewidth": { "type": "integer", "description": "TODO description: texturewidth", "title": "Texturewidth" },
|
||||
"textureheight": { "type": "integer", "description": "TODO description: textureheight", "title": "Textureheight" },
|
||||
"visible_bounds_width": { "type": "number", "description": "TODO description: visible bounds width", "title": "Visible Bounds Width" },
|
||||
"visible_bounds_height": { "type": "number", "description": "TODO description: visible bounds height", "title": "Visible Bounds Height" },
|
||||
"visible_bounds_offset": {
|
||||
"type": "array",
|
||||
"description": "TODO description: visible bounds offset",
|
||||
"title": "Visible Bounds Offset",
|
||||
"items": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,38 +6,17 @@
|
||||
"format_version": "1.16.0",
|
||||
"minecraft:geometry": [
|
||||
{
|
||||
"description": {
|
||||
"identifier": "geometry.entity",
|
||||
"texture_width": 64.0,
|
||||
"texture_height": 64.0,
|
||||
"visible_bounds_offset": [0.0, 0.5, 0.0],
|
||||
"visible_bounds_width": 1.5
|
||||
},
|
||||
"description": { "identifier": "geometry.entity", "texture_width": 64.0, "texture_height": 64.0, "visible_bounds_offset": [0.0, 0.5, 0.0], "visible_bounds_width": 1.5 },
|
||||
"bones": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } },
|
||||
"then": { "$ref": "./1.12.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
|
||||
"then": { "$ref": "./1.14.0/model_entity.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } },
|
||||
"then": { "$ref": "./1.16.0/model_entity.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } }, "then": { "$ref": "./1.12.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/model_entity.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } }, "then": { "$ref": "./1.16.0/model_entity.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,18 +3,10 @@
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_initialization",
|
||||
"description": "This component allows the emitter to run some Molang at creation, primarily to populate any MoLang variables that get used later.",
|
||||
"type": "object",
|
||||
"title": "The emitter initialization component for 1.10.0",
|
||||
"title": "Emitter Initialization Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"creation_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/string.json",
|
||||
"description": "This is run once at emitter startup.",
|
||||
"title": "Creation Expression"
|
||||
},
|
||||
"per_update_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/string.json",
|
||||
"description": "This is run once per emitter update.",
|
||||
"title": "Per Update Expression"
|
||||
}
|
||||
"creation_expression": { "$ref": "../../../../molang/1.8.0/string.json", "description": "This is run once at emitter startup.", "title": "Creation Expression" },
|
||||
"per_update_expression": { "$ref": "../../../../molang/1.8.0/string.json", "description": "This is run once per emitter update.", "title": "Per Update Expression" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,99 +2,47 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events",
|
||||
"type": "object",
|
||||
"title": "The emitter lifetime events component for 1.10.0",
|
||||
"title": "Emitter Lifetime Events Component For 1.10.0",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"creation_event": {
|
||||
"title": "Creation event",
|
||||
"title": "Creation Event",
|
||||
"description": "Fires when the emitter is created",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
|
||||
},
|
||||
"expiration_event": {
|
||||
"title": "Expiration event",
|
||||
"title": "Expiration Event",
|
||||
"description": "Fires when the emitter expires (does not wait for particles to expire too)",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
|
||||
},
|
||||
"timeline": {
|
||||
"type": "object",
|
||||
"description": "A series of times, e.g. 0.0 or 1.0, that trigger the event, these get fired on every loop the emitter goes through, \"time\" is the time, e.g. one line might be: \"0.4\": \"event\"",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d\\.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\d\\.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Timeline object",
|
||||
"title": "Timeline Object",
|
||||
"description": "A single point in time that executes commands/molang/events",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
|
||||
},
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"travel_distance_events": {
|
||||
"title": "Travel distance events",
|
||||
"title": "Travel Distance Events",
|
||||
"description": "A series of distances, e.g. 0.0 or 1.0, that trigger the event these get fired when the emitter has moved by the specified input distance, e.g. one line might be: \"0.4\": \"event\"",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d\\.]+$"
|
||||
}
|
||||
"propertyNames": { "pattern": "^[\\d\\.]+$" }
|
||||
},
|
||||
"looping_travel_distance_events": {
|
||||
"title": "Looping travel distance events",
|
||||
"title": "Looping Travel Distance Events",
|
||||
"description": "A series of events that occur at set intervals these get fired every time the emitter has moved the specified input distance from the last time it was fired.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Distance event",
|
||||
"title": "Distance Event",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"distance": {
|
||||
"title": "Distance",
|
||||
"description": "TODO",
|
||||
"type": "number"
|
||||
},
|
||||
"effects": {
|
||||
"title": "Effects",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
"distance": { "title": "Distance", "description": "TODO", "type": "number" },
|
||||
"effects": { "title": "Effects", "description": "TODO", "oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }] }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
|
||||
"type": "object",
|
||||
"title": "The emitter rate manual component for 1.10.0",
|
||||
"title": "Emitter Rate Manual Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"activation_expression": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_looping",
|
||||
"type": "object",
|
||||
"title": "The emitter lifetime looping component for 1.10.0",
|
||||
"title": "Emitter Lifetime Looping Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"active_time": {
|
||||
|
||||
@@ -2,14 +2,8 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_once",
|
||||
"type": "object",
|
||||
"title": "The emitter lifetime once component for 1.10.0",
|
||||
"title": "Emitter Lifetime Once Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"active_time": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "How long the particles emit for evaluated once",
|
||||
"title": "Active Time"
|
||||
}
|
||||
},
|
||||
"properties": { "active_time": { "$ref": "../../../../molang/1.8.0/number.json", "description": "How long the particles emit for evaluated once", "title": "Active Time" } },
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -2,24 +2,12 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_local_space",
|
||||
"type": "object",
|
||||
"title": "The emitter local space component for 1.10.0",
|
||||
"title": "Emitter Local Space Component For 1.10.0",
|
||||
"description": "TODO description: ",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"position": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: position",
|
||||
"title": "Position"
|
||||
},
|
||||
"rotation": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: rotation",
|
||||
"title": "Rotation"
|
||||
},
|
||||
"velocity": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: rotation",
|
||||
"title": "Rotation"
|
||||
}
|
||||
"position": { "type": "boolean", "description": "TODO description: position", "title": "Position" },
|
||||
"rotation": { "type": "boolean", "description": "TODO description: rotation", "title": "Rotation" },
|
||||
"velocity": { "type": "boolean", "description": "TODO description: rotation", "title": "Rotation" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_instant",
|
||||
"type": "object",
|
||||
"title": "The emitter rate instant component for 1.10.0",
|
||||
"title": "Emitter Rate Instant Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"num_particles": {
|
||||
|
||||
@@ -2,14 +2,8 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
|
||||
"type": "object",
|
||||
"title": "The emitter rate manual component for 1.10.0",
|
||||
"title": "Emitter Rate Manual Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"max_particles": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Evaluated once per particle emitted",
|
||||
"title": "Max Particles"
|
||||
}
|
||||
},
|
||||
"properties": { "max_particles": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Evaluated once per particle emitted", "title": "Max Particles" } },
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_steady",
|
||||
"type": "object",
|
||||
"title": "The emitter rate steady component for 1.10.0",
|
||||
"title": "Emitter Rate Steady Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"max_particles": {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_box",
|
||||
"type": "object",
|
||||
"title": "The emitter shape box component for 1.10.0",
|
||||
"title": "Emitter Shape Box Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
@@ -10,50 +10,24 @@
|
||||
"title": "Direction",
|
||||
"default": "outwards",
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["inwards", "outwards"]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
}
|
||||
}
|
||||
{ "type": "string", "enum": ["inwards", "outwards"] },
|
||||
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } }
|
||||
]
|
||||
},
|
||||
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"half_dimensions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: half dimensions",
|
||||
"title": "Half Dimensions"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: half dimensions", "title": "Half Dimensions" },
|
||||
"description": "TODO description: half dimensions",
|
||||
"title": "Half Dimensions"
|
||||
},
|
||||
"surface_only": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: surface only",
|
||||
"title": "Surface Only"
|
||||
}
|
||||
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -2,30 +2,18 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_custom",
|
||||
"type": "object",
|
||||
"title": "The emitter shape custom component for 1.10.0",
|
||||
"title": "Emitter Shape Custom Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: direction", "title": "Direction" },
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
}
|
||||
|
||||
@@ -2,23 +2,13 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_disc",
|
||||
"type": "object",
|
||||
"title": "The emitter shape disc component for 1.10.0",
|
||||
"title": "Emitter Shape Disc Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["inwards", "outwards"]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
}
|
||||
}
|
||||
{ "type": "string", "enum": ["inwards", "outwards"] },
|
||||
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/1.8.0/number.json" } }
|
||||
],
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
@@ -26,46 +16,23 @@
|
||||
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"plane_normal": {
|
||||
"title": "Plane normal",
|
||||
"title": "Plane Normal",
|
||||
"description": "Specifies the normal of the disc plane, the disc will be perpendicular to this direction",
|
||||
"default": [0, 1, 0],
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["x", "y", "z"]
|
||||
},
|
||||
{ "type": "string", "enum": ["x", "y", "z"] },
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
"items": [{ "$ref": "../../../../molang/1.8.0/number.json" }, { "$ref": "../../../../molang/1.8.0/number.json" }, { "$ref": "../../../../molang/1.8.0/number.json" }]
|
||||
}
|
||||
]
|
||||
},
|
||||
"surface_only": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: surface only",
|
||||
"title": "Surface Only"
|
||||
}
|
||||
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -2,26 +2,15 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_entity_aabb",
|
||||
"type": "object",
|
||||
"title": "The emitter shape entity aabb component for 1.10.0",
|
||||
"title": "Emitter Shape Entity Aabb Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["inwards", "outwards"],
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
},
|
||||
{ "type": "string", "enum": ["inwards", "outwards"], "description": "TODO description: Todo", "title": "Todo" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: Todo", "title": "Todo" },
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
}
|
||||
@@ -31,15 +20,9 @@
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
|
||||
@@ -2,32 +2,20 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_point",
|
||||
"type": "object",
|
||||
"title": "The emitter shape point component for 1.10.0",
|
||||
"title": "Emitter Shape Point Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: direction", "title": "Direction" },
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
|
||||
@@ -2,26 +2,15 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_sphere",
|
||||
"type": "object",
|
||||
"title": "The emitter shape sphere component for 1.10.0",
|
||||
"title": "Emitter Shape Sphere Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["inwards", "outwards"],
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
},
|
||||
{ "type": "string", "enum": ["inwards", "outwards"], "description": "TODO description: Todo", "title": "Todo" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: Todo", "title": "Todo" },
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
}
|
||||
@@ -31,22 +20,12 @@
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "minItems": 3, "maxItems": 3, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
|
||||
"surface_only": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: surface only",
|
||||
"title": "Surface Only"
|
||||
}
|
||||
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -2,18 +2,14 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_billboard",
|
||||
"type": "object",
|
||||
"title": "The particle appearance billboard component for 1.10.0",
|
||||
"title": "Particle Appearance Billboard Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"size": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: size",
|
||||
"title": "Size"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size", "title": "Size" },
|
||||
"description": "TODO description: size",
|
||||
"title": "Size"
|
||||
},
|
||||
@@ -27,16 +23,8 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"texture_width": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture width",
|
||||
"title": "Texture Width"
|
||||
},
|
||||
"texture_height": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture height",
|
||||
"title": "Texture Height"
|
||||
},
|
||||
"texture_width": { "type": "integer", "description": "TODO description: texture width", "title": "Texture Width" },
|
||||
"texture_height": { "type": "integer", "description": "TODO description: texture height", "title": "Texture Height" },
|
||||
"flipbook": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -46,11 +34,7 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: base UV",
|
||||
"title": "Base U V"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: base UV", "title": "Base U V" },
|
||||
"description": "TODO description: base UV",
|
||||
"title": "Base U V"
|
||||
},
|
||||
@@ -58,11 +42,7 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: size UV",
|
||||
"title": "Size U V"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: size UV", "title": "Size U V" },
|
||||
"description": "TODO description: size UV",
|
||||
"title": "Size U V"
|
||||
},
|
||||
@@ -70,34 +50,14 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: step UV",
|
||||
"title": "Step U V"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: step UV", "title": "Step U V" },
|
||||
"description": "TODO description: step UV",
|
||||
"title": "Step U V"
|
||||
},
|
||||
"frames_per_second": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: frames per second",
|
||||
"title": "Frames Per Second"
|
||||
},
|
||||
"max_frame": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: max frame",
|
||||
"title": "Max Frame"
|
||||
},
|
||||
"stretch_to_lifetime": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: stretch to lifetime",
|
||||
"title": "Stretch To Lifetime"
|
||||
},
|
||||
"loop": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: loop",
|
||||
"title": "Loop"
|
||||
}
|
||||
"frames_per_second": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: frames per second", "title": "Frames Per Second" },
|
||||
"max_frame": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: max frame", "title": "Max Frame" },
|
||||
"stretch_to_lifetime": { "type": "boolean", "description": "TODO description: stretch to lifetime", "title": "Stretch To Lifetime" },
|
||||
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" }
|
||||
},
|
||||
"description": "TODO description: flipbook",
|
||||
"title": "Flipbook"
|
||||
@@ -106,11 +66,7 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: uv",
|
||||
"title": "Uv"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv", "title": "Uv" },
|
||||
"description": "TODO description: uv",
|
||||
"title": "Uv"
|
||||
},
|
||||
@@ -118,11 +74,7 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: uv size",
|
||||
"title": "Uv Size"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
|
||||
"description": "TODO description: uv size",
|
||||
"title": "Uv Size"
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_lighting",
|
||||
"type": "object",
|
||||
"title": "The particle appearance lighting component for 1.10.0",
|
||||
"title": "Particle Appearance Lighting Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description"
|
||||
}
|
||||
|
||||
@@ -3,22 +3,14 @@
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_tinting",
|
||||
"description": "Color fields are special, they can be either an RGB, or a \"#RRGGBB\" field (or RGBA or \"AARRGGBB\"). If RGB(A), the channels are from 0 to 1. If the string \"#AARRGGBB\", then the values are hex from 00 to ff.",
|
||||
"type": "object",
|
||||
"title": "The particle appearance tinting component for 1.10.0",
|
||||
"title": "Particle Appearance Tinting Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"color": {
|
||||
"title": "Color",
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"description": "Direct color field",
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json" }
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"format": "color-hex",
|
||||
"description": "Direct color field"
|
||||
},
|
||||
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/1.8.0/number.json" } },
|
||||
{ "type": "string", "format": "color-hex", "description": "Direct color field" },
|
||||
{
|
||||
"description": "Interpolation based color",
|
||||
"type": "object",
|
||||
@@ -27,27 +19,12 @@
|
||||
"gradient": {
|
||||
"title": "Gradient",
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "An array of colors",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "Color",
|
||||
"title": "Color",
|
||||
"format": "color-hex"
|
||||
}
|
||||
},
|
||||
{ "description": "An array of colors", "type": "array", "items": { "type": "string", "description": "Color", "title": "Color", "format": "color-hex" } },
|
||||
{
|
||||
"description": "An object of colors",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "Color",
|
||||
"format": "color-hex"
|
||||
}
|
||||
"propertyNames": { "pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" },
|
||||
"additionalProperties": { "type": "string", "description": "Color", "format": "color-hex" }
|
||||
},
|
||||
{
|
||||
"description": "An array of colors",
|
||||
@@ -57,28 +34,15 @@
|
||||
"minItems": 3,
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "Color",
|
||||
"title": "Color",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"title": "Molang"
|
||||
}
|
||||
{ "type": "number", "description": "Color", "title": "Color", "minimum": 0, "maximum": 1 },
|
||||
{ "type": "string", "title": "Molang" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"interpolant": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: interpolant",
|
||||
"title": "Interpolant"
|
||||
}
|
||||
"interpolant": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -2,12 +2,8 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_expire_if_not_in_blocks",
|
||||
"type": "array",
|
||||
"title": "The particle expire if not in blocks component for 1.10.0",
|
||||
"title": "Particle Expire If Not In Blocks Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"items": {
|
||||
"$ref": "../../../../general/blocks_identifiers.json",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"items": { "$ref": "../../../../general/blocks_identifiers.json", "description": "TODO description", "title": "TODO Title" },
|
||||
"description": "TODO description"
|
||||
}
|
||||
|
||||
@@ -1,21 +1,17 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_speed",
|
||||
"title": "The particle initial speed component for 1.10.0",
|
||||
"title": "Particle Initial Speed Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"anyOf": [
|
||||
{ "$ref": "../../../../molang/1.8.0/number.json" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" },
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_spin",
|
||||
"title": "The particle initial spin component for 1.10.0",
|
||||
"title": "Particle Initial Spin Component For 1.10.0",
|
||||
"description": "Starts the particle with a specified orientation and rotation rate.",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
|
||||
"rotation_rate": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Specifies the spin rate in degrees/second",
|
||||
"title": "Rotation Rate"
|
||||
}
|
||||
"rotation_rate": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the spin rate in degrees/second", "title": "Rotation Rate" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,19 +2,11 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initialization",
|
||||
"type": "object",
|
||||
"title": "The particle initialization component for 1.10.0",
|
||||
"title": "Particle Initialization Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"per_update_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: per update expression",
|
||||
"title": "Per Update Expression"
|
||||
},
|
||||
"per_render_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: per render expression",
|
||||
"title": "Per Render Expression"
|
||||
}
|
||||
"per_update_expression": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: per update expression", "title": "Per Update Expression" },
|
||||
"per_render_expression": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: per render expression", "title": "Per Render Expression" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -2,13 +2,7 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane",
|
||||
"type": "array",
|
||||
"title": "The particle kill plane component for 1.10.0",
|
||||
"items": {
|
||||
"minItems": 4,
|
||||
"maxItems": 4,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"title": "Particle Kill Plane Component For 1.10.0",
|
||||
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description", "title": "TODO Title" },
|
||||
"description": "TODO description"
|
||||
}
|
||||
|
||||
@@ -2,50 +2,21 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_events",
|
||||
"type": "object",
|
||||
"title": "The particle lifetime events component for 1.10.0",
|
||||
"title": "Particle Lifetime Events Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"creation_event": {
|
||||
"title": "Creation event",
|
||||
"title": "Creation Event",
|
||||
"description": "Fires when the particle is created",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"custom_events": {
|
||||
"title": "Custom events",
|
||||
"description": "TODO, unclear structure :("
|
||||
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
|
||||
},
|
||||
"custom_events": { "title": "Custom Events", "description": "TODO, unclear structure :(" },
|
||||
"expiration_event": {
|
||||
"title": "Expiration event",
|
||||
"title": "Expiration Event",
|
||||
"description": "Fires when the particle expires (does not wait for particles to expire too)",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
|
||||
},
|
||||
"timeline": {
|
||||
"propertyNames": {
|
||||
"pattern": "[0-9]*.[0-9]*"
|
||||
},
|
||||
"description": "TODO description: timeline",
|
||||
"title": "Timeline"
|
||||
}
|
||||
"timeline": { "propertyNames": { "pattern": "[0-9]*.[0-9]*" }, "description": "TODO description: timeline", "title": "Timeline" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_expression",
|
||||
"type": "object",
|
||||
"description": "TODO description: ",
|
||||
"title": "The particle lifetime expression component for 1.10.0",
|
||||
"title": "Particle Lifetime Expression Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"expiration_expression": {
|
||||
"title": "Expiration expression",
|
||||
"title": "Expiration Expression",
|
||||
"description": "This expression makes the particle expire when true (non-zero), The float/expr is evaluated once per particle, evaluated every frame",
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
},
|
||||
|
||||
@@ -2,45 +2,21 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_collision",
|
||||
"type": "object",
|
||||
"title": "The particle motion collision component for 1.10.0",
|
||||
"title": "Particle Motion Collision Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"collision_drag": {
|
||||
"type": "number",
|
||||
"description": "TODO description: collision drag",
|
||||
"title": "Collision Drag"
|
||||
},
|
||||
"coefficient_of_restitution": {
|
||||
"type": "number",
|
||||
"description": "TODO description: coefficient of restitution",
|
||||
"title": "Coefficient Of Restitution"
|
||||
},
|
||||
"collision_radius": {
|
||||
"type": "number",
|
||||
"description": "TODO description: collision radius",
|
||||
"title": "Collision Radius"
|
||||
},
|
||||
"collision_drag": { "type": "number", "description": "TODO description: collision drag", "title": "Collision Drag" },
|
||||
"coefficient_of_restitution": { "type": "number", "description": "TODO description: coefficient of restitution", "title": "Coefficient Of Restitution" },
|
||||
"collision_radius": { "type": "number", "description": "TODO description: collision radius", "title": "Collision Radius" },
|
||||
"enabled": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: enabled", "title": "Enabled" },
|
||||
"expire_on_contact": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: expire on contact",
|
||||
"title": "Expire On Contact"
|
||||
},
|
||||
"expire_on_contact": { "type": "boolean", "description": "TODO description: expire on contact", "title": "Expire On Contact" },
|
||||
"events": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"properties": {
|
||||
"additionalProperties": false,
|
||||
"event": {
|
||||
"type": "string",
|
||||
"description": "TODO description: event",
|
||||
"title": "Event"
|
||||
},
|
||||
"min_speed": {
|
||||
"type": "number",
|
||||
"description": "TODO description: min speed",
|
||||
"title": "Min Speed"
|
||||
}
|
||||
"event": { "type": "string", "description": "TODO description: event", "title": "Event" },
|
||||
"min_speed": { "type": "number", "description": "TODO description: min speed", "title": "Min Speed" }
|
||||
},
|
||||
"description": "TODO description: events",
|
||||
"title": "Events"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_dynamic",
|
||||
"description": "This component specifies the dynamic properties of the particle, from a simulation standpoint what forces act upon the particle? These dynamics alter the velocity of the particle, which is a combination of the direction of the particle and the speed. Particle direction will always be in the direction of the velocity of the particle.",
|
||||
"type": "object",
|
||||
"title": "The particle motion dynamic component for 1.10.0",
|
||||
"title": "Particle Motion Dynamic Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"linear_acceleration": {
|
||||
@@ -11,9 +11,7 @@
|
||||
"default": [0, 0, 0],
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json" },
|
||||
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
|
||||
"title": "Linear Acceleration"
|
||||
},
|
||||
@@ -29,11 +27,6 @@
|
||||
"title": "Rotation Acceleration",
|
||||
"default": 0
|
||||
},
|
||||
"rotation_drag_coefficient": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Drag applied to rotation",
|
||||
"title": "Rotation Drag Coefficient",
|
||||
"default": 0
|
||||
}
|
||||
"rotation_drag_coefficient": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Drag applied to rotation", "title": "Rotation Drag Coefficient", "default": 0 }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,18 +2,14 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_parametric",
|
||||
"type": "object",
|
||||
"title": "The particle motion parametric component for 1.10.0",
|
||||
"title": "Particle Motion Parametric Component For 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"relative_position": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: relative position",
|
||||
"title": "Relative Position"
|
||||
},
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
|
||||
"description": "TODO description: relative position",
|
||||
"title": "Relative Position"
|
||||
},
|
||||
|
||||
@@ -19,28 +19,13 @@
|
||||
"type": "object",
|
||||
"required": ["identifier", "basic_render_parameters"],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/particle/identifier.json"
|
||||
},
|
||||
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/particle/identifier.json" },
|
||||
"basic_render_parameters": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"material": {
|
||||
"type": "string",
|
||||
"examples": ["particles_alpha", "particles_blend"],
|
||||
"description": " Minecraft material to use for emitter",
|
||||
"title": "Material"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"pattern": "^.+$",
|
||||
"description": "Minecraft texture to use for emitter",
|
||||
"title": "Texture"
|
||||
}
|
||||
"material": { "type": "string", "examples": ["particles_alpha", "particles_blend"], "description": " Minecraft material to use for emitter", "title": "Material" },
|
||||
"texture": { "type": "string", "pattern": "^.+$", "description": "Minecraft texture to use for emitter", "title": "Texture" }
|
||||
},
|
||||
"description": "TODO description: basic render parameters",
|
||||
"title": "Basic Render Parameters"
|
||||
@@ -53,54 +38,24 @@
|
||||
"title": "Curves",
|
||||
"description": "Curves are interpolation values, with inputs from 0 to 1, and outputs based on the curve. The result of the curve is a MoLang variable of the same name that can be referenced in MoLang in components. For each rendering frame for each particle, the curves are evaluated and the result is placed in a MoLang variable of the name of the curve.",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^(v|variable)\\.[a-zA-z0-9]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^(v|variable)\\.[a-zA-z0-9]+$" },
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Curve",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"input": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Input",
|
||||
"description": "What is the input value to use"
|
||||
},
|
||||
"input": { "$ref": "../../../molang/1.8.0/number.json", "title": "Input", "description": "What is the input value to use" },
|
||||
"nodes": {
|
||||
"description": "Control nodes for curve. These are assumed to be equally, used Object for bezier_chain",
|
||||
"title": "Nodes",
|
||||
"oneOf": [
|
||||
{
|
||||
"minItems": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
{ "minItems": 1, "type": "array", "items": { "$ref": "../../../molang/1.8.0/number.json" } },
|
||||
{ "type": "object", "propertyNames": { "pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)" }, "additionalProperties": { "type": "object", "properties": {} } }
|
||||
]
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"title": "Type",
|
||||
"description": "The type of curve",
|
||||
"enum": ["linear", "bezier", "bezier_chain", "catmull_rom"]
|
||||
},
|
||||
"horizontal_range": {
|
||||
"type": "string",
|
||||
"title": "Horizontal Range",
|
||||
"description": "What is the range the input is mapped onto"
|
||||
}
|
||||
"type": { "type": "string", "title": "Type", "description": "The type of curve", "enum": ["linear", "bezier", "bezier_chain", "catmull_rom"] },
|
||||
"horizontal_range": { "type": "string", "title": "Horizontal Range", "description": "What is the range the input is mapped onto" }
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -110,90 +65,34 @@
|
||||
"description": "The particle components.",
|
||||
"title": "Components",
|
||||
"properties": {
|
||||
"minecraft:emitter_initialization": {
|
||||
"$ref": "./components/minecraft.emitter_initialization.json"
|
||||
},
|
||||
"minecraft:emitter_lifetime_events": {
|
||||
"$ref": "./components/minecraft.emitter_lifetime_events.json"
|
||||
},
|
||||
"minecraft:emitter_lifetime_expression": {
|
||||
"$ref": "./components/minecraft.emitter_lifetime_expression.json"
|
||||
},
|
||||
"minecraft:emitter_lifetime_once": {
|
||||
"$ref": "./components/minecraft.emitter_lifetime_once.json"
|
||||
},
|
||||
"minecraft:emitter_lifetime_looping": {
|
||||
"$ref": "./components/minecraft.emitter_lifetime_looping.json"
|
||||
},
|
||||
"minecraft:emitter_local_space": {
|
||||
"$ref": "./components/minecraft.emitter_local_space.json"
|
||||
},
|
||||
"minecraft:emitter_rate_instant": {
|
||||
"$ref": "./components/minecraft.emitter_rate_instant.json"
|
||||
},
|
||||
"minecraft:emitter_rate_manual": {
|
||||
"$ref": "./components/minecraft.emitter_rate_manual.json"
|
||||
},
|
||||
"minecraft:emitter_rate_steady": {
|
||||
"$ref": "./components/minecraft.emitter_rate_steady.json"
|
||||
},
|
||||
"minecraft:emitter_shape_box": {
|
||||
"$ref": "./components/minecraft.emitter_shape_box.json"
|
||||
},
|
||||
"minecraft:emitter_shape_custom": {
|
||||
"$ref": "./components/minecraft.emitter_shape_custom.json"
|
||||
},
|
||||
"minecraft:emitter_shape_disc": {
|
||||
"$ref": "./components/minecraft.emitter_shape_disc.json"
|
||||
},
|
||||
"minecraft:emitter_shape_entity_aabb": {
|
||||
"$ref": "./components/minecraft.emitter_shape_entity_aabb.json"
|
||||
},
|
||||
"minecraft:emitter_shape_point": {
|
||||
"$ref": "./components/minecraft.emitter_shape_point.json"
|
||||
},
|
||||
"minecraft:emitter_shape_sphere": {
|
||||
"$ref": "./components/minecraft.emitter_shape_sphere.json"
|
||||
},
|
||||
"minecraft:particle_appearance_billboard": {
|
||||
"$ref": "./components/minecraft.particle_appearance_billboard.json"
|
||||
},
|
||||
"minecraft:particle_appearance_tinting": {
|
||||
"$ref": "./components/minecraft.particle_appearance_tinting.json"
|
||||
},
|
||||
"minecraft:particle_appearance_lighting": {
|
||||
"$ref": "./components/minecraft.particle_appearance_lighting.json"
|
||||
},
|
||||
"minecraft:particle_expire_if_not_in_blocks": {
|
||||
"$ref": "./components/minecraft.particle_expire_if_not_in_blocks.json"
|
||||
},
|
||||
"minecraft:particle_initialization": {
|
||||
"$ref": "./components/minecraft.particle_initialization.json"
|
||||
},
|
||||
"minecraft:particle_initial_speed": {
|
||||
"$ref": "./components/minecraft.particle_initial_speed.json"
|
||||
},
|
||||
"minecraft:particle_initial_spin": {
|
||||
"$ref": "./components/minecraft.particle_initial_spin.json"
|
||||
},
|
||||
"minecraft:particle_lifetime_expression": {
|
||||
"$ref": "./components/minecraft.particle_lifetime_expression.json"
|
||||
},
|
||||
"minecraft:particle_lifetime_events": {
|
||||
"$ref": "./components/minecraft.particle_lifetime_events.json"
|
||||
},
|
||||
"minecraft:particle_kill_plane": {
|
||||
"$ref": "./components/minecraft.particle_kill_plane.json"
|
||||
},
|
||||
"minecraft:particle_motion_collision": {
|
||||
"$ref": "./components/minecraft.particle_motion_collision.json"
|
||||
},
|
||||
"minecraft:particle_motion_dynamic": {
|
||||
"$ref": "./components/minecraft.particle_motion_dynamic.json"
|
||||
},
|
||||
"minecraft:particle_motion_parametric": {
|
||||
"$ref": "./components/minecraft.particle_motion_parametric.json"
|
||||
}
|
||||
"minecraft:emitter_initialization": { "$ref": "./components/minecraft.emitter_initialization.json" },
|
||||
"minecraft:emitter_lifetime_events": { "$ref": "./components/minecraft.emitter_lifetime_events.json" },
|
||||
"minecraft:emitter_lifetime_expression": { "$ref": "./components/minecraft.emitter_lifetime_expression.json" },
|
||||
"minecraft:emitter_lifetime_once": { "$ref": "./components/minecraft.emitter_lifetime_once.json" },
|
||||
"minecraft:emitter_lifetime_looping": { "$ref": "./components/minecraft.emitter_lifetime_looping.json" },
|
||||
"minecraft:emitter_local_space": { "$ref": "./components/minecraft.emitter_local_space.json" },
|
||||
"minecraft:emitter_rate_instant": { "$ref": "./components/minecraft.emitter_rate_instant.json" },
|
||||
"minecraft:emitter_rate_manual": { "$ref": "./components/minecraft.emitter_rate_manual.json" },
|
||||
"minecraft:emitter_rate_steady": { "$ref": "./components/minecraft.emitter_rate_steady.json" },
|
||||
"minecraft:emitter_shape_box": { "$ref": "./components/minecraft.emitter_shape_box.json" },
|
||||
"minecraft:emitter_shape_custom": { "$ref": "./components/minecraft.emitter_shape_custom.json" },
|
||||
"minecraft:emitter_shape_disc": { "$ref": "./components/minecraft.emitter_shape_disc.json" },
|
||||
"minecraft:emitter_shape_entity_aabb": { "$ref": "./components/minecraft.emitter_shape_entity_aabb.json" },
|
||||
"minecraft:emitter_shape_point": { "$ref": "./components/minecraft.emitter_shape_point.json" },
|
||||
"minecraft:emitter_shape_sphere": { "$ref": "./components/minecraft.emitter_shape_sphere.json" },
|
||||
"minecraft:particle_appearance_billboard": { "$ref": "./components/minecraft.particle_appearance_billboard.json" },
|
||||
"minecraft:particle_appearance_tinting": { "$ref": "./components/minecraft.particle_appearance_tinting.json" },
|
||||
"minecraft:particle_appearance_lighting": { "$ref": "./components/minecraft.particle_appearance_lighting.json" },
|
||||
"minecraft:particle_expire_if_not_in_blocks": { "$ref": "./components/minecraft.particle_expire_if_not_in_blocks.json" },
|
||||
"minecraft:particle_initialization": { "$ref": "./components/minecraft.particle_initialization.json" },
|
||||
"minecraft:particle_initial_speed": { "$ref": "./components/minecraft.particle_initial_speed.json" },
|
||||
"minecraft:particle_initial_spin": { "$ref": "./components/minecraft.particle_initial_spin.json" },
|
||||
"minecraft:particle_lifetime_expression": { "$ref": "./components/minecraft.particle_lifetime_expression.json" },
|
||||
"minecraft:particle_lifetime_events": { "$ref": "./components/minecraft.particle_lifetime_events.json" },
|
||||
"minecraft:particle_kill_plane": { "$ref": "./components/minecraft.particle_kill_plane.json" },
|
||||
"minecraft:particle_motion_collision": { "$ref": "./components/minecraft.particle_motion_collision.json" },
|
||||
"minecraft:particle_motion_dynamic": { "$ref": "./components/minecraft.particle_motion_dynamic.json" },
|
||||
"minecraft:particle_motion_parametric": { "$ref": "./components/minecraft.particle_motion_parametric.json" }
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
@@ -205,19 +104,11 @@
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"particle_effect": {
|
||||
"title": "Particle effect",
|
||||
"title": "Particle Effect",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"description": "TODO description: effect",
|
||||
"title": "Effect"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"description": "TODO description: type",
|
||||
"title": "Type"
|
||||
}
|
||||
"effect": { "type": "string", "description": "TODO description: effect", "title": "Effect" },
|
||||
"type": { "type": "string", "description": "TODO description: type", "title": "Type" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -231,5 +122,5 @@
|
||||
}
|
||||
},
|
||||
"description": "TODO description: ",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
|
||||
@@ -18,27 +18,17 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/particle/identifier.json"
|
||||
}
|
||||
"identifier": { "type": "string", "description": "TODO description: identifier", "title": "Identifier", "$ref": "../../../general/particle/identifier.json" }
|
||||
},
|
||||
"description": "TODO description: description",
|
||||
"title": "Description"
|
||||
},
|
||||
"components": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "TODO description: components",
|
||||
"title": "Components"
|
||||
}
|
||||
"components": { "additionalProperties": false, "type": "object", "description": "TODO description: components", "title": "Components" }
|
||||
},
|
||||
"description": "TODO description: particle effect",
|
||||
"title": "Particle Effect"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: ",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
}
|
||||
|
||||
@@ -5,26 +5,14 @@
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"particle_effect": {
|
||||
"description": {
|
||||
"identifier": "blockception:particle",
|
||||
"basic_render_parameters": {
|
||||
"material": "particles_alpha",
|
||||
"texture": "textures/particle/particle"
|
||||
}
|
||||
},
|
||||
"description": { "identifier": "blockception:particle", "basic_render_parameters": { "material": "particles_alpha", "texture": "textures/particle/particle" } },
|
||||
"curves": {},
|
||||
"components": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/particle.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/particle.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/particle.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/particle.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,37 +3,25 @@
|
||||
"$id": "blockception.minecraft.render_controllers.json",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Render controllers 1.10.0",
|
||||
"title": "Render Controllers 1.10.0",
|
||||
"description": "Render_controllers 1.10.0",
|
||||
"definitions": {
|
||||
"color": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "A color definition as number, between 0 and 1",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"title": "Color number"
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "A color definition in molang",
|
||||
"title": "Molang color"
|
||||
}
|
||||
{ "type": "number", "description": "A color definition as number, between 0 and 1", "minimum": 0, "maximum": 1, "title": "Color Number" },
|
||||
{ "type": "string", "description": "A color definition in molang", "title": "Molang Color" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"title": "1.10.0 Format Version",
|
||||
"type": "string",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"render_controllers": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.render\\.[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^controller\\.render\\.[a-z\\.]+" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -49,12 +37,7 @@
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Gg]eometry\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"items": { "type": "string", "pattern": "^[Gg]eometry\\..+", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
@@ -66,12 +49,7 @@
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Mm]aterial\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"items": { "type": "string", "pattern": "^[Mm]aterial\\..+", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
@@ -85,13 +63,7 @@
|
||||
"type": "array",
|
||||
"description": "Textures",
|
||||
"title": "Texture",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Tt]exture\\..+",
|
||||
"default": "texture.",
|
||||
"description": "An texture item",
|
||||
"title": "Texture"
|
||||
}
|
||||
"items": { "type": "string", "pattern": "^[Tt]exture\\..+", "default": "texture.", "description": "An texture item", "title": "Texture" }
|
||||
},
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
@@ -104,50 +76,22 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: r",
|
||||
"title": "R"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: g",
|
||||
"title": "G"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: b",
|
||||
"title": "B"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: a",
|
||||
"title": "A"
|
||||
}
|
||||
"r": { "$ref": "#/definitions/color", "description": "TODO description: r", "title": "R" },
|
||||
"g": { "$ref": "#/definitions/color", "description": "TODO description: g", "title": "G" },
|
||||
"b": { "$ref": "#/definitions/color", "description": "TODO description: b", "title": "B" },
|
||||
"a": { "$ref": "#/definitions/color", "description": "TODO description: a", "title": "A" }
|
||||
},
|
||||
"description": "TODO description: color",
|
||||
"title": "Color"
|
||||
},
|
||||
"filter_lighting": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: filter lighting",
|
||||
"title": "Filter Lighting"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "string",
|
||||
"description": "TODO description: geometry",
|
||||
"title": "Geometry"
|
||||
},
|
||||
"filter_lighting": { "type": "boolean", "description": "TODO description: filter lighting", "title": "Filter Lighting" },
|
||||
"geometry": { "type": "string", "description": "TODO description: geometry", "title": "Geometry" },
|
||||
"materials": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials"
|
||||
},
|
||||
@@ -158,26 +102,10 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: r",
|
||||
"title": "R"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: g",
|
||||
"title": "G"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: b",
|
||||
"title": "B"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: a",
|
||||
"title": "A"
|
||||
}
|
||||
"r": { "$ref": "#/definitions/color", "description": "TODO description: r", "title": "R" },
|
||||
"g": { "$ref": "#/definitions/color", "description": "TODO description: g", "title": "G" },
|
||||
"b": { "$ref": "#/definitions/color", "description": "TODO description: b", "title": "B" },
|
||||
"a": { "$ref": "#/definitions/color", "description": "TODO description: a", "title": "A" }
|
||||
},
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color"
|
||||
@@ -185,11 +113,7 @@
|
||||
"textures": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
},
|
||||
"items": { "type": "string", "description": "TODO description: textures", "title": "Textures" },
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
},
|
||||
@@ -202,11 +126,7 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
@@ -216,11 +136,7 @@
|
||||
"title": "Scale",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
}
|
||||
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: scale", "title": "Scale" }
|
||||
}
|
||||
},
|
||||
"description": "TODO description: uv anim",
|
||||
@@ -231,30 +147,14 @@
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"description": "The object that describe different bone visibility",
|
||||
"title": "Part visibility",
|
||||
"title": "Part Visibility",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
}
|
||||
"additionalProperties": { "oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }] }
|
||||
},
|
||||
"description": "TODO description: part visibility",
|
||||
"title": "Part Visibility"
|
||||
},
|
||||
"rebuild_animation_matrices": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: rebuild animation matrices",
|
||||
"title": "Rebuild Animation Matrices"
|
||||
}
|
||||
"rebuild_animation_matrices": { "type": "boolean", "description": "TODO description: rebuild animation matrices", "title": "Rebuild Animation Matrices" }
|
||||
},
|
||||
"title": "TODO"
|
||||
},
|
||||
|
||||
@@ -9,37 +9,25 @@
|
||||
"definitions": {
|
||||
"color": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "A color definition as number, between 0 and 1",
|
||||
"title": "Color number",
|
||||
"minimum": 0,
|
||||
"maximum": 1
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "A color definition in molang, must result in a float between 0 and 1",
|
||||
"title": "Molang color"
|
||||
}
|
||||
{ "type": "number", "description": "A color definition as number, between 0 and 1", "title": "Color Number", "minimum": 0, "maximum": 1 },
|
||||
{ "type": "string", "description": "A color definition in molang, must result in a float between 0 and 1", "title": "Molang Color" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"title": "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."
|
||||
},
|
||||
"render_controllers": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.render\\.[a-z\\.]+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^controller\\.render\\.[a-z\\.]+" },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Render controller",
|
||||
"title": "Render Controller",
|
||||
"description": "A single render_controller definition",
|
||||
"required": ["geometry", "materials"],
|
||||
"properties": {
|
||||
@@ -52,17 +40,10 @@
|
||||
"geometries": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "^[Aa]rray\\..+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[Aa]rray\\..+" },
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Gg]eometry\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"items": { "type": "string", "pattern": "^[Gg]eometry\\..+", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
@@ -72,17 +53,10 @@
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "^[Aa]rray\\..+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[Aa]rray\\..+" },
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Mm]aterial\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"items": { "type": "string", "pattern": "^[Mm]aterial\\..+", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
@@ -92,17 +66,10 @@
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "^[Aa]rray\\..+"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[Aa]rray\\..+" },
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Tt]exture\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"items": { "type": "string", "pattern": "^[Tt]exture\\..+", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
@@ -115,72 +82,36 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
"r": { "$ref": "#/definitions/color" },
|
||||
"g": { "$ref": "#/definitions/color" },
|
||||
"b": { "$ref": "#/definitions/color" },
|
||||
"a": { "$ref": "#/definitions/color" }
|
||||
},
|
||||
"description": "TODO description: color",
|
||||
"title": "Color"
|
||||
},
|
||||
"filter_lighting": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: filter lighting",
|
||||
"title": "Filter Lighting"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "string",
|
||||
"description": "TODO description: geometry",
|
||||
"title": "Geometry"
|
||||
},
|
||||
"ignore_lighting": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: ignore lighting",
|
||||
"title": "Ignore Lighting"
|
||||
},
|
||||
"filter_lighting": { "type": "boolean", "description": "TODO description: filter lighting", "title": "Filter Lighting" },
|
||||
"geometry": { "type": "string", "description": "TODO description: geometry", "title": "Geometry" },
|
||||
"ignore_lighting": { "type": "boolean", "description": "TODO description: ignore lighting", "title": "Ignore Lighting" },
|
||||
"is_hurt_color": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
"r": { "$ref": "#/definitions/color" },
|
||||
"g": { "$ref": "#/definitions/color" },
|
||||
"b": { "$ref": "#/definitions/color" },
|
||||
"a": { "$ref": "#/definitions/color" }
|
||||
},
|
||||
"description": "TODO description: is hurt color",
|
||||
"title": "Is Hurt Color"
|
||||
},
|
||||
"light_color_multiplier": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: light color multiplier",
|
||||
"title": "Light Color Multiplier"
|
||||
},
|
||||
"light_color_multiplier": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: light color multiplier", "title": "Light Color Multiplier" },
|
||||
"materials": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials"
|
||||
},
|
||||
@@ -191,18 +122,10 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
"r": { "$ref": "#/definitions/color" },
|
||||
"g": { "$ref": "#/definitions/color" },
|
||||
"b": { "$ref": "#/definitions/color" },
|
||||
"a": { "$ref": "#/definitions/color" }
|
||||
},
|
||||
"description": "TODO description: on fire color",
|
||||
"title": "On Fire Color"
|
||||
@@ -211,18 +134,10 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
"r": { "$ref": "#/definitions/color" },
|
||||
"g": { "$ref": "#/definitions/color" },
|
||||
"b": { "$ref": "#/definitions/color" },
|
||||
"a": { "$ref": "#/definitions/color" }
|
||||
},
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color"
|
||||
@@ -232,41 +147,23 @@
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"description": "A collection of object that describe which bones are hidden or not",
|
||||
"title": "Part visibilty",
|
||||
"title": "Part Visibilty",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "number"
|
||||
}
|
||||
],
|
||||
"oneOf": [{ "type": "string" }, { "type": "boolean" }, { "type": "number" }],
|
||||
"description": "Describes which bones are visible or not, can be a string, boolean or number",
|
||||
"title": "Part visibilty"
|
||||
"title": "Part Visibilty"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: part visibility",
|
||||
"title": "Part Visibility"
|
||||
},
|
||||
"rebuild_animation_matrices": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: rebuild animation matrices",
|
||||
"title": "Rebuild Animation Matrices"
|
||||
},
|
||||
"rebuild_animation_matrices": { "type": "boolean", "description": "TODO description: rebuild animation matrices", "title": "Rebuild Animation Matrices" },
|
||||
"textures": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
},
|
||||
"items": { "type": "string", "description": "TODO description: textures", "title": "Textures" },
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
},
|
||||
@@ -279,11 +176,7 @@
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: offset", "title": "Offset" },
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
@@ -293,11 +186,7 @@
|
||||
"title": "Scale",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
}
|
||||
"items": { "$ref": "../../../molang/1.8.0/number.json", "description": "TODO description: scale", "title": "Scale" }
|
||||
}
|
||||
},
|
||||
"description": "TODO description: uv anim",
|
||||
|
||||
@@ -4,30 +4,15 @@
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.8.0",
|
||||
"render_controllers": {
|
||||
"controller.render.example": {
|
||||
"geometry": "Geometry.default",
|
||||
"materials": [{ "*": "Material.default" }],
|
||||
"textures": ["Texture.default"]
|
||||
}
|
||||
}
|
||||
"render_controllers": { "controller.render.example": { "geometry": "Geometry.default", "materials": [{ "*": "Material.default" }], "textures": ["Texture.default"] } }
|
||||
}
|
||||
],
|
||||
"type": "object",
|
||||
"title": "Render Controllers",
|
||||
"description": "TODO description",
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/render_controllers.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
|
||||
"then": { "$ref": "./1.10.0/render_controllers.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/render_controllers.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } }, "then": { "$ref": "./1.8.0/render_controllers.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } }, "then": { "$ref": "./1.10.0/render_controllers.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } }, "then": { "$ref": "./1.10.0/render_controllers.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -9,25 +9,13 @@
|
||||
"pitch": {
|
||||
"title": "Pitch",
|
||||
"oneOf": [
|
||||
{
|
||||
"default": 1,
|
||||
"type": "number",
|
||||
"description": "A defined pitch"
|
||||
},
|
||||
{ "default": 1, "type": "number", "description": "A defined pitch" },
|
||||
{
|
||||
"description": "A random selection between a minimum and maximum",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"title": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"title": "Maximum"
|
||||
}
|
||||
{ "type": "number", "minimum": 0, "title": "Minimum" },
|
||||
{ "type": "number", "minimum": 0, "title": "Maximum" }
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -35,158 +23,97 @@
|
||||
"volume": {
|
||||
"title": "Volume",
|
||||
"oneOf": [
|
||||
{
|
||||
"default": 1,
|
||||
"type": "number",
|
||||
"description": "A defined volume"
|
||||
},
|
||||
{ "default": 1, "type": "number", "description": "A defined volume" },
|
||||
{
|
||||
"description": "A random selection between a minimum and maximum",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"title": "Minimum"
|
||||
},
|
||||
{
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"title": "Maximum"
|
||||
}
|
||||
{ "type": "number", "minimum": 0, "title": "Minimum" },
|
||||
{ "type": "number", "minimum": 0, "title": "Maximum" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"sound_event": {
|
||||
"title": "Sound event definition",
|
||||
"title": "Sound Event ",
|
||||
"description": "A single sound event definition",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{ "type": "string" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["sound"],
|
||||
"properties": {
|
||||
"volume": {
|
||||
"$ref": "#/definitions/volume"
|
||||
},
|
||||
"sound": {
|
||||
"type": "string",
|
||||
"title": "Sound event",
|
||||
"description": "The sound event described in sound_definitions.json"
|
||||
},
|
||||
"pitch": {
|
||||
"$ref": "#/definitions/pitch"
|
||||
}
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
|
||||
"pitch": { "$ref": "#/definitions/pitch" }
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"entity_event": {
|
||||
"type": "object",
|
||||
"title": "Entity sound",
|
||||
"title": "Entity Sound",
|
||||
"description": "Entity sound definitions",
|
||||
"properties": {
|
||||
"volume": {
|
||||
"$ref": "#/definitions/volume"
|
||||
},
|
||||
"pitch": {
|
||||
"$ref": "#/definitions/pitch"
|
||||
},
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Events",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\._]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/sound_event"
|
||||
}
|
||||
}
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"pitch": { "$ref": "#/definitions/pitch" },
|
||||
"events": { "type": "object", "title": "Events", "propertyNames": { "pattern": "[a-z\\._]+" }, "additionalProperties": { "$ref": "#/definitions/sound_event" } }
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"block_sounds": {
|
||||
"type": "object",
|
||||
"title": "Block sounds",
|
||||
"title": "Block Sounds",
|
||||
"description": "Block sound definitions",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Block sound definition",
|
||||
"title": "Block Sound ",
|
||||
"description": "A single block sound definition",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"volume": {
|
||||
"$ref": "#/definitions/volume"
|
||||
},
|
||||
"pitch": {
|
||||
"$ref": "#/definitions/pitch"
|
||||
},
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"pitch": { "$ref": "#/definitions/pitch" },
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Events",
|
||||
"propertyNames": {
|
||||
"enum": ["default", "item.use.on", "break", "hit", "place", "power.on", "power.off"]
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/sound_event"
|
||||
}
|
||||
"propertyNames": { "enum": ["default", "item.use.on", "break", "hit", "place", "power.on", "power.off"] },
|
||||
"additionalProperties": { "$ref": "#/definitions/sound_event" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"entity_sounds": {
|
||||
"type": "object",
|
||||
"title": "Entity sounds",
|
||||
"title": "Entity Sounds",
|
||||
"description": "Entity sounds definitions",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"defaults": {
|
||||
"$ref": "#/definitions/entity_event"
|
||||
},
|
||||
"entities": {
|
||||
"type": "object",
|
||||
"title": "Entities",
|
||||
"description": "Entities definitions",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/entity_event"
|
||||
}
|
||||
}
|
||||
"defaults": { "$ref": "#/definitions/entity_event" },
|
||||
"entities": { "type": "object", "title": "Entities", "description": "Entities definitions", "additionalProperties": { "$ref": "#/definitions/entity_event" } }
|
||||
}
|
||||
},
|
||||
"individual_event_sounds": {
|
||||
"type": "object",
|
||||
"title": "Individual event sounds",
|
||||
"title": "Individual Event Sounds",
|
||||
"description": "Individual event sounds definitions",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Events",
|
||||
"description": "Events",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/sound_event"
|
||||
}
|
||||
}
|
||||
}
|
||||
"properties": { "events": { "type": "object", "title": "Events", "description": "Events", "additionalProperties": { "$ref": "#/definitions/sound_event" } } }
|
||||
},
|
||||
"interactive_sounds": {
|
||||
"type": "object",
|
||||
"title": "Interactive sounds",
|
||||
"title": "Interactive Sounds",
|
||||
"description": "Interactive sounds definitions",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_sounds": {
|
||||
"type": "object",
|
||||
"title": "Block sounds",
|
||||
"title": "Block Sounds",
|
||||
"description": "Block sound definitions",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Block sound definition",
|
||||
"title": "Block Sound ",
|
||||
"description": "A single block sound definition",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
@@ -195,11 +122,9 @@
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Events",
|
||||
"propertyNames": {
|
||||
"enum": ["default", "fall", "step", "hit", "jump", "land"]
|
||||
},
|
||||
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
|
||||
"additionalProperties": {
|
||||
"title": "Sound event definition",
|
||||
"title": "Sound Event ",
|
||||
"description": "A single sound event definition",
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
@@ -209,11 +134,7 @@
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"sound": {
|
||||
"type": "string",
|
||||
"title": "Sound event",
|
||||
"description": "The sound event described in sound_definitions.json"
|
||||
},
|
||||
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
|
||||
"pitch": { "$ref": "#/definitions/pitch" }
|
||||
}
|
||||
}
|
||||
@@ -225,7 +146,7 @@
|
||||
},
|
||||
"entity_sounds": {
|
||||
"type": "object",
|
||||
"title": "Entity sounds",
|
||||
"title": "Entity Sounds",
|
||||
"description": "Entity sound definitions",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
@@ -235,63 +156,42 @@
|
||||
"description": "Default sound definitions",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Entity sounds",
|
||||
"title": "Entity Sounds",
|
||||
"properties": {
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Entity events",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z0-9\\.]+"
|
||||
},
|
||||
"title": "Entity Events",
|
||||
"propertyNames": { "pattern": "[a-z0-9\\.]+" },
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Entity Event",
|
||||
"description": "A single entity event",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"title": "A sound interaction"
|
||||
}
|
||||
"additionalProperties": { "type": "string", "title": "A Sound Interaction" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"volume": {
|
||||
"$ref": "#/definitions/volume"
|
||||
},
|
||||
"pitch": {
|
||||
"$ref": "#/definitions/pitch"
|
||||
}
|
||||
}
|
||||
"properties": { "volume": { "$ref": "#/definitions/volume" }, "pitch": { "$ref": "#/definitions/pitch" } }
|
||||
},
|
||||
"entities": {
|
||||
"type": "object",
|
||||
"title": "Entites sounds",
|
||||
"title": "Entites Sounds",
|
||||
"description": "Entities sound definitions",
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Entity sounds",
|
||||
"title": "Entity Sounds",
|
||||
"properties": {
|
||||
"volume": {
|
||||
"$ref": "#/definitions/volume"
|
||||
},
|
||||
"pitch": {
|
||||
"$ref": "#/definitions/pitch"
|
||||
},
|
||||
"volume": { "$ref": "#/definitions/volume" },
|
||||
"pitch": { "$ref": "#/definitions/pitch" },
|
||||
"events": {
|
||||
"type": "object",
|
||||
"title": "Entity events",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z0-9\\.]+"
|
||||
},
|
||||
"title": "Entity Events",
|
||||
"propertyNames": { "pattern": "[a-z0-9\\.]+" },
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Entity Event",
|
||||
"description": "A single entity event",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"title": "A sound interaction"
|
||||
}
|
||||
"additionalProperties": { "type": "string", "title": "A Sound Interaction" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
"$id": "blockception.minecraft.sound_definition.1.14.0.json",
|
||||
"type": "object",
|
||||
"additionalItems": false,
|
||||
"title": "The minecraft sound definition file for 1.14.0",
|
||||
"title": "Sound File For 1.14.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"SoundPath": {
|
||||
"$id": "SoundFilepath",
|
||||
"type": "string",
|
||||
"title": "The sound filepath schema",
|
||||
"title": "Sound Filepath Schema",
|
||||
"description": "The filepath to the sound, starts with 'sounds/'",
|
||||
"pattern": "(^sounds/.*$|^$)",
|
||||
"additionalItems": true
|
||||
@@ -18,62 +18,31 @@
|
||||
"additionalItems": false,
|
||||
"type": "object",
|
||||
"$id": "#/Sound",
|
||||
"title": "Sound specification",
|
||||
"title": "Sound ",
|
||||
"required": ["sounds"],
|
||||
"properties": {
|
||||
"category": {
|
||||
"type": "string",
|
||||
"$id": "#/Sound/category",
|
||||
"title": "Sound category",
|
||||
"title": "Sound Category",
|
||||
"enum": ["ambient", "block", "music", "weather", "ui", "bucket", "neutral", "player", "hostile", "record", "bottle"],
|
||||
"description": "TODO description: category"
|
||||
},
|
||||
"sounds": {
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$id": "#/Sound/sounds/stringItem",
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/SoundPath",
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
},
|
||||
{ "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: Todo", "title": "Todo" },
|
||||
{
|
||||
"additionalItems": false,
|
||||
"$id": "#/Sound/sounds/ObjectItem",
|
||||
"type": "object",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"pitch": {
|
||||
"description": "The pitch of the audio, 1 is nomial",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 2,
|
||||
"title": "Pitch"
|
||||
},
|
||||
"volume": {
|
||||
"description": "The volume of the audio, 1 is nomial",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"title": "Volume"
|
||||
},
|
||||
"load_on_low_memory": {
|
||||
"type": "boolean",
|
||||
"description": "Marks if this audio should be loaded or not on low memory",
|
||||
"title": "Load On Low Memory"
|
||||
},
|
||||
"stream": {
|
||||
"description": "If marked true then minecraft will stream the audio",
|
||||
"type": "boolean",
|
||||
"title": "Stream"
|
||||
},
|
||||
"name": {
|
||||
"$id": "#/Sound/sounds/stringItem",
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/SoundPath",
|
||||
"description": "TODO description: name",
|
||||
"title": "Name"
|
||||
}
|
||||
"pitch": { "description": "The pitch of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" },
|
||||
"volume": { "description": "The volume of the audio, 1 is nomial", "type": "number", "minimum": 0, "title": "Volume" },
|
||||
"load_on_low_memory": { "type": "boolean", "description": "Marks if this audio should be loaded or not on low memory", "title": "Load On Low Memory" },
|
||||
"stream": { "description": "If marked true then minecraft will stream the audio", "type": "boolean", "title": "Stream" },
|
||||
"name": { "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: name", "title": "Name" }
|
||||
},
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
@@ -97,18 +66,11 @@
|
||||
},
|
||||
"sound_definitions": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/SoundSpec"
|
||||
},
|
||||
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
|
||||
"description": "TODO description: sound definitions",
|
||||
"title": "Sound Definitions"
|
||||
},
|
||||
"__use_legacy_max_distance": {
|
||||
"description": "TODO description: use legacy max distance",
|
||||
"title": "Use Legacy Max Distance",
|
||||
"type": "string",
|
||||
"enum": ["true", "false"]
|
||||
}
|
||||
"__use_legacy_max_distance": { "description": "TODO description: use legacy max distance", "title": "Use Legacy Max Distance", "type": "string", "enum": ["true", "false"] }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
|
||||
@@ -1,24 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.music_definitions.json",
|
||||
"examples": [
|
||||
{
|
||||
"example": {
|
||||
"event_name": "music.example",
|
||||
"min_delay": 600,
|
||||
"max_delay": 1200
|
||||
}
|
||||
}
|
||||
],
|
||||
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
|
||||
"type": "object",
|
||||
"title": "The minecraft music definition file",
|
||||
"title": "Music File",
|
||||
"description": "The definition file of music of the resourcepack",
|
||||
"definitions": {
|
||||
"music": {}
|
||||
},
|
||||
"propertyNames": {
|
||||
"examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"]
|
||||
},
|
||||
"definitions": { "music": {} },
|
||||
"propertyNames": { "examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"] },
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
@@ -40,16 +28,8 @@
|
||||
],
|
||||
"title": "Event Name"
|
||||
},
|
||||
"min_delay": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: min delay",
|
||||
"title": "Min Delay"
|
||||
},
|
||||
"max_delay": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: max delay",
|
||||
"title": "Max Delay"
|
||||
}
|
||||
"min_delay": { "type": "integer", "description": "TODO description: min delay", "title": "Min Delay" },
|
||||
"max_delay": { "type": "integer", "description": "TODO description: max delay", "title": "Max Delay" }
|
||||
},
|
||||
"title": "Music"
|
||||
}
|
||||
|
||||
@@ -1,22 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.sound_definition.json",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.14.0",
|
||||
"sound_definitions": {
|
||||
"music.game": { "category": "music", "sounds": [""] }
|
||||
}
|
||||
}
|
||||
],
|
||||
"examples": [{ "format_version": "1.14.0", "sound_definitions": { "music.game": { "category": "music", "sounds": [""] } } }],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string" } } },
|
||||
"else": { "$ref": "./sound_definitions_unknown.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } },
|
||||
"then": { "$ref": "./1.14.0/sound_definitions.json" }
|
||||
}
|
||||
{ "if": { "properties": { "format_version": { "type": "string" } } }, "else": { "$ref": "./sound_definitions_unknown.json" } },
|
||||
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.14.0" } } }, "then": { "$ref": "./1.14.0/sound_definitions.json" } }
|
||||
]
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.sound_definition.json",
|
||||
"type": "object",
|
||||
"title": "The minecraft sound definition file, unknown version",
|
||||
"title": "Sound File, Unknown Version",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"SoundPath": {
|
||||
"$id": "SoundFilepath",
|
||||
"type": "string",
|
||||
"title": "The sound filepath schema",
|
||||
"title": "Sound Filepath Schema",
|
||||
"description": "The filepath to the sound, starts with 'sounds/'",
|
||||
"pattern": "(^sounds/.*$|^$)",
|
||||
"additionalItems": true
|
||||
@@ -17,63 +17,31 @@
|
||||
"additionalItems": false,
|
||||
"type": "object",
|
||||
"$id": "#/Sound",
|
||||
"title": "Sound specification",
|
||||
"title": "Sound ",
|
||||
"required": ["sounds"],
|
||||
"properties": {
|
||||
"category": {
|
||||
"type": "string",
|
||||
"$id": "#/Sound/category",
|
||||
"title": "Sound category",
|
||||
"title": "Sound Category",
|
||||
"enum": ["block", "music", "weather", "ui", "bucket", "neutral", "player", "hostile", "record"],
|
||||
"description": "TODO description: category"
|
||||
},
|
||||
"sounds": {
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$id": "#/Sound/sounds/stringItem",
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/SoundPath",
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
},
|
||||
{ "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: Todo", "title": "Todo" },
|
||||
{
|
||||
"additionalItems": false,
|
||||
"$id": "#/Sound/sounds/ObjectItem",
|
||||
"type": "object",
|
||||
"required": ["name"],
|
||||
"properties": {
|
||||
"pitch": {
|
||||
"description": "The pitch of the audio, 1 is nomial",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 2,
|
||||
"title": "Pitch"
|
||||
},
|
||||
"volume": {
|
||||
"description": "The volume of the audio, 1 is nomial",
|
||||
"type": "number",
|
||||
"minimum": 0,
|
||||
"maximum": 2,
|
||||
"title": "Volume"
|
||||
},
|
||||
"load_on_low_memory": {
|
||||
"type": "boolean",
|
||||
"description": "Marks if this audio should be loaded or not on low memory",
|
||||
"title": "Load On Low Memory"
|
||||
},
|
||||
"stream": {
|
||||
"description": "If marked true then minecraft will stream the audio",
|
||||
"type": "boolean",
|
||||
"title": "Stream"
|
||||
},
|
||||
"name": {
|
||||
"$id": "#/Sound/sounds/stringItem",
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/SoundPath",
|
||||
"description": "TODO description: name",
|
||||
"title": "Name"
|
||||
}
|
||||
"pitch": { "description": "The pitch of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" },
|
||||
"volume": { "description": "The volume of the audio, 1 is nomial", "type": "number", "minimum": 0, "maximum": 2, "title": "Volume" },
|
||||
"load_on_low_memory": { "type": "boolean", "description": "Marks if this audio should be loaded or not on low memory", "title": "Load On Low Memory" },
|
||||
"stream": { "description": "If marked true then minecraft will stream the audio", "type": "boolean", "title": "Stream" },
|
||||
"name": { "$id": "#/Sound/sounds/stringItem", "type": "string", "$ref": "#/definitions/SoundPath", "description": "TODO description: name", "title": "Name" }
|
||||
},
|
||||
"description": "TODO description: Todo",
|
||||
"title": "Todo"
|
||||
@@ -89,9 +57,7 @@
|
||||
"description": "TODO description: additionalProperties"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/SoundSpec"
|
||||
},
|
||||
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "string",
|
||||
@@ -100,9 +66,7 @@
|
||||
},
|
||||
"sound_definitions": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/SoundSpec"
|
||||
},
|
||||
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
|
||||
"description": "TODO description: sound definitions",
|
||||
"title": "Sound Definitions"
|
||||
}
|
||||
|
||||
@@ -3,59 +3,26 @@
|
||||
"$id": "blockception.minecraft.resource.texture.flipbook",
|
||||
"additionalProperties": false,
|
||||
"type": "array",
|
||||
"title": "The minecraft flipbook texture file",
|
||||
"title": "Flipbook Texture File",
|
||||
"description": "",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A single flipbook texture",
|
||||
"title": "Flipbook texture",
|
||||
"title": "Flipbook Texture",
|
||||
"properties": {
|
||||
"atlas_index": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"atlas_tile": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9_\\-]*$",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"atlas_tile_variant": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"blend_frames": {
|
||||
"type": "boolean",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"flipbook_texture": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
"atlas_index": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
|
||||
"atlas_tile": { "type": "string", "pattern": "^[a-z0-9_\\-]*$", "title": "Atlas Index", "description": "TODO: add description" },
|
||||
"atlas_tile_variant": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
|
||||
"blend_frames": { "type": "boolean", "title": "Atlas Index", "description": "TODO: add description" },
|
||||
"flipbook_texture": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
|
||||
"frames": {
|
||||
"description": "The collection of frame index to display",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "The index of the frame",
|
||||
"type": "integer",
|
||||
"title": "Frame index",
|
||||
"minimum": 0
|
||||
}
|
||||
"items": { "description": "The index of the frame", "type": "integer", "title": "Frame Index", "minimum": 0 }
|
||||
},
|
||||
"replicate": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"ticks_per_frame": {
|
||||
"description": "The amount of ticks to wait between frames",
|
||||
"type": "integer"
|
||||
}
|
||||
"replicate": { "type": "integer", "title": "Atlas Index", "description": "TODO: add description" },
|
||||
"ticks_per_frame": { "description": "The amount of ticks to wait between frames", "type": "integer" }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,74 +3,42 @@
|
||||
"$id": "blockception.minecraft.resource.texture.item_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft item texture file",
|
||||
"title": "Item Texture File",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": {
|
||||
"description": "The color to apply to the texture",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
}
|
||||
"overlay_color": { "description": "The color to apply to the texture", "format": "color-hex" },
|
||||
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$" }
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"resource_pack_name": {
|
||||
"type": "string",
|
||||
"title": "Resource pack name",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
|
||||
"texture_data": {
|
||||
"title": "Texture data",
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\w_\\-\\.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
|
||||
"additionalProperties": {
|
||||
"title": "Texture data",
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"textures": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/texture"
|
||||
},
|
||||
{
|
||||
"description": "A collection of textures",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
"oneOf": [{ "$ref": "#/definitions/texture" }, { "description": "A collection of textures", "type": "array", "items": { "$ref": "#/definitions/texture" } }]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": {
|
||||
"title": "Texture name",
|
||||
"description": "TODO: add description",
|
||||
"type": "string"
|
||||
}
|
||||
"texture_name": { "title": "Texture Name", "description": "TODO: add description", "type": "string" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,36 +3,19 @@
|
||||
"$id": "blockception.minecraft.resource.texture.terrain_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft terrain texture file",
|
||||
"title": "Terrain Texture File",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": {
|
||||
"description": "The color to apply to the texture",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$",
|
||||
"title": "Path"
|
||||
},
|
||||
"tint_color": {
|
||||
"title": "Tint color",
|
||||
"description": "TODO",
|
||||
"format": "color-hex",
|
||||
"type": "string"
|
||||
},
|
||||
"overlay_color": { "description": "The color to apply to the texture", "format": "color-hex" },
|
||||
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
|
||||
"tint_color": { "title": "Tint Color", "description": "TODO", "format": "color-hex", "type": "string" },
|
||||
"variations": {
|
||||
"type": "array",
|
||||
"title": "Variantions",
|
||||
@@ -43,17 +26,8 @@
|
||||
"description": "TODO",
|
||||
"required": ["path"],
|
||||
"properties": {
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$",
|
||||
"title": "Path"
|
||||
},
|
||||
"weight": {
|
||||
"type": "integer",
|
||||
"title": "Weight",
|
||||
"description": "TODO"
|
||||
}
|
||||
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
|
||||
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -63,51 +37,21 @@
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"num_mip_levels": {
|
||||
"type": "integer",
|
||||
"title": "Num mip levels",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"padding": {
|
||||
"type": "integer",
|
||||
"title": "Padding",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"resource_pack_name": {
|
||||
"type": "string",
|
||||
"title": "Resource pack name",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"num_mip_levels": { "type": "integer", "title": "Num Mip Levels", "description": "TODO: add description" },
|
||||
"padding": { "type": "integer", "title": "Padding", "description": "TODO: add description" },
|
||||
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
|
||||
"texture_data": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\w_\\-\\.]+$"
|
||||
},
|
||||
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Texture data",
|
||||
"title": "Texture Data",
|
||||
"description": "TODO: add description",
|
||||
"properties": {
|
||||
"textures": {
|
||||
"oneOf": [
|
||||
{ "$ref": "#/definitions/texture" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
"properties": { "textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] } }
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"texture_name": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
"texture_name": { "type": "string", "description": "TODO description", "title": "TODO Title" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "Texture list",
|
||||
"title": "Texture List",
|
||||
"description": "A list of texture to load in",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "Filepath",
|
||||
"type": "string",
|
||||
"pattern": "^textures/",
|
||||
"examples": ["textures/blocks/"]
|
||||
}
|
||||
"items": { "title": "Filepath", "type": "string", "pattern": "^textures/", "examples": ["textures/blocks/"] }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user