auto: Formatted json files

This commit is contained in:
Blockception Bot
2021-06-06 10:07:19 +00:00
parent 65dc629711
commit 77b8b88cc1
1017 changed files with 36952 additions and 36952 deletions

View File

@@ -1,197 +1,197 @@
{
"$id": "blockception.minecraft.resource.animation_controller1.10.0",
"type": "object",
"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" },
{
"type": "object",
"title": "Animation Specification",
"description": "A object specification on how to transition",
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"oneOf": [
{ "type": "string", "$ref": "../../../molang/string.json" },
{ "type": "number", "description": "A blend weight" }
]
}
}
]
},
"particle_effect_spec": {
"additionalProperties": false,
"type": "object",
"required": ["effect"],
"properties": {
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
},
"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",
"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 .+|/.+)$" }
},
"required": ["format_version", "animation_controllers"],
"additionalProperties": false,
"properties": {
"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": "Animation Controllers Schema",
"description": "The animation controllers schema for 1.10.0",
"propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"]
},
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "A Animation Controller",
"description": "A single animation controller 1.10.0",
"required": ["states"],
"minProperties": 1,
"examples": [
{
"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" }] }
}
}
}
],
"properties": {
"states": {
"title": "States",
"description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] },
"minProperties": 1,
"additionalProperties": {
"additionalProperties": false,
"title": "Animation State",
"description": "Animation state",
"type": "object",
"properties": {
"animations": {
"title": "Animations",
"description": "The animations definition for 1.10.0",
"type": "array",
"items": { "$ref": "#/definitions/animationspec", "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": "object",
"description": "Specifies the cross-fade time in seconds when transitioning to another state",
"additionalProperties": {
"type": "number",
"description": "Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set."
}
}
]
},
"blend_via_shortest_path": {
"description": "When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value",
"type": "boolean",
"title": "Blend Via Shortest Path"
},
"particle_effects": {
"description": "The effects to be emitted",
"type": "array",
"items": {
"$ref": "#/definitions/particle_effect_spec",
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"title": "Particle Effects"
},
"sound_effects": {
"type": "array",
"description": "Collection of sounds to trigger on entry to this animation state.",
"items": {
"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"
}
}
}
},
"transitions": {
"title": "Transition",
"description": "The transition definition for 1.10.0",
"minProperties": 1,
"type": "array",
"examples": [[{ "some_state": "query.is_sheared" }]],
"items": {
"$ref": "#/definitions/animationspec",
"description": "TODO description: transitions",
"title": "Transitions",
"examples": [{ "some_state": "query.is_sheared" }]
}
},
"variables": {
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"required": ["input"],
"properties": {
"input": { "title": "Input", "description": "", "$ref": "../../../molang/number.json" },
"remap_curve": {
"title": "Remap Curve",
"additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" }
}
}
}
},
"on_entry": {
"title": "On Entry",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
},
"on_exit": {
"title": "On Exit",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}
},
"initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" }
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.animation_controller1.10.0",
"type": "object",
"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" },
{
"type": "object",
"title": "Animation Specification",
"description": "A object specification on how to transition",
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"oneOf": [
{ "type": "string", "$ref": "../../../molang/string.json" },
{ "type": "number", "description": "A blend weight" }
]
}
}
]
},
"particle_effect_spec": {
"additionalProperties": false,
"type": "object",
"required": ["effect"],
"properties": {
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
},
"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",
"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 .+|/.+)$" }
},
"required": ["format_version", "animation_controllers"],
"additionalProperties": false,
"properties": {
"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": "Animation Controllers Schema",
"description": "The animation controllers schema for 1.10.0",
"propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"]
},
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "A Animation Controller",
"description": "A single animation controller 1.10.0",
"required": ["states"],
"minProperties": 1,
"examples": [
{
"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" }] }
}
}
}
],
"properties": {
"states": {
"title": "States",
"description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] },
"minProperties": 1,
"additionalProperties": {
"additionalProperties": false,
"title": "Animation State",
"description": "Animation state",
"type": "object",
"properties": {
"animations": {
"title": "Animations",
"description": "The animations definition for 1.10.0",
"type": "array",
"items": { "$ref": "#/definitions/animationspec", "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": "object",
"description": "Specifies the cross-fade time in seconds when transitioning to another state",
"additionalProperties": {
"type": "number",
"description": "Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set."
}
}
]
},
"blend_via_shortest_path": {
"description": "When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value",
"type": "boolean",
"title": "Blend Via Shortest Path"
},
"particle_effects": {
"description": "The effects to be emitted",
"type": "array",
"items": {
"$ref": "#/definitions/particle_effect_spec",
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"title": "Particle Effects"
},
"sound_effects": {
"type": "array",
"description": "Collection of sounds to trigger on entry to this animation state.",
"items": {
"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"
}
}
}
},
"transitions": {
"title": "Transition",
"description": "The transition definition for 1.10.0",
"minProperties": 1,
"type": "array",
"examples": [[{ "some_state": "query.is_sheared" }]],
"items": {
"$ref": "#/definitions/animationspec",
"description": "TODO description: transitions",
"title": "Transitions",
"examples": [{ "some_state": "query.is_sheared" }]
}
},
"variables": {
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"required": ["input"],
"properties": {
"input": { "title": "Input", "description": "", "$ref": "../../../molang/number.json" },
"remap_curve": {
"title": "Remap Curve",
"additionalProperties": { "propertyNames": { "pattern": "^([\\-\\+0-9]+|[\\-\\+0-9]+.[0-9]+)$" }, "type": "number" }
}
}
}
},
"on_entry": {
"title": "On Entry",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
},
"on_exit": {
"title": "On Exit",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+=.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}
},
"initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" }
}
}
}
}
}

View File

@@ -1,180 +1,180 @@
{
"$id": "blockception.minecraft.resource.animation_controller1.8.0",
"type": "object",
"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" },
{
"type": "object",
"title": "Animation Specification",
"description": "A object specification on how to transition",
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"oneOf": [
{ "type": "string", "$ref": "../../../molang/string.json" },
{ "type": "number", "description": "A blend weight" }
]
}
}
]
},
"particle_effect_spec": {
"additionalProperties": false,
"type": "object",
"required": ["effect"],
"properties": {
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
},
"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",
"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 .+|/.+)$" }
},
"required": ["format_version", "animation_controllers"],
"additionalProperties": false,
"properties": {
"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": "Animation Controllers Schema",
"description": "The animation controllers schema for 1.8.0",
"propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"]
},
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "A Animation Controller",
"description": "A single animation controller 1.8.0",
"required": ["states"],
"minProperties": 1,
"properties": {
"states": {
"title": "States",
"description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+" },
"minProperties": 1,
"additionalProperties": {
"additionalProperties": false,
"title": "Animation State",
"description": "Animation state",
"type": "object",
"properties": {
"animations": {
"title": "Animations",
"description": "The animations definition for 1.10.0",
"type": "array",
"items": { "$ref": "#/definitions/animationspec", "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": "object",
"description": "Specifies the cross-fade time in seconds when transitioning to another state",
"additionalProperties": {
"type": "number",
"description": "Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set."
}
}
]
},
"blend_via_shortest_path": {
"description": "When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value",
"type": "boolean",
"title": "Blend Via Shortest Path"
},
"particle_effects": {
"description": "The effects to be emitted",
"type": "array",
"items": {
"$ref": "#/definitions/particle_effect_spec",
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"title": "Particle Effects"
},
"sound_effects": {
"type": "array",
"description": "Collection of sounds to trigger on entry to this animation state.",
"items": {
"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"
}
}
}
},
"transitions": {
"title": "Transition",
"description": "The transition definition for 1.8.0",
"minProperties": 1,
"type": "array",
"items": {
"$ref": "#/definitions/animationspec",
"description": "The specification on when to transition to a new state",
"title": "Transitions"
}
},
"variables": {
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"required": ["input"],
"properties": {
"input": { "$ref": "../../../molang/number.json" },
"remap_curve": { "additionalProperties": { "type": "number" } }
}
}
},
"on_entry": {
"title": "On Entry",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
},
"on_exit": {
"title": "On Exit",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}
},
"initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" }
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.animation_controller1.8.0",
"type": "object",
"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" },
{
"type": "object",
"title": "Animation Specification",
"description": "A object specification on how to transition",
"maxProperties": 1,
"minProperties": 1,
"additionalProperties": {
"oneOf": [
{ "type": "string", "$ref": "../../../molang/string.json" },
{ "type": "number", "description": "A blend weight" }
]
}
}
]
},
"particle_effect_spec": {
"additionalProperties": false,
"type": "object",
"required": ["effect"],
"properties": {
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
},
"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",
"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 .+|/.+)$" }
},
"required": ["format_version", "animation_controllers"],
"additionalProperties": false,
"properties": {
"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": "Animation Controllers Schema",
"description": "The animation controllers schema for 1.8.0",
"propertyNames": {
"pattern": "^controller\\.animation\\.[a-z\\.]+",
"examples": ["controller.animation.example", "controller.animation.example.foo"]
},
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "A Animation Controller",
"description": "A single animation controller 1.8.0",
"required": ["states"],
"minProperties": 1,
"properties": {
"states": {
"title": "States",
"description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+" },
"minProperties": 1,
"additionalProperties": {
"additionalProperties": false,
"title": "Animation State",
"description": "Animation state",
"type": "object",
"properties": {
"animations": {
"title": "Animations",
"description": "The animations definition for 1.10.0",
"type": "array",
"items": { "$ref": "#/definitions/animationspec", "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": "object",
"description": "Specifies the cross-fade time in seconds when transitioning to another state",
"additionalProperties": {
"type": "number",
"description": "Mapping of time since the animation was canceled, to the blend value at that time. A default key of time=0 to a blend value of 1.0 is provided if any other key is set and a blend value at time=0 hasn't already been set."
}
}
]
},
"blend_via_shortest_path": {
"description": "When blending a transition to another state, animate each euler axis through the shortest rotation, instead of by value",
"type": "boolean",
"title": "Blend Via Shortest Path"
},
"particle_effects": {
"description": "The effects to be emitted",
"type": "array",
"items": {
"$ref": "#/definitions/particle_effect_spec",
"description": "TODO description: particle effects",
"title": "Particle Effects"
},
"title": "Particle Effects"
},
"sound_effects": {
"type": "array",
"description": "Collection of sounds to trigger on entry to this animation state.",
"items": {
"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"
}
}
}
},
"transitions": {
"title": "Transition",
"description": "The transition definition for 1.8.0",
"minProperties": 1,
"type": "array",
"items": {
"$ref": "#/definitions/animationspec",
"description": "The specification on when to transition to a new state",
"title": "Transitions"
}
},
"variables": {
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"required": ["input"],
"properties": {
"input": { "$ref": "../../../molang/number.json" },
"remap_curve": { "additionalProperties": { "type": "number" } }
}
}
},
"on_entry": {
"title": "On Entry",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
},
"on_exit": {
"title": "On Exit",
"description": "UNDOCUMENTATED",
"type": "array",
"items": { "pattern": "^.+;$", "title": "Molang", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}
},
"initial_state": { "type": "string", "description": "TODO description: initial state", "title": "Initial State" }
}
}
}
}
}

View File

@@ -1,24 +1,24 @@
{
"$id": "blockception.minecraft.resource.animation_controller",
"examples": [
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": {
"states": {
"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" }
},
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.animation_controller",
"examples": [
{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.example": {
"states": {
"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" }
},
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,297 +1,297 @@
{
"$id": "blockception.minecraft.resource.1.10.0.actor_animation",
"additionalProperties": false,
"type": "object",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "TODO description",
"definitions": {
"ParticleEffect": {
"type": "object",
"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" },
"pre_effect_script": {
"title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized",
"$ref": "../../../molang/string.json"
},
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
}
}
},
"PositionV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"RotationV3": {
"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/number.json"
},
{
"title": "Rotation Y",
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Z",
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"ScaleV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"SoundEffect": {
"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."
}
}
}
},
"required": ["format_version", "animations"],
"properties": {
"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",
"description": "The animation 1.10.0 specification",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "Animation 1.8.0",
"description": "The animation specification for 1.8.0",
"properties": {
"anim_time_update": {
"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/number.json"
},
"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/number.json" },
"bones": {
"title": "Bones",
"description": "Defines how the bones in an animation move or transform",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"title": "Bone Transformation",
"description": "The bone definition that declare how it transforms during animation",
"type": "object",
"additionalProperties": false,
"properties": {
"position": {
"title": "Position",
"description": "The Position transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/PositionV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"rotation": {
"title": "Rotation",
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"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"
}
}
},
"scale": {
"title": "Scale",
"description": "TODO",
"oneOf": [
{ "$ref": "../../../molang/number.json" },
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
}
}
}
},
"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"] }]
},
"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/number.json"
},
"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",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0"] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/ParticleEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/ParticleEffect" } }
]
}
},
"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/number.json"
},
"sound_effects": {
"title": "Sound Effect",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/SoundEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/SoundEffect" } }
]
}
},
"timeline": {
"title": "Timeline",
"description": "The time line",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"oneOf": [
{ "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)\\..*=.*;$" }
}
]
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.10.0.actor_animation",
"additionalProperties": false,
"type": "object",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "TODO description",
"definitions": {
"ParticleEffect": {
"type": "object",
"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" },
"pre_effect_script": {
"title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized",
"$ref": "../../../molang/string.json"
},
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
}
}
},
"PositionV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"RotationV3": {
"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/number.json"
},
{
"title": "Rotation Y",
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Z",
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"ScaleV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"SoundEffect": {
"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."
}
}
}
},
"required": ["format_version", "animations"],
"properties": {
"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",
"description": "The animation 1.10.0 specification",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "Animation 1.8.0",
"description": "The animation specification for 1.8.0",
"properties": {
"anim_time_update": {
"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/number.json"
},
"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/number.json" },
"bones": {
"title": "Bones",
"description": "Defines how the bones in an animation move or transform",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"title": "Bone Transformation",
"description": "The bone definition that declare how it transforms during animation",
"type": "object",
"additionalProperties": false,
"properties": {
"position": {
"title": "Position",
"description": "The Position transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/PositionV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"rotation": {
"title": "Rotation",
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"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"
}
}
},
"scale": {
"title": "Scale",
"description": "TODO",
"oneOf": [
{ "$ref": "../../../molang/number.json" },
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
}
}
}
},
"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"] }]
},
"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/number.json"
},
"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",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0"] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/ParticleEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/ParticleEffect" } }
]
}
},
"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/number.json"
},
"sound_effects": {
"title": "Sound Effect",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/SoundEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/SoundEffect" } }
]
}
},
"timeline": {
"title": "Timeline",
"description": "The time line",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"oneOf": [
{ "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)\\..*=.*;$" }
}
]
}
}
}
}
}
}
}

View File

@@ -1,297 +1,297 @@
{
"$id": "blockception.minecraft.resource.1.8.0.actor_animation",
"additionalProperties": false,
"type": "object",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "TODO description",
"definitions": {
"ParticleEffect": {
"type": "object",
"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" },
"pre_effect_script": {
"title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized",
"$ref": "../../../molang/string.json"
},
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
}
}
},
"PositionV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"RotationV3": {
"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/number.json"
},
{
"title": "Rotation Y",
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Z",
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"ScaleV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"SoundEffect": {
"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."
}
}
}
},
"required": ["format_version", "animations"],
"properties": {
"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",
"description": "The animation 1.8.0 specification",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "Animation 1.8.0",
"description": "The animation specification for 1.8.0",
"properties": {
"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/number.json"
},
"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/number.json" },
"bones": {
"title": "Bones",
"minProperties": 1,
"description": "Defines how the bones in an animation move or transform",
"type": "object",
"additionalProperties": {
"title": "Bone Transformation",
"description": "The bone definition that declare how it transforms during animation",
"type": "object",
"additionalProperties": false,
"properties": {
"position": {
"title": "Position",
"description": "The Position transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/PositionV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"rotation": {
"title": "Rotation",
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"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"
}
}
},
"scale": {
"title": "Scale",
"description": "TODO",
"oneOf": [
{ "$ref": "../../../molang/number.json" },
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
}
}
}
},
"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"] }]
},
"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/number.json"
},
"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",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0"] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/ParticleEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/ParticleEffect" } }
]
}
},
"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/number.json"
},
"sound_effects": {
"title": "Sound Effect",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/SoundEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/SoundEffect" } }
]
}
},
"timeline": {
"title": "Timeline",
"description": "The time line",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"oneOf": [
{ "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)\\..*=.*;$" }
}
]
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.8.0.actor_animation",
"additionalProperties": false,
"type": "object",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "TODO description",
"definitions": {
"ParticleEffect": {
"type": "object",
"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" },
"pre_effect_script": {
"title": "Pre Effect Script",
"description": "A molang script that will be run when the particle emitter is initialized",
"$ref": "../../../molang/string.json"
},
"bind_to_actor": {
"type": "boolean",
"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).",
"const": false
}
}
},
"PositionV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"RotationV3": {
"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/number.json"
},
{
"title": "Rotation Y",
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Rotation Z",
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"ScaleV3": {
"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/number.json"
},
{
"title": "Position Y",
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
},
{
"title": "Position Z",
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
"$ref": "../../../molang/number.json"
}
]
},
"SoundEffect": {
"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."
}
}
}
},
"required": ["format_version", "animations"],
"properties": {
"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",
"description": "The animation 1.8.0 specification",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"type": "object",
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "Animation 1.8.0",
"description": "The animation specification for 1.8.0",
"properties": {
"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/number.json"
},
"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/number.json" },
"bones": {
"title": "Bones",
"minProperties": 1,
"description": "Defines how the bones in an animation move or transform",
"type": "object",
"additionalProperties": {
"title": "Bone Transformation",
"description": "The bone definition that declare how it transforms during animation",
"type": "object",
"additionalProperties": false,
"properties": {
"position": {
"title": "Position",
"description": "The Position transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/PositionV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"rotation": {
"title": "Rotation",
"description": "The rotation transformation during this animation",
"oneOf": [
{ "$ref": "#/definitions/RotationV3" },
{ "$ref": "../../../molang/arraynumber3.json" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
},
"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"
}
}
},
"scale": {
"title": "Scale",
"description": "TODO",
"oneOf": [
{ "$ref": "../../../molang/number.json" },
{ "$ref": "#/definitions/ScaleV3" },
{
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"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" }
}
}
}
]
}
}
}
},
"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"] }]
},
"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/number.json"
},
"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",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$", "examples": ["0.0"] },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/ParticleEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/ParticleEffect" } }
]
}
},
"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/number.json"
},
"sound_effects": {
"title": "Sound Effect",
"description": "TODO",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time",
"oneOf": [
{ "type": "object", "$ref": "#/definitions/SoundEffect" },
{ "type": "array", "items": { "$ref": "#/definitions/SoundEffect" } }
]
}
},
"timeline": {
"title": "Timeline",
"description": "The time line",
"type": "object",
"propertyNames": { "pattern": "^(\\d+\\.\\d+|\\d+)$" },
"additionalProperties": {
"oneOf": [
{ "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)\\..*=.*;$" }
}
]
}
}
}
}
}
}
}

View File

@@ -1,9 +1,9 @@
{
"$id": "blockception.minecraft.resource.actor_animation",
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.actor_animation",
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,196 +1,196 @@
{
"$id": "blockception.minecraft.resource.1.10.0.attachables",
"type": "object",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "TODO description",
"required": ["format_version", "minecraft:attachable"],
"properties": {
"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": "Attachables",
"description": "The attachables definition",
"required": ["description"],
"properties": {
"description": {
"title": "Description",
"type": "object",
"required": ["identifier"],
"additionalProperties": false,
"properties": {
"animations": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A single animation reference", "title": "Animation" },
"description": "The collection of animations references",
"title": "Animations"
},
"animation_controllers": {
"type": "array",
"additionalProperties": {
"type": "object",
"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" },
"geometry": {
"title": "Geometry",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
"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" }
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A single material reference", "title": "Material" },
"description": "A collection of material references",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine needed to use this",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"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" },
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
},
"scripts": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: scripts",
"title": "Scripts",
"properties": {
"animate": {
"type": "array",
"title": "Animate Schema",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
{
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: oneOf[1]",
"title": "TODO Title"
}
],
"description": "TODO description: animate",
"title": "Animate"
},
"description": "TODO description: animate"
},
"initialize": {
"type": "array",
"description": "TODO description: initialize",
"title": "Initialize",
"items": {
"pattern": ";$",
"$ref": "../../../molang/number.json",
"description": "TODO description: initialize",
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/number.json",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/number.json" }
}
},
"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" }
},
"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"]
},
"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" }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"title": "Textures"
}
},
"description": "TODO description: description"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
{
"$id": "blockception.minecraft.resource.1.10.0.attachables",
"type": "object",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "TODO description",
"required": ["format_version", "minecraft:attachable"],
"properties": {
"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": "Attachables",
"description": "The attachables definition",
"required": ["description"],
"properties": {
"description": {
"title": "Description",
"type": "object",
"required": ["identifier"],
"additionalProperties": false,
"properties": {
"animations": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A single animation reference", "title": "Animation" },
"description": "The collection of animations references",
"title": "Animations"
},
"animation_controllers": {
"type": "array",
"additionalProperties": {
"type": "object",
"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" },
"geometry": {
"title": "Geometry",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
"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" }
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A single material reference", "title": "Material" },
"description": "A collection of material references",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine needed to use this",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"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" },
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
"items": { "type": "string", "description": "TODO description: render controllers", "title": "Render Controllers" }
},
"scripts": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: scripts",
"title": "Scripts",
"properties": {
"animate": {
"type": "array",
"title": "Animate Schema",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
{
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: oneOf[1]",
"title": "TODO Title"
}
],
"description": "TODO description: animate",
"title": "Animate"
},
"description": "TODO description: animate"
},
"initialize": {
"type": "array",
"description": "TODO description: initialize",
"title": "Initialize",
"items": {
"pattern": ";$",
"$ref": "../../../molang/number.json",
"description": "TODO description: initialize",
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/number.json",
"description": "TODO description: pre aninamtion",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
"scale": { "type": "string", "description": "TODO description: scale", "title": "Scale", "$ref": "../../../molang/number.json" }
}
},
"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" }
},
"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"]
},
"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" }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"title": "Textures"
}
},
"description": "TODO description: description"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}

View File

@@ -1,175 +1,175 @@
{
"$id": "blockception.minecraft.resource.1.8.0.attachables",
"type": "object",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "TODO description",
"required": ["format_version", "minecraft:attachable"],
"properties": {
"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": "Attachables",
"description": "The attachables definition for 1.8.0",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"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": "Animations Schema",
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"animation_controllers": {
"type": "array",
"minItems": 1,
"description": "TODO description: animation controllers",
"title": "Animation Controllers",
"items": {
"type": "object",
"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" },
"geometry": {
"title": "Geometry",
"type": "object",
"minProperties": 1,
"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" }
},
"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"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"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" },
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
"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" }
},
"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"]
},
"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" }
}
},
"scripts": {
"type": "object",
"properties": {
"pre_animation": {
"type": "array",
"items": {
"pattern": ";$",
"$ref": "../../../molang/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" },
"animate": {
"type": "array",
"title": "Animate Schema",
"items": {
"oneOf": [
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
{
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: oneOf[1]",
"title": "TODO Title"
}
],
"description": "TODO description: animate",
"title": "Animate"
},
"description": "TODO description: animate"
},
"parent_setup": { "$ref": "../../../molang/number.json" }
},
"description": "TODO description: scripts",
"title": "Scripts"
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"title": "Textures"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}
{
"$id": "blockception.minecraft.resource.1.8.0.attachables",
"type": "object",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "TODO description",
"required": ["format_version", "minecraft:attachable"],
"properties": {
"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": "Attachables",
"description": "The attachables definition for 1.8.0",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"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": "Animations Schema",
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }
},
"animation_controllers": {
"type": "array",
"minItems": 1,
"description": "TODO description: animation controllers",
"title": "Animation Controllers",
"items": {
"type": "object",
"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" },
"geometry": {
"title": "Geometry",
"type": "object",
"minProperties": 1,
"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" }
},
"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"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"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" },
"description": "TODO description: particle emitters",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "TODO description: render controllers",
"title": "Render Controllers",
"minItems": 1,
"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" }
},
"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"]
},
"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" }
}
},
"scripts": {
"type": "object",
"properties": {
"pre_animation": {
"type": "array",
"items": {
"pattern": ";$",
"$ref": "../../../molang/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" },
"animate": {
"type": "array",
"title": "Animate Schema",
"items": {
"oneOf": [
{ "type": "string", "description": "TODO description: oneOf[0]", "title": "TODO Title" },
{
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: oneOf[1]",
"title": "TODO Title"
}
],
"description": "TODO description: animate",
"title": "Animate"
},
"description": "TODO description: animate"
},
"parent_setup": { "$ref": "../../../molang/number.json" }
},
"description": "TODO description: scripts",
"title": "Scripts"
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: textures",
"title": "Textures"
}
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}

View File

@@ -1,24 +1,24 @@
{
"$id": "blockception.minecraft.resource.attachables",
"examples": [
{
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "minecraft:item",
"materials": { "default": "entity_alphatest", "enchanted": "entity_alphatest_glint" },
"textures": { "default": "textures/items/item" },
"geometry": { "default": "geometry.item" },
"scripts": {},
"render_controllers": ["controller.render.item"]
}
}
}
],
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.attachables",
"examples": [
{
"format_version": "1.10.0",
"minecraft:attachable": {
"description": {
"identifier": "minecraft:item",
"materials": { "default": "entity_alphatest", "enchanted": "entity_alphatest_glint" },
"textures": { "default": "textures/items/item" },
"geometry": { "default": "geometry.item" },
"scripts": {},
"render_controllers": ["controller.render.item"]
}
}
}
],
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,126 +1,126 @@
{
"$id": "blockception.minecraft.biomes_client.json",
"type": "object",
"title": "Biomes Client",
"description": "The minecraft biomes definition file",
"additionalProperties": false,
"definitions": {
"biomespec": {
"additionalProperties": false,
"description": "The specification of colors in a given biome",
"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"
},
"fog_ids_to_merge": {
"title": "Fog ids to merge",
"Description": "UNDOCUMENTATED",
"type": "array",
"items": {
"title": "Fog ID",
"type": "string",
"$ref": "../general/fog/identifier.json"
}
},
"inherit_from_prior_fog": {
"title": "Inherit From Prior Fog",
"Description": "UNDOCUMENTATED",
"type": "boolean"
},
"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": "The amount of transpareny the surface of the water has"
}
}
},
"colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex" }
},
"properties": {
"biomes": {
"type": "object",
"title": "Biomes",
"additionalProperties": false,
"description": "A collection of predefined biomes",
"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" }
}
}
}
}
{
"$id": "blockception.minecraft.biomes_client.json",
"type": "object",
"title": "Biomes Client",
"description": "The minecraft biomes definition file",
"additionalProperties": false,
"definitions": {
"biomespec": {
"additionalProperties": false,
"description": "The specification of colors in a given biome",
"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"
},
"fog_ids_to_merge": {
"title": "Fog ids to merge",
"Description": "UNDOCUMENTATED",
"type": "array",
"items": {
"title": "Fog ID",
"type": "string",
"$ref": "../general/fog/identifier.json"
}
},
"inherit_from_prior_fog": {
"title": "Inherit From Prior Fog",
"Description": "UNDOCUMENTATED",
"type": "boolean"
},
"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": "The amount of transpareny the surface of the water has"
}
}
},
"colorhex": { "description": "The colouration of this object", "title": "Colorhex", "format": "color-hex" }
},
"properties": {
"biomes": {
"type": "object",
"title": "Biomes",
"additionalProperties": false,
"description": "A collection of predefined biomes",
"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" }
}
}
}
}

View File

@@ -1,67 +1,67 @@
{
"$id": "blockception.minecraft.block.json",
"type": "object",
"title": "Blocks",
"description": "The minecraft block definition file",
"definitions": {
"texture": {
"oneOf": [
{ "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_\\-]+$" }
}
}
]
}
},
"propertyNames": { "pattern": "^[\\w_\\-:]+$" },
"properties": {
"format_version": {
"type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }],
"description": "TODO description",
"title": "TODO Title"
}
},
"additionalProperties": {
"additionalProperties": false,
"title": "Block",
"description": "Block texture definition",
"type": "object",
"properties": {
"brightness_gamma": { "type": "number", "title": "Brightness Gamma", "description": "TODO" },
"carried_textures": { "$ref": "#/definitions/texture", "title": "Carried Textures", "description": "TODO" },
"isotropic": {
"title": "Isotropic",
"description": "Marks if this block is isotropic or not, or which side are",
"oneOf": [
{ "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" }
}
}
]
},
"sound": { "type": "string", "title": "Sound", "description": "The sound definition of this block" },
"textures": { "$ref": "#/definitions/texture", "title": "Sound", "description": "Textures" }
}
}
}
{
"$id": "blockception.minecraft.block.json",
"type": "object",
"title": "Blocks",
"description": "The minecraft block definition file",
"definitions": {
"texture": {
"oneOf": [
{ "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_\\-]+$" }
}
}
]
}
},
"propertyNames": { "pattern": "^[\\w_\\-:]+$" },
"properties": {
"format_version": {
"type": "array",
"items": [{ "type": "integer" }, { "type": "integer" }, { "type": "integer" }],
"description": "TODO description",
"title": "TODO Title"
}
},
"additionalProperties": {
"additionalProperties": false,
"title": "Block",
"description": "Block texture definition",
"type": "object",
"properties": {
"brightness_gamma": { "type": "number", "title": "Brightness Gamma", "description": "TODO" },
"carried_textures": { "$ref": "#/definitions/texture", "title": "Carried Textures", "description": "TODO" },
"isotropic": {
"title": "Isotropic",
"description": "Marks if this block is isotropic or not, or which side are",
"oneOf": [
{ "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" }
}
}
]
},
"sound": { "type": "string", "title": "Sound", "description": "The sound definition of this block" },
"textures": { "$ref": "#/definitions/texture", "title": "Sound", "description": "Textures" }
}
}
}

View File

@@ -1,230 +1,230 @@
{
"$id": "blockception.minecraft.resource.1.10.0.entity",
"type": "object",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "A client side entity definition",
"additionalProperties": false,
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"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",
"additionalProperties": false,
"title": "Client Entity",
"description": "The entity description for clientside rendering, animations and models",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"title": "Description",
"description": "The entity description for clientside rendering, animations and models",
"type": "object",
"required": ["identifier"],
"properties": {
"animations": {
"title": "Animations",
"description": "The collection of animations and animations controllers",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "A reference to an animation or animation controller",
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
},
"enable_attachables": { "type": "boolean", "description": "Whether or not attachables are enaboled", "title": "Enable Attachables" },
"geometry": {
"title": "Geometry",
"description": "The reference to defined geometries in '<resource pack>/models/'",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
},
"identifier": {
"type": "string",
"description": "The entity indentifier",
"title": "Identifier",
"$ref": "../../../general/entity/identifier.json"
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "Material reference", "title": "Material" },
"description": "A collection of material definitions",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine version to be used",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle reference", "title": "Particle" },
"description": "A collection of particle definitions",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle Emitter" },
"description": "A collection of particle emitters definitions",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "A collection of Render controller definitions",
"title": "Render Controllers",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "title": "Render Controller", "description": "A single render controller definition" },
{
"type": "object",
"additionalProperties": {
"type": "string",
"description": "A render controller activate on conditional",
"title": "Render Controller"
}
}
]
}
},
"scripts": {
"additionalProperties": false,
"type": "object",
"title": "Scripts",
"description": "The place where variables, and animations / controller to be run is specified",
"properties": {
"animate": {
"type": "array",
"title": "Animate",
"description": "The array of items to animate",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "description": "A single animation or animation controller to run", "title": "Animation (Controller)" },
{
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"title": "Animation (Controller) Condition",
"description": "A single animation or animation controller to run on condition",
"additionalProperties": {
"oneOf": [
{ "type": "string", "description": "A molang condition", "title": "Molang" },
{ "type": "number", "description": "Blend weight", "title": "Blend Weight" }
]
}
}
]
}
},
"initialize": {
"type": "array",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize",
"minItems": 1,
"items": {
"pattern": ";$",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
"scale": {
"type": "string",
"description": "Scale sets the scale of the mob's geometry.",
"title": "Scale",
"$ref": "../../../molang/number.json"
},
"scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" },
"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.",
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }]
},
"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.",
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }]
},
"variables": {
"title": "Variables",
"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_]*" },
"additionalProperties": {
"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"]
}
}
}
},
"sound_effects": {
"title": "Sound Effects",
"description": "A collection of sound effect definition",
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound Effect" }
},
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "The definition of how the spawn_egg icon looks like",
"title": "Spawn Egg",
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": {
"type": "string",
"description": "The colors of the dots on the egg",
"title": "Overlay Color",
"format": "color-hex"
},
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A reference to a texture in the resourcepack", "title": "Texture" },
"description": "A collection of references to textures in the resourcepack",
"title": "Textures"
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.10.0.entity",
"type": "object",
"title": "Resourcepack Actor Animation 1.10.0",
"description": "A client side entity definition",
"additionalProperties": false,
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"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",
"additionalProperties": false,
"title": "Client Entity",
"description": "The entity description for clientside rendering, animations and models",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"title": "Description",
"description": "The entity description for clientside rendering, animations and models",
"type": "object",
"required": ["identifier"],
"properties": {
"animations": {
"title": "Animations",
"description": "The collection of animations and animations controllers",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "A reference to an animation or animation controller",
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
},
"enable_attachables": { "type": "boolean", "description": "Whether or not attachables are enaboled", "title": "Enable Attachables" },
"geometry": {
"title": "Geometry",
"description": "The reference to defined geometries in '<resource pack>/models/'",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
},
"identifier": {
"type": "string",
"description": "The entity indentifier",
"title": "Identifier",
"$ref": "../../../general/entity/identifier.json"
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "Material reference", "title": "Material" },
"description": "A collection of material definitions",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine version to be used",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle reference", "title": "Particle" },
"description": "A collection of particle definitions",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle Emitter" },
"description": "A collection of particle emitters definitions",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "A collection of Render controller definitions",
"title": "Render Controllers",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "title": "Render Controller", "description": "A single render controller definition" },
{
"type": "object",
"additionalProperties": {
"type": "string",
"description": "A render controller activate on conditional",
"title": "Render Controller"
}
}
]
}
},
"scripts": {
"additionalProperties": false,
"type": "object",
"title": "Scripts",
"description": "The place where variables, and animations / controller to be run is specified",
"properties": {
"animate": {
"type": "array",
"title": "Animate",
"description": "The array of items to animate",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "description": "A single animation or animation controller to run", "title": "Animation (Controller)" },
{
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"title": "Animation (Controller) Condition",
"description": "A single animation or animation controller to run on condition",
"additionalProperties": {
"oneOf": [
{ "type": "string", "description": "A molang condition", "title": "Molang" },
{ "type": "number", "description": "Blend weight", "title": "Blend Weight" }
]
}
}
]
}
},
"initialize": {
"type": "array",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize",
"minItems": 1,
"items": {
"pattern": ";$",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the creation of the entity",
"title": "Initialize"
}
},
"pre_animation": {
"type": "array",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
"scale": {
"type": "string",
"description": "Scale sets the scale of the mob's geometry.",
"title": "Scale",
"$ref": "../../../molang/number.json"
},
"scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" },
"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.",
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }]
},
"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.",
"oneOf": [{ "type": "boolean" }, { "type": "string", "$ref": "../../../molang/string.json" }]
},
"variables": {
"title": "Variables",
"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_]*" },
"additionalProperties": {
"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"]
}
}
}
},
"sound_effects": {
"title": "Sound Effects",
"description": "A collection of sound effect definition",
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound Effect" }
},
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "The definition of how the spawn_egg icon looks like",
"title": "Spawn Egg",
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": {
"type": "string",
"description": "The colors of the dots on the egg",
"title": "Overlay Color",
"format": "color-hex"
},
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A reference to a texture in the resourcepack", "title": "Texture" },
"description": "A collection of references to textures in the resourcepack",
"title": "Textures"
}
}
}
}
}
}
}

View File

@@ -1,188 +1,188 @@
{
"$id": "blockception.minecraft.resource.1.8.0.entity",
"type": "object",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "A client side entity definition",
"additionalProperties": false,
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"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:client_entity": {
"type": "object",
"additionalProperties": false,
"title": "Client Entity",
"description": "The entity description for clientside rendering, animations and models",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"title": "Description",
"description": "The entity description for clientside rendering, animations and models",
"type": "object",
"required": ["identifier"],
"properties": {
"animations": {
"title": "Animations",
"description": "The collection of animations",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "A reference to an animation",
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
},
"animation_controllers": {
"type": "array",
"minItems": 1,
"description": "A reference to an animation controller",
"title": "Animation Controllers",
"items": {
"type": "object",
"description": "A collection of animation controllers",
"title": "Animation Controllers",
"additionalProperties": {
"type": "string",
"description": "A reference to an animation",
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
}
},
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": {
"title": "Geometry",
"description": "The reference to defined geometries in '<resource pack>/models/'",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
},
"identifier": {
"type": "string",
"description": "The entity indentifier",
"title": "Identifier",
"$ref": "../../../general/entity/identifier.json"
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "Material reference", "title": "Material" },
"description": "A collection of material definitions",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine version to be used",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle reference", "title": "Particle" },
"description": "A collection of particle definitions",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle Emitter" },
"description": "A collection of particle emitters definitions",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "A collection of Render controller definitions",
"title": "Render Controllers",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "title": "Render Controller", "description": "A single render controller definition" },
{
"type": "object",
"additionalProperties": {
"type": "string",
"description": "A render controller activate on conditional",
"title": "Render Controller"
}
}
]
}
},
"scripts": {
"additionalProperties": false,
"type": "object",
"title": "Scripts",
"description": "The place where variables, and animations / controller to be run is specified",
"properties": {
"pre_animation": {
"type": "array",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
"scale": {
"type": "string",
"description": "Scale sets the scale of the mob's geometry.",
"title": "Scale",
"$ref": "../../../molang/number.json"
},
"scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" }
}
},
"sound_effects": {
"title": "Sound Effects",
"description": "A collection of sound effect definition",
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound Effect" }
},
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "The definition of how the spawn_egg icon looks like",
"title": "Spawn Egg",
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": {
"type": "string",
"description": "The colors of the dots on the egg",
"title": "Overlay Color",
"format": "color-hex"
},
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A reference to a texture in the resourcepack", "title": "Texture" },
"description": "A collection of references to textures in the resourcepack",
"title": "Textures"
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.8.0.entity",
"type": "object",
"title": "Resourcepack Actor Animation 1.8.0",
"description": "A client side entity definition",
"additionalProperties": false,
"required": ["format_version", "minecraft:client_entity"],
"properties": {
"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:client_entity": {
"type": "object",
"additionalProperties": false,
"title": "Client Entity",
"description": "The entity description for clientside rendering, animations and models",
"required": ["description"],
"properties": {
"description": {
"additionalProperties": false,
"title": "Description",
"description": "The entity description for clientside rendering, animations and models",
"type": "object",
"required": ["identifier"],
"properties": {
"animations": {
"title": "Animations",
"description": "The collection of animations",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"type": "string",
"description": "A reference to an animation",
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
},
"animation_controllers": {
"type": "array",
"minItems": 1,
"description": "A reference to an animation controller",
"title": "Animation Controllers",
"items": {
"type": "object",
"description": "A collection of animation controllers",
"title": "Animation Controllers",
"additionalProperties": {
"type": "string",
"description": "A reference to an animation",
"title": "Animation Reference",
"examples": [{ "basic": "controller.generic.basic" }]
}
}
},
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": {
"title": "Geometry",
"description": "The reference to defined geometries in '<resource pack>/models/'",
"type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "The reference to the geometry", "title": "Geometry Reference" }
},
"identifier": {
"type": "string",
"description": "The entity indentifier",
"title": "Identifier",
"$ref": "../../../general/entity/identifier.json"
},
"materials": {
"type": "object",
"additionalProperties": { "type": "string", "description": "Material reference", "title": "Material" },
"description": "A collection of material definitions",
"title": "Materials"
},
"min_engine_version": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
"description": "The minimum engine version to be used",
"title": "Min Engine Version"
},
"particle_effects": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle reference", "title": "Particle" },
"description": "A collection of particle definitions",
"title": "Particle Effects"
},
"particle_emitters": {
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "Particle emitter reference", "title": "Particle Emitter" },
"description": "A collection of particle emitters definitions",
"title": "Particle Emitters"
},
"render_controllers": {
"type": "array",
"description": "A collection of Render controller definitions",
"title": "Render Controllers",
"minItems": 1,
"items": {
"oneOf": [
{ "type": "string", "title": "Render Controller", "description": "A single render controller definition" },
{
"type": "object",
"additionalProperties": {
"type": "string",
"description": "A render controller activate on conditional",
"title": "Render Controller"
}
}
]
}
},
"scripts": {
"additionalProperties": false,
"type": "object",
"title": "Scripts",
"description": "The place where variables, and animations / controller to be run is specified",
"properties": {
"pre_animation": {
"type": "array",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation",
"items": {
"pattern": ";$",
"$ref": "../../../molang/string.json",
"description": "Clientside molang variables that are to be evualated during the animation",
"title": "Pre Animation"
}
},
"parent_setup": {
"type": "string",
"description": "TODO description: parent setup",
"title": "Parent Setup",
"$ref": "../../../molang/number.json"
},
"scale": {
"type": "string",
"description": "Scale sets the scale of the mob's geometry.",
"title": "Scale",
"$ref": "../../../molang/number.json"
},
"scalex": { "$ref": "../../../molang/number.json", "title": "Scale X" },
"scaley": { "$ref": "../../../molang/number.json", "title": "Scale Y" },
"scalez": { "$ref": "../../../molang/number.json", "title": "Scale Z" }
}
},
"sound_effects": {
"title": "Sound Effects",
"description": "A collection of sound effect definition",
"type": "object",
"minProperties": 1,
"additionalProperties": { "type": "string", "description": "A sound effect definition", "title": "Sound Effect" }
},
"spawn_egg": {
"additionalProperties": false,
"type": "object",
"description": "The definition of how the spawn_egg icon looks like",
"title": "Spawn Egg",
"dependencies": { "texture_index": ["texture"], "base_colour": ["overlay_color"], "overlay_color": ["base_color"] },
"properties": {
"base_color": { "type": "string", "description": "The basic color of the egg", "title": "Base Color", "format": "color-hex" },
"overlay_color": {
"type": "string",
"description": "The colors of the dots on the egg",
"title": "Overlay Color",
"format": "color-hex"
},
"texture": { "type": "string", "description": "The texture reference in item_texture.json", "title": "Texture" },
"texture_index": { "type": "integer", "description": "The index of the texture", "title": "Texture Index", "default": 0 }
}
},
"textures": {
"type": "object",
"additionalProperties": { "type": "string", "description": "A reference to a texture in the resourcepack", "title": "Texture" },
"description": "A collection of references to textures in the resourcepack",
"title": "Textures"
}
}
}
}
}
}
}

View File

@@ -1,26 +1,26 @@
{
"$id": "blockception.minecraft.resource.entity",
"examples": [
{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:entity",
"materials": { "default": "entity_custom" },
"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" }
}
}
}
],
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.entity",
"examples": [
{
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "minecraft:entity",
"materials": { "default": "entity_custom" },
"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" }
}
}
}
],
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,209 +1,209 @@
{
"$id": "blockception.minecraft.resource.1.16.100.resource",
"type": "object",
"additionalProperties": false,
"title": "Fog",
"description": "TODO",
"definitions": {
"colorHexOrArray": {
"examples": ["#056bd1"],
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Red" },
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Green" },
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Blue" }
]
},
{ "type": "string", "format": "color-hex", "pattern": "^\\#[0-9a-fA-F]{6}$" }
]
},
"defaultFogSettings": {
"type": "object",
"additionalProperties": false,
"required": ["fog_start", "fog_end", "fog_color", "render_distance_type"],
"examples": [{ "fog_start": 100, "fog_end": 200, "fog_color": "#056bd1", "render_distance_type": "render" }],
"properties": {
"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",
"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" },
"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"]
}
}
},
"volumeDensityObject": {
"type": "object",
"additionalProperties": false,
"required": ["max_density"],
"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",
"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",
"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",
"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" }
}
},
"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"
}
}
}
},
"properties": {
"format_version": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string"
},
"minecraft:fog_settings": {
"title": "Fog Settings",
"description": "The definition of a single fog",
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The identifying description of this fog settings",
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"type": "string",
"title": "Identifier",
"description": "The identifier for these fog settings. The identifier must include a namespace.",
"$ref": "../../../general/fog/identifier.json"
}
}
},
"distance": {
"title": "Distance",
"description": "The distance fog settings for different camera locations.",
"type": "object",
"additionalProperties": false,
"properties": {
"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" },
"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"
}
}
},
"volumetric": {
"title": "Volumetric",
"description": "The volumetric fog settings.",
"type": "object",
"additionalProperties": false,
"properties": {
"density": {
"title": "Density",
"description": "The density settings for different camera locations.",
"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"
},
"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",
"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"
}
}
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.16.100.resource",
"type": "object",
"additionalProperties": false,
"title": "Fog",
"description": "TODO",
"definitions": {
"colorHexOrArray": {
"examples": ["#056bd1"],
"oneOf": [
{
"type": "array",
"items": [
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Red" },
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Green" },
{ "type": "number", "minimum": 0, "maximum": 1, "title": "Blue" }
]
},
{ "type": "string", "format": "color-hex", "pattern": "^\\#[0-9a-fA-F]{6}$" }
]
},
"defaultFogSettings": {
"type": "object",
"additionalProperties": false,
"required": ["fog_start", "fog_end", "fog_color", "render_distance_type"],
"examples": [{ "fog_start": 100, "fog_end": 200, "fog_color": "#056bd1", "render_distance_type": "render" }],
"properties": {
"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",
"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" },
"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"]
}
}
},
"volumeDensityObject": {
"type": "object",
"additionalProperties": false,
"required": ["max_density"],
"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",
"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",
"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",
"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" }
}
},
"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"
}
}
}
},
"properties": {
"format_version": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string"
},
"minecraft:fog_settings": {
"title": "Fog Settings",
"description": "The definition of a single fog",
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The identifying description of this fog settings",
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"type": "string",
"title": "Identifier",
"description": "The identifier for these fog settings. The identifier must include a namespace.",
"$ref": "../../../general/fog/identifier.json"
}
}
},
"distance": {
"title": "Distance",
"description": "The distance fog settings for different camera locations.",
"type": "object",
"additionalProperties": false,
"properties": {
"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" },
"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"
}
}
},
"volumetric": {
"title": "Volumetric",
"description": "The volumetric fog settings.",
"type": "object",
"additionalProperties": false,
"properties": {
"density": {
"title": "Density",
"description": "The density settings for different camera locations.",
"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"
},
"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",
"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"
}
}
}
}
}
}
}
}
}

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.resource.fog",
"examples": [],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/fog.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.fog",
"examples": [],
"allOf": [
{ "if": { "properties": { "format_version": { "type": "string", "const": "1.16.100" } } }, "then": { "$ref": "./1.16.100/fog.json" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,52 +1,52 @@
{
"$id": "blockception.minecraft.resource.1.10.0.items",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"description": "Minecraft items 1.10.0",
"properties": {
"format_version": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string"
},
"minecraft:item": {
"title": "Item",
"description": "A resource pack definition of an item",
"required": ["description", "components"],
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The description of an item",
"required": ["identifier"],
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"title": "Identifier",
"description": "The item identifier",
"$ref": "../../../general/item/identifier.json",
"examples": ["namespace:example"]
},
"category": { "title": "Category", "description": "The category this item belongs in", "type": "string" }
}
},
"components": {
"title": "Components",
"description": "The components that describe this item",
"additionalProperties": false,
"properties": {
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
"minecraft:render_offsets": {
"type": "string",
"description": "The render offset used for the item",
"title": "Render Offsets",
"enum": ["apple"]
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.1.10.0.items",
"required": ["format_version", "minecraft:item"],
"title": "Item",
"description": "Minecraft items 1.10.0",
"properties": {
"format_version": {
"title": "Format Version",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"type": "string"
},
"minecraft:item": {
"title": "Item",
"description": "A resource pack definition of an item",
"required": ["description", "components"],
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"title": "Description",
"description": "The description of an item",
"required": ["identifier"],
"type": "object",
"additionalProperties": false,
"properties": {
"identifier": {
"title": "Identifier",
"description": "The item identifier",
"$ref": "../../../general/item/identifier.json",
"examples": ["namespace:example"]
},
"category": { "title": "Category", "description": "The category this item belongs in", "type": "string" }
}
},
"components": {
"title": "Components",
"description": "The components that describe this item",
"additionalProperties": false,
"properties": {
"minecraft:icon": { "title": "Icon", "description": "The texture defined in `textures/item_texture.json`", "type": "string" },
"minecraft:render_offsets": {
"type": "string",
"description": "The render offset used for the item",
"title": "Render Offsets",
"enum": ["apple"]
}
}
}
}
}
}
}

View File

@@ -1,17 +1,17 @@
{
"$id": "blockception.minecraft.resource.items",
"examples": [
{
"format_version": "1.10.0",
"minecraft:item": {
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.items",
"examples": [
{
"format_version": "1.10.0",
"minecraft:item": {
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,256 +1,256 @@
{
"$id": "blockception.minecraft.materials",
"type": "object",
"title": "Material",
"description": "TODO",
"additionalProperties": false,
"definitions": {
"DefinesSpecification": {
"type": "array",
"title": "Defines",
"description": "TODO",
"items": {
"type": "string",
"title": "Definition",
"description": "TODO",
"enum": [
"ALLOW_FADE",
"ALPHA_TEST",
"ALWAYS_LIT",
"ARRAY_TEXTURE_0",
"AS_ENTITY_RENDERER",
"ATLAS_TEXTURE",
"BLEND",
"BLUR_STEPS 1",
"BLUR_STEPS 10",
"BLUR_STEPS 11",
"BLUR_STEPS 12",
"BLUR_STEPS 2",
"BLUR_STEPS 3",
"BLUR_STEPS 4",
"BLUR_STEPS 5",
"BLUR_STEPS 6",
"BLUR_STEPS 7",
"BLUR_STEPS 8",
"BLUR_STEPS 9",
"Blending",
"COLOR_BASED",
"COLOR_FROMTEX",
"COLOR_MULTIPLIER",
"COLOR_SECOND_TEXTURE",
"COMFORT_MODE",
"DISABLE_TINTING",
"DisableCulling",
"EFFECTS_OFFSET",
"ENABLE_CURRENT_ALPHA_MULTIPLY",
"ENABLE_FOG",
"ENABLE_LIGHT",
"ENABLE_VERTEX_TINT_MASK",
"END_PORTAL",
"FLIP_OCCLUSION",
"FOG",
"FORCE_DEPTH_ZERO",
"GLINT",
"GRADIENT_2PT",
"GRADIENT_3PTSYMM",
"GRADIENT_FROMTEX",
"GRADIENT_LINEAR",
"GRADIENT_RADIAL",
"HAS_MASK",
"IGNORE_CURRENTCOLOR",
"INVENTORY",
"ITEM_IN_HAND",
"LINE_STRIP",
"LOW_PRECISION",
"MASKED_MULTITEXTURE",
"MSDF",
"MULTIPLICATIVE_TINT",
"MULTIPLICATIVE_TINT_COLOR",
"MULTI_COLOR_TINT",
"NO_OCCLUSION",
"NO_TEXTURE",
"NO_VARIETY",
"SEASONS",
"SEASONS_FAR",
"SMOOTH",
"SNOW",
"STEREO_LEFT_EYE_ONLY",
"TEXEL_AA",
"TINTED",
"TINTED_ALPHA_TEST",
"UI_ENTITY",
"USE_COLOR_BLEND",
"USE_COLOR_MASK",
"USE_EMISSIVE",
"USE_LIGHTING",
"USE_MASK",
"USE_MULTITEXTURE",
"USE_ONLY_EMISSIVE",
"USE_OVERLAY",
"USE_SKINNING",
"USE_STEREO_TEXTURE_ARRAY",
"USE_UV_ANIM",
"WINDOWSMR_MAGICALPHA"
]
}
},
"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" }
}
},
"StatesSpecification": {
"type": "array",
"title": "States",
"description": "TODO",
"items": {
"type": "string",
"title": "State",
"description": "TODO",
"enum": [
"Blending",
"DisableAlphaWrite",
"DisableColorWrite",
"DisableCulling",
"DisableDepthTest",
"DisableDepthWrite",
"EnableAlphaToCoverage",
"EnableStencilTest",
"InvertCulling",
"StencilWrite"
]
}
},
"SamplerStatesSpecification": {
"type": "array",
"title": "Sampler States",
"description": "TODO",
"items": {
"type": "object",
"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"] }
}
}
},
"VertexFieldsSpecification": {
"type": "array",
"title": "Vertex Fields",
"description": "TODO",
"items": {
"type": "object",
"title": "Vertex Field",
"description": "TODO",
"additionalProperties": false,
"properties": { "field": { "type": "string", "title": "Vertex Field", "description": "TODO" } }
}
},
"VariantSpecification": {
"type": "array",
"title": "Variants",
"description": "TODO",
"items": {
"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" }
}
},
"VariantsItemSpecificaiton": {
"type": "object",
"title": "Variant Item",
"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" }
}
}
},
"properties": {
"materials": {
"type": "object",
"title": "Materials",
"description": "TODO",
"required": ["version"],
"properties": { "version": { "type": "string", "const": "1.0.0", "title": "Version", "description": "TODO" } },
"additionalProperties": {
"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" },
"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$" }
}
}
}
}
}
{
"$id": "blockception.minecraft.materials",
"type": "object",
"title": "Material",
"description": "TODO",
"additionalProperties": false,
"definitions": {
"DefinesSpecification": {
"type": "array",
"title": "Defines",
"description": "TODO",
"items": {
"type": "string",
"title": "Definition",
"description": "TODO",
"enum": [
"ALLOW_FADE",
"ALPHA_TEST",
"ALWAYS_LIT",
"ARRAY_TEXTURE_0",
"AS_ENTITY_RENDERER",
"ATLAS_TEXTURE",
"BLEND",
"BLUR_STEPS 1",
"BLUR_STEPS 10",
"BLUR_STEPS 11",
"BLUR_STEPS 12",
"BLUR_STEPS 2",
"BLUR_STEPS 3",
"BLUR_STEPS 4",
"BLUR_STEPS 5",
"BLUR_STEPS 6",
"BLUR_STEPS 7",
"BLUR_STEPS 8",
"BLUR_STEPS 9",
"Blending",
"COLOR_BASED",
"COLOR_FROMTEX",
"COLOR_MULTIPLIER",
"COLOR_SECOND_TEXTURE",
"COMFORT_MODE",
"DISABLE_TINTING",
"DisableCulling",
"EFFECTS_OFFSET",
"ENABLE_CURRENT_ALPHA_MULTIPLY",
"ENABLE_FOG",
"ENABLE_LIGHT",
"ENABLE_VERTEX_TINT_MASK",
"END_PORTAL",
"FLIP_OCCLUSION",
"FOG",
"FORCE_DEPTH_ZERO",
"GLINT",
"GRADIENT_2PT",
"GRADIENT_3PTSYMM",
"GRADIENT_FROMTEX",
"GRADIENT_LINEAR",
"GRADIENT_RADIAL",
"HAS_MASK",
"IGNORE_CURRENTCOLOR",
"INVENTORY",
"ITEM_IN_HAND",
"LINE_STRIP",
"LOW_PRECISION",
"MASKED_MULTITEXTURE",
"MSDF",
"MULTIPLICATIVE_TINT",
"MULTIPLICATIVE_TINT_COLOR",
"MULTI_COLOR_TINT",
"NO_OCCLUSION",
"NO_TEXTURE",
"NO_VARIETY",
"SEASONS",
"SEASONS_FAR",
"SMOOTH",
"SNOW",
"STEREO_LEFT_EYE_ONLY",
"TEXEL_AA",
"TINTED",
"TINTED_ALPHA_TEST",
"UI_ENTITY",
"USE_COLOR_BLEND",
"USE_COLOR_MASK",
"USE_EMISSIVE",
"USE_LIGHTING",
"USE_MASK",
"USE_MULTITEXTURE",
"USE_ONLY_EMISSIVE",
"USE_OVERLAY",
"USE_SKINNING",
"USE_STEREO_TEXTURE_ARRAY",
"USE_UV_ANIM",
"WINDOWSMR_MAGICALPHA"
]
}
},
"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" }
}
},
"StatesSpecification": {
"type": "array",
"title": "States",
"description": "TODO",
"items": {
"type": "string",
"title": "State",
"description": "TODO",
"enum": [
"Blending",
"DisableAlphaWrite",
"DisableColorWrite",
"DisableCulling",
"DisableDepthTest",
"DisableDepthWrite",
"EnableAlphaToCoverage",
"EnableStencilTest",
"InvertCulling",
"StencilWrite"
]
}
},
"SamplerStatesSpecification": {
"type": "array",
"title": "Sampler States",
"description": "TODO",
"items": {
"type": "object",
"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"] }
}
}
},
"VertexFieldsSpecification": {
"type": "array",
"title": "Vertex Fields",
"description": "TODO",
"items": {
"type": "object",
"title": "Vertex Field",
"description": "TODO",
"additionalProperties": false,
"properties": { "field": { "type": "string", "title": "Vertex Field", "description": "TODO" } }
}
},
"VariantSpecification": {
"type": "array",
"title": "Variants",
"description": "TODO",
"items": {
"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" }
}
},
"VariantsItemSpecificaiton": {
"type": "object",
"title": "Variant Item",
"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" }
}
}
},
"properties": {
"materials": {
"type": "object",
"title": "Materials",
"description": "TODO",
"required": ["version"],
"properties": { "version": { "type": "string", "const": "1.0.0", "title": "Version", "description": "TODO" } },
"additionalProperties": {
"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" },
"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$" }
}
}
}
}
}

View File

@@ -1,112 +1,112 @@
{
"$id": "blockception.minecraft.resource.model.1.10.0",
"type": "object",
"title": "Resourcepack Model Schema For 1.10.0",
"description": "TODO description",
"required": ["format_version"],
"properties": {
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
"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)" },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "Geometry specification",
"title": "Geometry",
"properties": {
"bones": {
"type": "array",
"description": "The bones definitions",
"title": "Bones",
"items": {
"additionalProperties": false,
"type": "object",
"description": "The bone definition",
"title": "Bone",
"required": ["name"],
"properties": {
"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" }] }
}
}
},
"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" }] },
"polys": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}
}
}
},
"render_group_id": { "type": "integer", "minimum": 0 },
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"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" }] }
}
}
}
}
}
},
"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" }]
}
}
}
}
{
"$id": "blockception.minecraft.resource.model.1.10.0",
"type": "object",
"title": "Resourcepack Model Schema For 1.10.0",
"description": "TODO description",
"required": ["format_version"],
"properties": {
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
"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)" },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "Geometry specification",
"title": "Geometry",
"properties": {
"bones": {
"type": "array",
"description": "The bones definitions",
"title": "Bones",
"items": {
"additionalProperties": false,
"type": "object",
"description": "The bone definition",
"title": "Bone",
"required": ["name"],
"properties": {
"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" }] }
}
}
},
"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" }] },
"polys": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
}
}
}
},
"render_group_id": { "type": "integer", "minimum": 0 },
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"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" }] }
}
}
}
}
}
},
"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" }]
}
}
}
}

View File

@@ -1,391 +1,391 @@
{
"$id": "blockception.minecraft.resource.model.1.12.0",
"additionalProperties": false,
"type": "object",
"title": "Geometry 1.12.0",
"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" } },
"direction_uv": {
"additionalProperties": false,
"type": "object",
"properties": {
"uv": {
"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" }
}
}
},
"properties": {
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
"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."
},
"minecraft:geometry": {
"type": "array",
"title": "Geometry",
"description": "The collection of geometries",
"minItems": 1,
"items": {
"additionalProperties": false,
"description": "Model specification",
"title": "Model",
"type": "object",
"required": ["description"],
"properties": {
"description": {
"type": "object",
"additionalProperties": false,
"description": "The descriptions of the geometry",
"title": "Description",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "Entity definition and Client Block definition files refer to this geometry via this identifier.",
"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"
},
"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" }
},
"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": {
"type": "array",
"description": "The bones specification",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A bones specification",
"required": ["name"],
"properties": {
"average_normals": { "type": "object", "examples": [null] },
"cubes": {
"type": "array",
"description": "This is the list of cubes associated with this bone.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single cube",
"properties": {
"inflate": {
"type": "number",
"description": "Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror": {
"type": "boolean",
"description": "Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
},
"origin": {
"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)."
}
},
"pivot": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
}
},
"rotation": {
"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."
}
},
"size": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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.",
"oneOf": [
{
"additionalProperties": false,
"type": "object",
"properties": {
"north": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis."
},
"south": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis"
},
"east": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis"
},
"west": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis"
},
"up": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis"
},
"down": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis"
}
}
},
{ "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)." },
"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",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"required": ["offset", "rotation"],
"properties": {
"offset": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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." }
},
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
}
},
{
"type": "array",
"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." }
}
]
}
},
"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)." }
},
"poly_mesh": {
"additionalProperties": false,
"type": "object",
"description": "***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required": ["polys"],
"properties": {
"normalized_uvs": {
"type": "boolean",
"description": "If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys": {
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum": ["tri_list", "quad_list"]
},
{
"type": "array",
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"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" }
]
}
}
}
]
},
"positions": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}
}
},
"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)."
}
},
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"type": "boolean"
},
"texture_meshes": {
"type": "array",
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
"items": {
"type": "object",
"required": ["texture"],
"properties": {
"local_pivot": {
"type": "array",
"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"
}
},
"position": {
"type": "array",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry"
}
},
"rotation": {
"type": "array",
"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" }
},
"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" }
},
"texture": { "type": "string", "description": "The friendly-named texture to use." }
}
}
}
}
}
},
"cape": { "type": "string" }
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.model.1.12.0",
"additionalProperties": false,
"type": "object",
"title": "Geometry 1.12.0",
"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" } },
"direction_uv": {
"additionalProperties": false,
"type": "object",
"properties": {
"uv": {
"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" }
}
}
},
"properties": {
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
"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."
},
"minecraft:geometry": {
"type": "array",
"title": "Geometry",
"description": "The collection of geometries",
"minItems": 1,
"items": {
"additionalProperties": false,
"description": "Model specification",
"title": "Model",
"type": "object",
"required": ["description"],
"properties": {
"description": {
"type": "object",
"additionalProperties": false,
"description": "The descriptions of the geometry",
"title": "Description",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "Entity definition and Client Block definition files refer to this geometry via this identifier.",
"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"
},
"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" }
},
"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": {
"type": "array",
"description": "The bones specification",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A bones specification",
"required": ["name"],
"properties": {
"average_normals": { "type": "object", "examples": [null] },
"cubes": {
"type": "array",
"description": "This is the list of cubes associated with this bone.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single cube",
"properties": {
"inflate": {
"type": "number",
"description": "Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror": {
"type": "boolean",
"description": "Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
},
"origin": {
"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)."
}
},
"pivot": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
}
},
"rotation": {
"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."
}
},
"size": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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.",
"oneOf": [
{
"additionalProperties": false,
"type": "object",
"properties": {
"north": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis."
},
"south": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis"
},
"east": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis"
},
"west": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis"
},
"up": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis"
},
"down": {
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis"
}
}
},
{ "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)." },
"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",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"required": ["offset", "rotation"],
"properties": {
"offset": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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." }
},
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
}
},
{
"type": "array",
"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." }
}
]
}
},
"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)." }
},
"poly_mesh": {
"additionalProperties": false,
"type": "object",
"description": "***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required": ["polys"],
"properties": {
"normalized_uvs": {
"type": "boolean",
"description": "If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys": {
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum": ["tri_list", "quad_list"]
},
{
"type": "array",
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"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" }
]
}
}
}
]
},
"positions": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}
}
},
"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)."
}
},
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"type": "boolean"
},
"texture_meshes": {
"type": "array",
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
"items": {
"type": "object",
"required": ["texture"],
"properties": {
"local_pivot": {
"type": "array",
"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"
}
},
"position": {
"type": "array",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry"
}
},
"rotation": {
"type": "array",
"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" }
},
"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" }
},
"texture": { "type": "string", "description": "The friendly-named texture to use." }
}
}
}
}
}
},
"cape": { "type": "string" }
}
}
}
}
}

View File

@@ -1,445 +1,445 @@
{
"$id": "blockception.minecraft.resource.model.1.14.0",
"additionalProperties": false,
"type": "object",
"title": "Geometry 1.14.0",
"description": "The minecraft resourcepack model schema for 1.14.0",
"required": ["format_version", "minecraft:geometry"],
"definitions": {
"uv": {
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
},
"direction_uv": {
"additionalProperties": false,
"type": "object",
"properties": {
"uv": {
"title": "Uv",
"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": {
"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" }
}
}
},
"properties": {
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
"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."
},
"minecraft:geometry": {
"type": "array",
"title": "Geometry",
"description": "The collection of geometries",
"minItems": 1,
"items": {
"additionalProperties": false,
"description": "Model specification",
"title": "Model",
"type": "object",
"required": ["description"],
"properties": {
"description": {
"type": "object",
"additionalProperties": false,
"description": "The descriptions of the geometry",
"title": "Description",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "Entity definition and Client Block definition files refer to this geometry via this identifier.",
"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"
},
"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" }
},
"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": {
"type": "array",
"description": "Bones define the 'skeleton' of the mob: the parts that can be animated, and to which geometry and other bones are attached.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A bones specification",
"required": ["name"],
"properties": {
"average_normals": { "type": "object", "examples": [null] },
"cubes": {
"type": "array",
"description": "This is the list of cubes associated with this bone.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single cube",
"properties": {
"inflate": {
"type": "number",
"description": "Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror": {
"type": "boolean",
"description": "Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
},
"origin": {
"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)."
}
},
"pivot": {
"type": "array",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.",
"title": "Pivot",
"items": [
{
"type": "number",
"title": "X",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Y",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Z",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
}
]
},
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"type": "boolean"
},
"rotation": {
"title": "Rotation",
"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."
}
},
"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)."
}
]
},
"uv": {
"title": "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.",
"oneOf": [
{
"additionalProperties": false,
"type": "object",
"properties": {
"north": {
"title": "North",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis."
},
"south": {
"title": "South",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis"
},
"east": {
"title": "East",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis"
},
"west": {
"title": "West",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis"
},
"up": {
"title": "Up",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis"
},
"down": {
"title": "Down",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis"
}
}
},
{
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
}
]
}
}
}
},
"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",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"required": ["offset", "rotation"],
"properties": {
"offset": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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." }
},
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
}
},
{
"type": "array",
"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." }
}
]
}
},
"mirror": {
"type": "boolean",
"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." },
"parent": {
"type": "string",
"title": "Parent",
"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)." }
},
"poly_mesh": {
"additionalProperties": false,
"type": "object",
"description": "***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required": ["polys"],
"properties": {
"normalized_uvs": {
"type": "boolean",
"description": "If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys": {
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum": ["tri_list", "quad_list"]
},
{
"type": "array",
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"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" }
]
}
}
}
]
},
"positions": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}
}
},
"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)."
}
},
"texture_meshes": {
"type": "array",
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["texture"],
"properties": {
"local_pivot": {
"type": "array",
"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"
}
},
"position": {
"type": "array",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry"
}
},
"rotation": {
"type": "array",
"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" }
},
"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" }
},
"texture": { "type": "string", "description": "The friendly-named texture to use." }
}
}
}
}
}
},
"cape": { "type": "string" }
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.model.1.14.0",
"additionalProperties": false,
"type": "object",
"title": "Geometry 1.14.0",
"description": "The minecraft resourcepack model schema for 1.14.0",
"required": ["format_version", "minecraft:geometry"],
"definitions": {
"uv": {
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
},
"direction_uv": {
"additionalProperties": false,
"type": "object",
"properties": {
"uv": {
"title": "Uv",
"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": {
"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" }
}
}
},
"properties": {
"debug": { "type": "boolean", "default": false, "description": "TODO description", "title": "TODO Title" },
"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."
},
"minecraft:geometry": {
"type": "array",
"title": "Geometry",
"description": "The collection of geometries",
"minItems": 1,
"items": {
"additionalProperties": false,
"description": "Model specification",
"title": "Model",
"type": "object",
"required": ["description"],
"properties": {
"description": {
"type": "object",
"additionalProperties": false,
"description": "The descriptions of the geometry",
"title": "Description",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "Entity definition and Client Block definition files refer to this geometry via this identifier.",
"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"
},
"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" }
},
"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": {
"type": "array",
"description": "Bones define the 'skeleton' of the mob: the parts that can be animated, and to which geometry and other bones are attached.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A bones specification",
"required": ["name"],
"properties": {
"average_normals": { "type": "object", "examples": [null] },
"cubes": {
"type": "array",
"description": "This is the list of cubes associated with this bone.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single cube",
"properties": {
"inflate": {
"type": "number",
"description": "Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror": {
"type": "boolean",
"description": "Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
},
"origin": {
"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)."
}
},
"pivot": {
"type": "array",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.",
"title": "Pivot",
"items": [
{
"type": "number",
"title": "X",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Y",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Z",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
}
]
},
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"type": "boolean"
},
"rotation": {
"title": "Rotation",
"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."
}
},
"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)."
}
]
},
"uv": {
"title": "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.",
"oneOf": [
{
"additionalProperties": false,
"type": "object",
"properties": {
"north": {
"title": "North",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis."
},
"south": {
"title": "South",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis"
},
"east": {
"title": "East",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis"
},
"west": {
"title": "West",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis"
},
"up": {
"title": "Up",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis"
},
"down": {
"title": "Down",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis"
}
}
},
{
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
}
]
}
}
}
},
"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",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"required": ["offset", "rotation"],
"properties": {
"offset": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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." }
},
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
}
},
{
"type": "array",
"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." }
}
]
}
},
"mirror": {
"type": "boolean",
"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." },
"parent": {
"type": "string",
"title": "Parent",
"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)." }
},
"poly_mesh": {
"additionalProperties": false,
"type": "object",
"description": "***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required": ["polys"],
"properties": {
"normalized_uvs": {
"type": "boolean",
"description": "If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys": {
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum": ["tri_list", "quad_list"]
},
{
"type": "array",
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"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" }
]
}
}
}
]
},
"positions": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}
}
},
"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)."
}
},
"texture_meshes": {
"type": "array",
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["texture"],
"properties": {
"local_pivot": {
"type": "array",
"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"
}
},
"position": {
"type": "array",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry"
}
},
"rotation": {
"type": "array",
"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" }
},
"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" }
},
"texture": { "type": "string", "description": "The friendly-named texture to use." }
}
}
}
}
}
},
"cape": { "type": "string" }
}
}
}
}
}

View File

@@ -1,455 +1,455 @@
{
"$id": "blockception.minecraft.resource.model.1.14.0",
"additionalProperties": false,
"type": "object",
"title": "Geometry 1.16.0",
"description": "The minecraft resourcepack model schema for 1.16.0",
"required": ["format_version", "minecraft:geometry"],
"definitions": {
"uv": {
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
},
"direction_uv": {
"additionalProperties": false,
"type": "object",
"properties": {
"uv": {
"title": "Uv",
"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": {
"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" }
}
}
},
"properties": {
"debug": { "title": "Debug", "description": "TODO description", "type": "boolean", "default": false },
"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."
},
"minecraft:geometry": {
"type": "array",
"title": "Geometry",
"description": "The collection of geometries",
"minItems": 1,
"items": {
"additionalProperties": false,
"description": "Model specification",
"title": "Model",
"type": "object",
"required": ["description"],
"properties": {
"description": {
"type": "object",
"additionalProperties": false,
"description": "The descriptions of the geometry",
"title": "Description",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "Entity definition and Client Block definition files refer to this geometry via this identifier.",
"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"
},
"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" }
},
"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": {
"title": "Bones",
"type": "array",
"description": "Bones define the 'skeleton' of the mob: the parts that can be animated, and to which geometry and other bones are attached.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A bones specification",
"required": ["name"],
"properties": {
"binding": {
"title": "Binding",
"description": "useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the \"parent\" field). If that is also missing, it will attach to the owning entity's root transform.",
"$ref": "../../../../molang/string.json"
},
"cubes": {
"title": "Cubes",
"description": "This is the list of cubes associated with this bone.",
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single cube",
"properties": {
"inflate": {
"type": "number",
"description": "Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror": {
"type": "boolean",
"description": "Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
},
"origin": {
"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)."
}
},
"pivot": {
"type": "array",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.",
"title": "Pivot",
"items": [
{
"type": "number",
"title": "X",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Y",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Z",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
}
]
},
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"type": "boolean"
},
"rotation": {
"title": "Rotation",
"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."
}
},
"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)."
}
]
},
"uv": {
"title": "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.",
"oneOf": [
{
"additionalProperties": false,
"type": "object",
"properties": {
"north": {
"title": "North",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis."
},
"south": {
"title": "South",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis"
},
"east": {
"title": "East",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis"
},
"west": {
"title": "West",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis"
},
"up": {
"title": "Up",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis"
},
"down": {
"title": "Down",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis"
}
}
},
{
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
}
]
}
}
}
},
"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",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"required": ["offset", "rotation"],
"properties": {
"offset": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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." }
},
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
}
},
{
"type": "array",
"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." }
}
]
}
},
"mirror": {
"type": "boolean",
"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." },
"parent": {
"type": "string",
"title": "Parent",
"description": "Bone that this bone is relative to. If the parent bone moves, this bone will move along with it."
},
"pivot": {
"type": "array",
"title": "Pivot",
"description": "The bone pivots around this point (in model space units).",
"items": [
{ "type": "number", "title": "X" },
{ "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" }
]
},
"poly_mesh": {
"additionalProperties": false,
"type": "object",
"description": "***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required": ["polys"],
"properties": {
"normalized_uvs": {
"type": "boolean",
"description": "If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys": {
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum": ["tri_list", "quad_list"]
},
{
"type": "array",
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"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" }
]
}
}
}
]
},
"positions": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}
}
},
"render_group_id": { "type": "integer", "minimum": 0 },
"rotation": {
"type": "array",
"title": "Rotation",
"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", "title": "X", "description": "in degrees" },
{ "type": "number", "title": "Y", "description": "in degrees" },
{ "type": "number", "title": "Z", "description": "in degrees" }
]
},
"texture_meshes": {
"type": "array",
"title": "Texture Meshes",
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["texture"],
"properties": {
"local_pivot": {
"type": "array",
"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"
}
},
"position": {
"type": "array",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry"
}
},
"rotation": {
"type": "array",
"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" }
},
"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" }
},
"texture": { "type": "string", "description": "The friendly-named texture to use." }
}
}
}
}
}
},
"cape": { "title": "Cape", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.model.1.14.0",
"additionalProperties": false,
"type": "object",
"title": "Geometry 1.16.0",
"description": "The minecraft resourcepack model schema for 1.16.0",
"required": ["format_version", "minecraft:geometry"],
"definitions": {
"uv": {
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
},
"direction_uv": {
"additionalProperties": false,
"type": "object",
"properties": {
"uv": {
"title": "Uv",
"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": {
"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" }
}
}
},
"properties": {
"debug": { "title": "Debug", "description": "TODO description", "type": "boolean", "default": false },
"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."
},
"minecraft:geometry": {
"type": "array",
"title": "Geometry",
"description": "The collection of geometries",
"minItems": 1,
"items": {
"additionalProperties": false,
"description": "Model specification",
"title": "Model",
"type": "object",
"required": ["description"],
"properties": {
"description": {
"type": "object",
"additionalProperties": false,
"description": "The descriptions of the geometry",
"title": "Description",
"required": ["identifier"],
"properties": {
"identifier": {
"type": "string",
"description": "Entity definition and Client Block definition files refer to this geometry via this identifier.",
"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"
},
"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" }
},
"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": {
"title": "Bones",
"type": "array",
"description": "Bones define the 'skeleton' of the mob: the parts that can be animated, and to which geometry and other bones are attached.",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A bones specification",
"required": ["name"],
"properties": {
"binding": {
"title": "Binding",
"description": "useful for items. A molang expression specifying the bone name of the parent skeletal hierarchy that this bone should use as the root transform. Without this field it will look for a bone in the parent entity with the same name as this bone. If both are missing, it will assume a local skeletal hierarchy (via the \"parent\" field). If that is also missing, it will attach to the owning entity's root transform.",
"$ref": "../../../../molang/string.json"
},
"cubes": {
"title": "Cubes",
"description": "This is the list of cubes associated with this bone.",
"type": "array",
"items": {
"additionalProperties": false,
"type": "object",
"description": "A single cube",
"properties": {
"inflate": {
"type": "number",
"description": "Grow this box by this additive amount in all directions (in model space units), this field overrides the bone's inflate field for this cube only."
},
"mirror": {
"type": "boolean",
"description": "Mirrors this cube about the unrotated x axis (effectively flipping the east / west faces), overriding the bone's 'mirror' setting for this cube."
},
"origin": {
"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)."
}
},
"pivot": {
"type": "array",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14.",
"title": "Pivot",
"items": [
{
"type": "number",
"title": "X",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Y",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
},
{
"type": "number",
"title": "Z",
"description": "If this field is specified, rotation of this cube occurs around this point, otherwise its rotation is around the center of the box. Note that in 1.12 this is flipped upside-down, but is fixed in 1.14."
}
]
},
"reset": {
"title": "Reset",
"description": "UNDOCUMANTED",
"type": "boolean"
},
"rotation": {
"title": "Rotation",
"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."
}
},
"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)."
}
]
},
"uv": {
"title": "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.",
"oneOf": [
{
"additionalProperties": false,
"type": "object",
"properties": {
"north": {
"title": "North",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the -z axis."
},
"south": {
"title": "South",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and y axes, and faces the z axis"
},
"east": {
"title": "East",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the x axis"
},
"west": {
"title": "West",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the z and y axes, and faces the -x axis"
},
"up": {
"title": "Up",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the y axis"
},
"down": {
"title": "Down",
"$ref": "#/definitions/direction_uv",
"description": "Specifies the UV's for the face that stretches along the x and z axes, and faces the -y axis"
}
}
},
{
"type": "array",
"items": [
{ "type": "number", "title": "X", "description": "The x component of the uv" },
{ "type": "number", "title": "Y", "description": "The y component of the uv" }
]
}
]
}
}
}
},
"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",
"additionalProperties": {
"oneOf": [
{
"type": "object",
"required": ["offset", "rotation"],
"properties": {
"offset": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"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." }
},
"ignore_inherited_scale": { "type": "boolean", "description": "Discard scale inherited from parent bone." }
}
},
{
"type": "array",
"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." }
}
]
}
},
"mirror": {
"type": "boolean",
"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." },
"parent": {
"type": "string",
"title": "Parent",
"description": "Bone that this bone is relative to. If the parent bone moves, this bone will move along with it."
},
"pivot": {
"type": "array",
"title": "Pivot",
"description": "The bone pivots around this point (in model space units).",
"items": [
{ "type": "number", "title": "X" },
{ "type": "number", "title": "Y" },
{ "type": "number", "title": "Z" }
]
},
"poly_mesh": {
"additionalProperties": false,
"type": "object",
"description": "***EXPERIMENTAL*** A triangle or quad mesh object. Can be used in conjunction with cubes and texture geometry.",
"required": ["polys"],
"properties": {
"normalized_uvs": {
"type": "boolean",
"description": "If true, UVs are assumed to be [0-1]. If false, UVs are assumed to be [0-texture_width] and [0-texture_height] respectively."
},
"normals": {
"type": "array",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections.",
"items": {
"type": "number",
"description": "Vertex normals. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and UVs sections."
}
}
},
"polys": {
"oneOf": [
{
"type": "string",
"description": "If not specifying vertex indices, arrays of data must be a list of tris or quads, set by making this property either \"tri_list\" or \"quad_list\"",
"enum": ["tri_list", "quad_list"]
},
{
"type": "array",
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 4,
"description": "Poly element indices, as an array of polygons, each an array of either three or four vertices, each an array of indices into positions, normals, and UVs (in that order).",
"items": {
"type": "array",
"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" }
]
}
}
}
]
},
"positions": {
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "Vertex positions for the mesh. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the normals and UVs sections."
}
}
},
"uvs": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"items": {
"type": "array",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections.",
"minItems": 2,
"maxItems": 2,
"items": {
"type": "number",
"description": "Vertex UVs. Can be either indexed via the \"polys\" section, or be a quad-list if mapped 1-to-1 to the positions and normals sections."
}
}
}
}
},
"render_group_id": { "type": "integer", "minimum": 0 },
"rotation": {
"type": "array",
"title": "Rotation",
"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", "title": "X", "description": "in degrees" },
{ "type": "number", "title": "Y", "description": "in degrees" },
{ "type": "number", "title": "Z", "description": "in degrees" }
]
},
"texture_meshes": {
"type": "array",
"title": "Texture Meshes",
"description": "***EXPERIMENTAL*** Adds a mesh to the bone's geometry by converting texels in a texture into boxes",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["texture"],
"properties": {
"local_pivot": {
"type": "array",
"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"
}
},
"position": {
"type": "array",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "number",
"description": "The position of the pivot point after rotation (in *entity space* not texture or bone space) of the texture geometry"
}
},
"rotation": {
"type": "array",
"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" }
},
"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" }
},
"texture": { "type": "string", "description": "The friendly-named texture to use." }
}
}
}
}
}
},
"cape": { "title": "Cape", "description": "UNDOCUMENTATED", "type": "string" }
}
}
}
}
}

View File

@@ -1,135 +1,135 @@
{
"$id": "blockception.minecraft.resource.model.1.8.0",
"type": "object",
"title": "Resourcepack Model Schema For 1.8.0",
"description": "TODO description",
"required": ["format_version"],
"properties": {
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
"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)" },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "Geometry specification",
"title": "Geometry",
"properties": {
"bones": {
"type": "array",
"description": "The bones definitions",
"title": "Bones",
"items": {
"additionalProperties": false,
"type": "object",
"description": "The bone definition",
"title": "Bone",
"required": ["name"],
"properties": {
"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" }] }
}
}
},
"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",
"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" }]
},
"polys": {
"title": "Polys",
"description": "TODO",
"type": "array",
"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": "UNDOCUMANTED",
"type": "boolean"
},
"rotation": {
"title": "Rotation",
"description": "TODO",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
},
"texture_meshes": {
"type": "array",
"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" }] }
}
}
}
}
}
},
"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" }]
}
}
}
}
{
"$id": "blockception.minecraft.resource.model.1.8.0",
"type": "object",
"title": "Resourcepack Model Schema For 1.8.0",
"description": "TODO description",
"required": ["format_version"],
"properties": {
"debug": { "type": "boolean", "description": "TODO description", "title": "TODO Title" },
"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)" },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "Geometry specification",
"title": "Geometry",
"properties": {
"bones": {
"type": "array",
"description": "The bones definitions",
"title": "Bones",
"items": {
"additionalProperties": false,
"type": "object",
"description": "The bone definition",
"title": "Bone",
"required": ["name"],
"properties": {
"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" }] }
}
}
},
"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",
"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" }]
},
"polys": {
"title": "Polys",
"description": "TODO",
"type": "array",
"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": "UNDOCUMANTED",
"type": "boolean"
},
"rotation": {
"title": "Rotation",
"description": "TODO",
"type": "array",
"items": [{ "type": "number" }, { "type": "number" }, { "type": "number" }]
},
"texture_meshes": {
"type": "array",
"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" }] }
}
}
}
}
}
},
"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" }]
}
}
}
}

View File

@@ -1,28 +1,28 @@
{
"$id": "blockception.minecraft.resource.model",
"examples": [
{
"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
},
"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" } },
{ "properties": { "format_version": { "$ref": "../../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.model",
"examples": [
{
"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
},
"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" } },
{ "properties": { "format_version": { "$ref": "../../../general/format_version.json" } } }
]
}

View File

@@ -1,19 +1,19 @@
{
"$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": "Emitter Initialization Component For 1.10.0",
"additionalProperties": false,
"properties": {
"creation_expression": {
"$ref": "../../../../molang/string.json",
"description": "This is run once at emitter startup.",
"title": "Creation Expression"
},
"per_update_expression": {
"$ref": "../../../../molang/string.json",
"description": "This is run once per emitter update.",
"title": "Per Update Expression"
}
}
}
{
"$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": "Emitter Initialization Component For 1.10.0",
"additionalProperties": false,
"properties": {
"creation_expression": {
"$ref": "../../../../molang/string.json",
"description": "This is run once at emitter startup.",
"title": "Creation Expression"
},
"per_update_expression": {
"$ref": "../../../../molang/string.json",
"description": "This is run once per emitter update.",
"title": "Per Update Expression"
}
}
}

View File

@@ -1,53 +1,53 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events",
"type": "object",
"title": "Emitter Lifetime Events Component For 1.10.0",
"description": "TODO",
"additionalProperties": false,
"properties": {
"creation_event": {
"title": "Creation Event",
"description": "Fires when the emitter is created",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
},
"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" }]
},
"timeline": {
"title": "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\\.]+$" },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time that executes commands/molang/events",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
}
},
"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\\.]+$" }
},
"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",
"additionalProperties": false,
"properties": {
"distance": { "title": "Distance", "description": "TODO", "type": "number" },
"effects": {
"title": "Effects",
"description": "TODO",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events",
"type": "object",
"title": "Emitter Lifetime Events Component For 1.10.0",
"description": "TODO",
"additionalProperties": false,
"properties": {
"creation_event": {
"title": "Creation Event",
"description": "Fires when the emitter is created",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
},
"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" }]
},
"timeline": {
"title": "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\\.]+$" },
"additionalProperties": {
"title": "Timeline Object",
"description": "A single point in time that executes commands/molang/events",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
}
},
"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\\.]+$" }
},
"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",
"additionalProperties": false,
"properties": {
"distance": { "title": "Distance", "description": "TODO", "type": "number" },
"effects": {
"title": "Effects",
"description": "TODO",
"oneOf": [{ "type": "array", "items": { "type": "string" } }, { "type": "string" }]
}
}
}
}
}
}

View File

@@ -1,19 +1,19 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
"type": "object",
"title": "Emitter Rate Manual Component 1.10.0",
"description": "TODO description: ",
"additionalProperties": false,
"properties": {
"activation_expression": {
"$ref": "../../../../molang/number.json",
"description": "When the expression is non-zero, the emitter will emit particles. Evaluated every frame",
"title": "Activation Expression"
},
"expiration_expression": {
"$ref": "../../../../molang/number.json",
"description": "Emitter will expire if the expression is non-zero. Evaluated every frame",
"title": "Expiration Expression"
}
}
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
"type": "object",
"title": "Emitter Rate Manual Component 1.10.0",
"description": "TODO description: ",
"additionalProperties": false,
"properties": {
"activation_expression": {
"$ref": "../../../../molang/number.json",
"description": "When the expression is non-zero, the emitter will emit particles. Evaluated every frame",
"title": "Activation Expression"
},
"expiration_expression": {
"$ref": "../../../../molang/number.json",
"description": "Emitter will expire if the expression is non-zero. Evaluated every frame",
"title": "Expiration Expression"
}
}
}

View File

@@ -1,19 +1,19 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_looping",
"type": "object",
"title": "Emitter Lifetime Looping Component For 1.10.0",
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/number.json",
"description": "Emitter will emit particles for this time per loop evaluated once per particle emitter loop",
"title": "Active Time"
},
"sleep_time": {
"$ref": "../../../../molang/number.json",
"description": "Emitter will pause emitting particles for this time per loop evaluated once per particle emitter loop",
"title": "Sleep Time"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_looping",
"type": "object",
"title": "Emitter Lifetime Looping Component For 1.10.0",
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/number.json",
"description": "Emitter will emit particles for this time per loop evaluated once per particle emitter loop",
"title": "Active Time"
},
"sleep_time": {
"$ref": "../../../../molang/number.json",
"description": "Emitter will pause emitting particles for this time per loop evaluated once per particle emitter loop",
"title": "Sleep Time"
}
},
"description": "TODO description: "
}

View File

@@ -1,14 +1,14 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_once",
"type": "object",
"title": "Emitter Lifetime Once Component For 1.10.0",
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/number.json",
"description": "How long the particles emit for evaluated once",
"title": "Active Time"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_once",
"type": "object",
"title": "Emitter Lifetime Once Component For 1.10.0",
"additionalProperties": false,
"properties": {
"active_time": {
"$ref": "../../../../molang/number.json",
"description": "How long the particles emit for evaluated once",
"title": "Active Time"
}
},
"description": "TODO description: "
}

View File

@@ -1,12 +1,12 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_local_space",
"type": "object",
"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" }
}
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_local_space",
"type": "object",
"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" }
}
}

View File

@@ -1,15 +1,15 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_instant",
"type": "object",
"title": "Emitter Rate Instant Component For 1.10.0",
"additionalProperties": false,
"properties": {
"num_particles": {
"$ref": "../../../../molang/number.json",
"description": "This many particles are emitted at once evaluated once per particle emitter loop.",
"title": "Num Particles",
"default": 10
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_instant",
"type": "object",
"title": "Emitter Rate Instant Component For 1.10.0",
"additionalProperties": false,
"properties": {
"num_particles": {
"$ref": "../../../../molang/number.json",
"description": "This many particles are emitted at once evaluated once per particle emitter loop.",
"title": "Num Particles",
"default": 10
}
},
"description": "TODO description: "
}

View File

@@ -1,14 +1,14 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
"type": "object",
"title": "Emitter Rate Manual Component For 1.10.0",
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/number.json",
"description": "Evaluated once per particle emitted",
"title": "Max Particles"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
"type": "object",
"title": "Emitter Rate Manual Component For 1.10.0",
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/number.json",
"description": "Evaluated once per particle emitted",
"title": "Max Particles"
}
},
"description": "TODO description: "
}

View File

@@ -1,19 +1,19 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_steady",
"type": "object",
"title": "Emitter Rate Steady Component For 1.10.0",
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/number.json",
"description": "Maximum number of particles that can be active at once for this emitter, evaluated once per particle emitter loop",
"title": "Max Particles"
},
"spawn_rate": {
"$ref": "../../../../molang/number.json",
"description": "How often a particle is emitted, in particles/sec evaluated once per particle emitted",
"title": "Spawn Rate"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_steady",
"type": "object",
"title": "Emitter Rate Steady Component For 1.10.0",
"additionalProperties": false,
"properties": {
"max_particles": {
"$ref": "../../../../molang/number.json",
"description": "Maximum number of particles that can be active at once for this emitter, evaluated once per particle emitter loop",
"title": "Max Particles"
},
"spawn_rate": {
"$ref": "../../../../molang/number.json",
"description": "How often a particle is emitted, in particles/sec evaluated once per particle emitted",
"title": "Spawn Rate"
}
},
"description": "TODO description: "
}

View File

@@ -1,44 +1,44 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_box",
"type": "object",
"title": "Emitter Shape Box Component For 1.10.0",
"additionalProperties": false,
"properties": {
"direction": {
"description": "TODO description: direction",
"title": "Direction",
"default": "outwards",
"anyOf": [
{ "type": "string", "enum": ["inwards", "outwards"] },
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } }
]
},
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"half_dimensions": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/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" }
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_box",
"type": "object",
"title": "Emitter Shape Box Component For 1.10.0",
"additionalProperties": false,
"properties": {
"direction": {
"description": "TODO description: direction",
"title": "Direction",
"default": "outwards",
"anyOf": [
{ "type": "string", "enum": ["inwards", "outwards"] },
{ "type": "array", "minItems": 3, "maxItems": 3, "items": { "$ref": "../../../../molang/number.json" } }
]
},
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"half_dimensions": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/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" }
},
"description": "TODO description: "
}

View File

@@ -1,33 +1,33 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_custom",
"type": "object",
"title": "Emitter Shape Custom Component For 1.10.0",
"additionalProperties": false,
"properties": {
"direction": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description: offset",
"title": "Offset"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_custom",
"type": "object",
"title": "Emitter Shape Custom Component For 1.10.0",
"additionalProperties": false,
"properties": {
"direction": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description: offset",
"title": "Offset"
}
},
"description": "TODO description: "
}

View File

@@ -1,47 +1,47 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_disc",
"type": "object",
"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/number.json" } }
],
"description": "TODO description: direction",
"title": "Direction"
},
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO 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": "array",
"items": [
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" }
]
}
]
},
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_disc",
"type": "object",
"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/number.json" } }
],
"description": "TODO description: direction",
"title": "Direction"
},
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO 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": "array",
"items": [
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" },
{ "$ref": "../../../../molang/number.json" }
]
}
]
},
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
},
"description": "TODO description: "
}

View File

@@ -1,40 +1,40 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_entity_aabb",
"type": "object",
"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": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_entity_aabb",
"type": "object",
"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": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
}
},
"description": "TODO description: "
}

View File

@@ -1,33 +1,33 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_point",
"type": "object",
"title": "Emitter Shape Point Component For 1.10.0",
"additionalProperties": false,
"properties": {
"direction": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_point",
"type": "object",
"title": "Emitter Shape Point Component For 1.10.0",
"additionalProperties": false,
"properties": {
"direction": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: direction",
"title": "Direction"
},
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
}
},
"description": "TODO description: "
}

View File

@@ -1,42 +1,42 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_sphere",
"type": "object",
"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": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_sphere",
"type": "object",
"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": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: Todo",
"title": "Todo"
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: direction",
"title": "Direction"
},
"offset": {
"type": "array",
"items": {
"minItems": 3,
"maxItems": 3,
"$ref": "../../../../molang/number.json",
"description": "TODO description: offset",
"title": "Offset"
},
"description": "TODO description",
"title": "TODO Title"
},
"radius": { "$ref": "../../../../molang/number.json", "description": "TODO description: radius", "title": "Radius" },
"surface_only": { "type": "boolean", "description": "TODO description: surface only", "title": "Surface Only" }
},
"description": "TODO description: "
}

View File

@@ -1,90 +1,90 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_billboard",
"type": "object",
"title": "Particle Appearance Billboard Component For 1.10.0",
"additionalProperties": false,
"properties": {
"size": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size", "title": "Size" },
"description": "TODO description: size",
"title": "Size"
},
"facing_camera_mode": {
"description": "Used to orient the billboard.",
"type": "string",
"enum": ["lookat_xyz", "lookat_y", "rotate_xyz", "rotate_y", "direction_x", "direction_y", "direction_z"],
"title": "Facing Camera Mode"
},
"uv": {
"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" },
"flipbook": {
"additionalProperties": false,
"type": "object",
"required": ["max_frame"],
"properties": {
"base_UV": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: base UV", "title": "Base U V" },
"description": "TODO description: base UV",
"title": "Base U V"
},
"size_UV": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size UV", "title": "Size U V" },
"description": "TODO description: size UV",
"title": "Size U V"
},
"step_UV": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/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/number.json",
"description": "TODO description: frames per second",
"title": "Frames Per Second"
},
"max_frame": { "$ref": "../../../../molang/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"
},
"uv": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv", "title": "Uv" },
"description": "TODO description: uv",
"title": "Uv"
},
"uv_size": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
"description": "TODO description: uv size",
"title": "Uv Size"
}
},
"description": "TODO description: uv",
"title": "Uv"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_billboard",
"type": "object",
"title": "Particle Appearance Billboard Component For 1.10.0",
"additionalProperties": false,
"properties": {
"size": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size", "title": "Size" },
"description": "TODO description: size",
"title": "Size"
},
"facing_camera_mode": {
"description": "Used to orient the billboard.",
"type": "string",
"enum": ["lookat_xyz", "lookat_y", "rotate_xyz", "rotate_y", "direction_x", "direction_y", "direction_z"],
"title": "Facing Camera Mode"
},
"uv": {
"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" },
"flipbook": {
"additionalProperties": false,
"type": "object",
"required": ["max_frame"],
"properties": {
"base_UV": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: base UV", "title": "Base U V" },
"description": "TODO description: base UV",
"title": "Base U V"
},
"size_UV": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: size UV", "title": "Size U V" },
"description": "TODO description: size UV",
"title": "Size U V"
},
"step_UV": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/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/number.json",
"description": "TODO description: frames per second",
"title": "Frames Per Second"
},
"max_frame": { "$ref": "../../../../molang/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"
},
"uv": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv", "title": "Uv" },
"description": "TODO description: uv",
"title": "Uv"
},
"uv_size": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: uv size", "title": "Uv Size" },
"description": "TODO description: uv size",
"title": "Uv Size"
}
},
"description": "TODO description: uv",
"title": "Uv"
}
},
"description": "TODO description: "
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_lighting",
"type": "object",
"title": "Particle Appearance Lighting Component For 1.10.0",
"additionalProperties": false,
"description": "TODO description"
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_lighting",
"type": "object",
"title": "Particle Appearance Lighting Component For 1.10.0",
"additionalProperties": false,
"description": "TODO description"
}

View File

@@ -1,55 +1,55 @@
{
"$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": "Particle Appearance Tinting Component For 1.10.0",
"additionalProperties": false,
"properties": {
"color": {
"title": "Color",
"anyOf": [
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/number.json" } },
{ "type": "string", "format": "color-hex", "description": "Direct color field" },
{
"description": "Interpolation based color",
"type": "object",
"additionalProperties": false,
"properties": {
"gradient": {
"title": "Gradient",
"oneOf": [
{
"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" }
},
{
"description": "An array of colors",
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"items": {
"oneOf": [
{ "type": "number", "description": "Color", "title": "Color", "minimum": 0, "maximum": 1 },
{ "type": "string", "title": "Molang" }
]
}
}
}
]
},
"interpolant": { "$ref": "../../../../molang/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
}
}
],
"description": "TODO description"
}
}
}
{
"$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": "Particle Appearance Tinting Component For 1.10.0",
"additionalProperties": false,
"properties": {
"color": {
"title": "Color",
"anyOf": [
{ "type": "array", "description": "Direct color field", "items": { "$ref": "../../../../molang/number.json" } },
{ "type": "string", "format": "color-hex", "description": "Direct color field" },
{
"description": "Interpolation based color",
"type": "object",
"additionalProperties": false,
"properties": {
"gradient": {
"title": "Gradient",
"oneOf": [
{
"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" }
},
{
"description": "An array of colors",
"type": "array",
"items": {
"type": "array",
"minItems": 3,
"items": {
"oneOf": [
{ "type": "number", "description": "Color", "title": "Color", "minimum": 0, "maximum": 1 },
{ "type": "string", "title": "Molang" }
]
}
}
}
]
},
"interpolant": { "$ref": "../../../../molang/number.json", "description": "TODO description: interpolant", "title": "Interpolant" }
}
}
],
"description": "TODO description"
}
}
}

View File

@@ -1,8 +1,8 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_expire_if_not_in_blocks",
"type": "array",
"title": "Particle Expire If Not In Blocks Component For 1.10.0",
"additionalProperties": false,
"items": { "$ref": "../../../../general/block/identifier.json", "description": "TODO description", "title": "TODO Title" },
"description": "TODO description"
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_expire_if_not_in_blocks",
"type": "array",
"title": "Particle Expire If Not In Blocks Component For 1.10.0",
"additionalProperties": false,
"items": { "$ref": "../../../../general/block/identifier.json", "description": "TODO description", "title": "TODO Title" },
"description": "TODO description"
}

View File

@@ -1,16 +1,16 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_speed",
"title": "Particle Initial Speed Component For 1.10.0",
"additionalProperties": false,
"anyOf": [
{ "$ref": "../../../../molang/number.json" },
{
"type": "array",
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"minItems": 3,
"maxItems": 3,
"description": "TODO description",
"title": "TODO Title"
}
]
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_speed",
"title": "Particle Initial Speed Component For 1.10.0",
"additionalProperties": false,
"anyOf": [
{ "$ref": "../../../../molang/number.json" },
{
"type": "array",
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"minItems": 3,
"maxItems": 3,
"description": "TODO description",
"title": "TODO Title"
}
]
}

View File

@@ -1,15 +1,15 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_spin",
"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/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation_rate": {
"$ref": "../../../../molang/number.json",
"description": "Specifies the spin rate in degrees/second",
"title": "Rotation Rate"
}
}
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_spin",
"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/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
"rotation_rate": {
"$ref": "../../../../molang/number.json",
"description": "Specifies the spin rate in degrees/second",
"title": "Rotation Rate"
}
}
}

View File

@@ -1,19 +1,19 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initialization",
"type": "object",
"title": "Particle Initialization Component For 1.10.0",
"additionalProperties": false,
"properties": {
"per_update_expression": {
"$ref": "../../../../molang/number.json",
"description": "TODO description: per update expression",
"title": "Per Update Expression"
},
"per_render_expression": {
"$ref": "../../../../molang/number.json",
"description": "TODO description: per render expression",
"title": "Per Render Expression"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initialization",
"type": "object",
"title": "Particle Initialization Component For 1.10.0",
"additionalProperties": false,
"properties": {
"per_update_expression": {
"$ref": "../../../../molang/number.json",
"description": "TODO description: per update expression",
"title": "Per Update Expression"
},
"per_render_expression": {
"$ref": "../../../../molang/number.json",
"description": "TODO description: per render expression",
"title": "Per Render Expression"
}
},
"description": "TODO description: "
}

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane",
"type": "array",
"title": "Particle Kill Plane Component For 1.10.0",
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"description": "TODO description"
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane",
"type": "array",
"title": "Particle Kill Plane Component For 1.10.0",
"items": { "minItems": 4, "maxItems": 4, "$ref": "../../../../molang/number.json", "description": "TODO description", "title": "TODO Title" },
"description": "TODO description"
}

View File

@@ -1,21 +1,21 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_events",
"type": "object",
"title": "Particle Lifetime Events Component For 1.10.0",
"additionalProperties": false,
"properties": {
"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 :(" },
"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" }]
},
"timeline": { "propertyNames": { "pattern": "[0-9]*.[0-9]*" }, "description": "TODO description: timeline", "title": "Timeline" }
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_events",
"type": "object",
"title": "Particle Lifetime Events Component For 1.10.0",
"additionalProperties": false,
"properties": {
"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 :(" },
"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" }]
},
"timeline": { "propertyNames": { "pattern": "[0-9]*.[0-9]*" }, "description": "TODO description: timeline", "title": "Timeline" }
},
"description": "TODO description: "
}

View File

@@ -1,19 +1,19 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_expression",
"type": "object",
"description": "TODO description:",
"title": "Particle Lifetime Expression Component For 1.10.0",
"additionalProperties": false,
"properties": {
"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/number.json"
},
"max_lifetime": {
"$ref": "../../../../molang/number.json",
"description": "Alternate way to express lifetime, particle will expire after this much time, evaluated once",
"title": "Max Lifetime"
}
}
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_expression",
"type": "object",
"description": "TODO description:",
"title": "Particle Lifetime Expression Component For 1.10.0",
"additionalProperties": false,
"properties": {
"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/number.json"
},
"max_lifetime": {
"$ref": "../../../../molang/number.json",
"description": "Alternate way to express lifetime, particle will expire after this much time, evaluated once",
"title": "Max Lifetime"
}
}
}

View File

@@ -1,32 +1,32 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_collision",
"type": "object",
"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" },
"enabled": { "$ref": "../../../../molang/number.json", "description": "TODO description: enabled", "title": "Enabled" },
"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" }
},
"description": "TODO description: events",
"title": "Events"
},
"description": "TODO description: events",
"title": "Events"
}
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_collision",
"type": "object",
"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" },
"enabled": { "$ref": "../../../../molang/number.json", "description": "TODO description: enabled", "title": "Enabled" },
"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" }
},
"description": "TODO description: events",
"title": "Events"
},
"description": "TODO description: events",
"title": "Events"
}
},
"description": "TODO description: "
}

View File

@@ -1,36 +1,36 @@
{
"$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": "Particle Motion Dynamic Component For 1.10.0",
"additionalProperties": false,
"properties": {
"linear_acceleration": {
"type": "array",
"default": [0, 0, 0],
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/number.json" },
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
"title": "Linear Acceleration"
},
"linear_drag_coefficient": {
"$ref": "../../../../molang/number.json",
"description": "Using the equation: 'acceleration = -linear_drag_coefficient*velocity' where velocity is the current direction times speed. Think of this as air-drag. The higher the value, the more drag evaluated every frame",
"default": 0,
"title": "Linear Drag Coefficient"
},
"rotation_acceleration": {
"$ref": "../../../../molang/number.json",
"description": "Acceleration applies to the rotation speed of the particle",
"title": "Rotation Acceleration",
"default": 0
},
"rotation_drag_coefficient": {
"$ref": "../../../../molang/number.json",
"description": "Drag applied to rotation",
"title": "Rotation Drag Coefficient",
"default": 0
}
}
}
{
"$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": "Particle Motion Dynamic Component For 1.10.0",
"additionalProperties": false,
"properties": {
"linear_acceleration": {
"type": "array",
"default": [0, 0, 0],
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/number.json" },
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
"title": "Linear Acceleration"
},
"linear_drag_coefficient": {
"$ref": "../../../../molang/number.json",
"description": "Using the equation: 'acceleration = -linear_drag_coefficient*velocity' where velocity is the current direction times speed. Think of this as air-drag. The higher the value, the more drag evaluated every frame",
"default": 0,
"title": "Linear Drag Coefficient"
},
"rotation_acceleration": {
"$ref": "../../../../molang/number.json",
"description": "Acceleration applies to the rotation speed of the particle",
"title": "Rotation Acceleration",
"default": 0
},
"rotation_drag_coefficient": {
"$ref": "../../../../molang/number.json",
"description": "Drag applied to rotation",
"title": "Rotation Drag Coefficient",
"default": 0
}
}
}

View File

@@ -1,18 +1,18 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_parametric",
"type": "object",
"title": "Particle Motion Parametric Component For 1.10.0",
"additionalProperties": false,
"properties": {
"relative_position": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
"description": "TODO description: relative position",
"title": "Relative Position"
},
"rotation": { "$ref": "../../../../molang/number.json", "description": "TODO description: rotation", "title": "Rotation" }
},
"description": "TODO description: "
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_parametric",
"type": "object",
"title": "Particle Motion Parametric Component For 1.10.0",
"additionalProperties": false,
"properties": {
"relative_position": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"items": { "$ref": "../../../../molang/number.json", "description": "TODO description: relative position", "title": "Relative Position" },
"description": "TODO description: relative position",
"title": "Relative Position"
},
"rotation": { "$ref": "../../../../molang/number.json", "description": "TODO description: rotation", "title": "Rotation" }
},
"description": "TODO description: "
}

View File

@@ -1,151 +1,151 @@
{
"$id": "blockception.minecraft.resource.particle.1.10.0",
"type": "object",
"additionalProperties": false,
"description": "A particle definition file",
"title": "Particle 1.8.0",
"properties": {
"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.",
"title": "Format Version"
},
"particle_effect": {
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"required": ["identifier", "basic_render_parameters"],
"properties": {
"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" }
},
"description": "TODO description: basic render parameters",
"title": "Basic Render Parameters"
}
},
"description": "TODO description: description",
"title": "Description"
},
"curves": {
"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]+$" },
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"title": "Curve",
"description": "TODO",
"properties": {
"input": { "$ref": "../../../molang/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/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" }
}
}
},
"components": {
"additionalProperties": false,
"type": "object",
"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" }
}
},
"events": {
"type": "object",
"additionalProperties": {
"description": "Event",
"title": "TODO",
"type": "object",
"additionalProperties": false,
"properties": {
"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" }
}
},
"sound_effect": {
"title": "Sound effect",
"description": "TODO",
"properties": {
"event_name": { "type": "string", "description": "TODO description: effect", "title": "Event name" }
}
}
}
},
"description": "TODO description: events",
"title": "Events"
}
},
"description": "TODO description: particle effect",
"title": "Particle Effect"
}
}
}
{
"$id": "blockception.minecraft.resource.particle.1.10.0",
"type": "object",
"additionalProperties": false,
"description": "A particle definition file",
"title": "Particle 1.8.0",
"properties": {
"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.",
"title": "Format Version"
},
"particle_effect": {
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"required": ["identifier", "basic_render_parameters"],
"properties": {
"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" }
},
"description": "TODO description: basic render parameters",
"title": "Basic Render Parameters"
}
},
"description": "TODO description: description",
"title": "Description"
},
"curves": {
"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]+$" },
"additionalProperties": {
"type": "object",
"additionalProperties": false,
"title": "Curve",
"description": "TODO",
"properties": {
"input": { "$ref": "../../../molang/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/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" }
}
}
},
"components": {
"additionalProperties": false,
"type": "object",
"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" }
}
},
"events": {
"type": "object",
"additionalProperties": {
"description": "Event",
"title": "TODO",
"type": "object",
"additionalProperties": false,
"properties": {
"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" }
}
},
"sound_effect": {
"title": "Sound effect",
"description": "TODO",
"properties": {
"event_name": { "type": "string", "description": "TODO description: effect", "title": "Event name" }
}
}
}
},
"description": "TODO description: events",
"title": "Events"
}
},
"description": "TODO description: particle effect",
"title": "Particle Effect"
}
}
}

View File

@@ -1,38 +1,38 @@
{
"$id": "blockception.minecraft.resource.particle.1.8.0",
"type": "object",
"additionalProperties": false,
"description": "A particle definition file",
"title": "Particle 1.8.0",
"properties": {
"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.",
"title": "Format Version"
},
"particle_effect": {
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"properties": {
"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" }
},
"description": "TODO description: particle effect",
"title": "Particle Effect"
}
}
}
{
"$id": "blockception.minecraft.resource.particle.1.8.0",
"type": "object",
"additionalProperties": false,
"description": "A particle definition file",
"title": "Particle 1.8.0",
"properties": {
"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.",
"title": "Format Version"
},
"particle_effect": {
"type": "object",
"additionalProperties": false,
"properties": {
"description": {
"additionalProperties": false,
"type": "object",
"properties": {
"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" }
},
"description": "TODO description: particle effect",
"title": "Particle Effect"
}
}
}

View File

@@ -1,21 +1,21 @@
{
"$id": "blockception.minecraft.resource.particle",
"examples": [
{
"format_version": "1.10.0",
"particle_effect": {
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.resource.particle",
"examples": [
{
"format_version": "1.10.0",
"particle_effect": {
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,217 +1,217 @@
{
"$id": "blockception.minecraft.render_controllers.json",
"additionalProperties": false,
"type": "object",
"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, between 0 and 1", "title": "Molang Color" }
]
}
},
"properties": {
"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\\.]+",
"examples": ["controller.render.example"]
},
"additionalProperties": {
"title": "Render Controller",
"additionalProperties": false,
"type": "object",
"description": "A single render_controller",
"required": ["geometry", "materials"],
"properties": {
"arrays": {
"type": "object",
"title": "Arrays",
"additionalProperties": false,
"description": "A collection of definition of arrays",
"properties": {
"geometries": {
"type": "object",
"minProperties": 1,
"description": "A collection of Geometry array",
"title": "Geometries",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Gg]eometry\\..+",
"description": "A geometry item, must be defined in the entity",
"title": "Geometry Reference"
},
"description": "A geometry array definition",
"title": "Geometries"
}
},
"materials": {
"type": "object",
"minProperties": 1,
"description": "A collection of materials array",
"title": "Materials",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Mm]aterial\\..+",
"description": "A material item, must be defined in the entity",
"title": "Material"
},
"description": "A material array definition",
"title": "Materials"
}
},
"textures": {
"type": "object",
"minProperties": 1,
"description": "A collection of texture array",
"title": "Textures",
"additionalProperties": {
"type": "array",
"description": "Textures",
"title": "Texture",
"items": {
"type": "string",
"pattern": "^[Tt]exture\\..+",
"default": "texture.",
"description": "An texture item",
"title": "Texture"
}
}
}
}
},
"color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "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" },
"ignore_lighting": { "type": "boolean", "description": "TODO description: ignore lighting", "title": "Ignore Lighting" },
"is_hurt_color": {
"additionalProperties": false,
"type": "object",
"description": "The color to overlay on the entity when hurt",
"title": "Is Hurt Color",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
}
},
"light_color_multiplier": {
"$ref": "../../../molang/number.json",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
"materials": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: materials",
"title": "Materials"
},
"description": "TODO description: materials",
"title": "Materials"
},
"on_fire_color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
},
"description": "TODO description: on fire color",
"title": "On Fire Color"
},
"overlay_color": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: overlay color",
"title": "Overlay Color",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
}
},
"part_visibility": {
"type": "array",
"minItems": 1,
"items": {
"description": "The object that describe different bone visibility",
"title": "Part Visibility",
"type": "object",
"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"
},
"textures": {
"type": "array",
"minItems": 1,
"items": { "type": "string", "description": "TODO description: textures", "title": "Textures" },
"description": "TODO description: textures",
"title": "Textures"
},
"uv_anim": {
"additionalProperties": false,
"type": "object",
"required": ["offset", "scale"],
"properties": {
"offset": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" },
"description": "TODO description: offset",
"title": "Offset"
},
"scale": {
"type": "array",
"description": "TODO description: scale",
"title": "Scale",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" }
}
},
"description": "TODO description: uv anim",
"title": "Uv Anim"
}
}
},
"description": "TODO description: render controllers",
"title": "Render Controllers"
}
}
}
{
"$id": "blockception.minecraft.render_controllers.json",
"additionalProperties": false,
"type": "object",
"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, between 0 and 1", "title": "Molang Color" }
]
}
},
"properties": {
"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\\.]+",
"examples": ["controller.render.example"]
},
"additionalProperties": {
"title": "Render Controller",
"additionalProperties": false,
"type": "object",
"description": "A single render_controller",
"required": ["geometry", "materials"],
"properties": {
"arrays": {
"type": "object",
"title": "Arrays",
"additionalProperties": false,
"description": "A collection of definition of arrays",
"properties": {
"geometries": {
"type": "object",
"minProperties": 1,
"description": "A collection of Geometry array",
"title": "Geometries",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Gg]eometry\\..+",
"description": "A geometry item, must be defined in the entity",
"title": "Geometry Reference"
},
"description": "A geometry array definition",
"title": "Geometries"
}
},
"materials": {
"type": "object",
"minProperties": 1,
"description": "A collection of materials array",
"title": "Materials",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Mm]aterial\\..+",
"description": "A material item, must be defined in the entity",
"title": "Material"
},
"description": "A material array definition",
"title": "Materials"
}
},
"textures": {
"type": "object",
"minProperties": 1,
"description": "A collection of texture array",
"title": "Textures",
"additionalProperties": {
"type": "array",
"description": "Textures",
"title": "Texture",
"items": {
"type": "string",
"pattern": "^[Tt]exture\\..+",
"default": "texture.",
"description": "An texture item",
"title": "Texture"
}
}
}
}
},
"color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "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" },
"ignore_lighting": { "type": "boolean", "description": "TODO description: ignore lighting", "title": "Ignore Lighting" },
"is_hurt_color": {
"additionalProperties": false,
"type": "object",
"description": "The color to overlay on the entity when hurt",
"title": "Is Hurt Color",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
}
},
"light_color_multiplier": {
"$ref": "../../../molang/number.json",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
"materials": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: materials",
"title": "Materials"
},
"description": "TODO description: materials",
"title": "Materials"
},
"on_fire_color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
},
"description": "TODO description: on fire color",
"title": "On Fire Color"
},
"overlay_color": {
"additionalProperties": false,
"type": "object",
"description": "TODO description: overlay color",
"title": "Overlay Color",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, between 0 and 1", "title": "A" }
}
},
"part_visibility": {
"type": "array",
"minItems": 1,
"items": {
"description": "The object that describe different bone visibility",
"title": "Part Visibility",
"type": "object",
"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"
},
"textures": {
"type": "array",
"minItems": 1,
"items": { "type": "string", "description": "TODO description: textures", "title": "Textures" },
"description": "TODO description: textures",
"title": "Textures"
},
"uv_anim": {
"additionalProperties": false,
"type": "object",
"required": ["offset", "scale"],
"properties": {
"offset": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" },
"description": "TODO description: offset",
"title": "Offset"
},
"scale": {
"type": "array",
"description": "TODO description: scale",
"title": "Scale",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" }
}
},
"description": "TODO description: uv anim",
"title": "Uv Anim"
}
}
},
"description": "TODO description: render controllers",
"title": "Render Controllers"
}
}
}

View File

@@ -1,221 +1,221 @@
{
"$id": "blockception.minecraft.render_controllers.json",
"additionalProperties": false,
"type": "object",
"title": "Render Controllers 1.8.0",
"description": "Render_Controllers 1.8.0",
"required": ["render_controllers", "format_version"],
"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" }
]
}
},
"properties": {
"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\\.]+", "examples": ["controller.render.example"] },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "Render Controller",
"description": "A single render_controller definition",
"required": ["geometry", "materials"],
"properties": {
"arrays": {
"type": "object",
"title": "Arrays",
"additionalProperties": false,
"description": "A collection of definition of arrays",
"properties": {
"geometries": {
"type": "object",
"minProperties": 1,
"description": "A collection of Geometry array",
"title": "Geometries",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Gg]eometry\\..+",
"description": "A geometry item, must be defined in the entity",
"title": "Geometry"
},
"description": "A geometry array definition",
"title": "Geometries"
}
},
"materials": {
"type": "object",
"minProperties": 1,
"description": "A collection of materials array",
"title": "Materials",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Mm]aterial\\..+",
"description": "A material item, must be defined in the entity",
"title": "Material"
},
"description": "A material array definition",
"title": "Materials"
}
},
"textures": {
"type": "object",
"minProperties": 1,
"description": "A collection of texture array",
"title": "Textures",
"additionalProperties": {
"type": "array",
"description": "Textures",
"title": "Texture",
"items": {
"type": "string",
"pattern": "^[Tt]exture\\..+",
"default": "texture.",
"description": "An texture item",
"title": "Texture"
}
}
}
}
},
"color": {
"description": "TODO description: color",
"title": "Color",
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
}
},
"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": {
"type": "object",
"title": "Is Hurt Color",
"additionalProperties": false,
"description": "The color that is overlay when hurt",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
}
},
"light_color_multiplier": {
"$ref": "../../../molang/number.json",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
"materials": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: materials",
"title": "Materials"
},
"description": "TODO description: materials",
"title": "Materials"
},
"on_fire_color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
},
"description": "TODO description: on fire color",
"title": "On Fire Color"
},
"overlay_color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
},
"description": "Overlays this color ontop of any rendering parts",
"title": "Overlay Color"
},
"part_visibility": {
"type": "array",
"minItems": 1,
"items": {
"description": "A collection of object that describe which bones are hidden or not",
"title": "Part Visibilty",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"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"
}
},
"description": "TODO description: part visibility",
"title": "Part Visibility"
},
"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" },
"description": "TODO description: textures",
"title": "Textures"
},
"uv_anim": {
"additionalProperties": false,
"type": "object",
"required": ["offset", "scale"],
"properties": {
"offset": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" },
"description": "TODO description: offset",
"title": "Offset"
},
"scale": {
"type": "array",
"description": "TODO description: scale",
"title": "Scale",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" }
}
},
"description": "TODO description: uv anim",
"title": "Uv Anim"
}
}
},
"description": "TODO description: render controllers",
"title": "Render Controllers"
}
}
}
{
"$id": "blockception.minecraft.render_controllers.json",
"additionalProperties": false,
"type": "object",
"title": "Render Controllers 1.8.0",
"description": "Render_Controllers 1.8.0",
"required": ["render_controllers", "format_version"],
"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" }
]
}
},
"properties": {
"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\\.]+", "examples": ["controller.render.example"] },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"title": "Render Controller",
"description": "A single render_controller definition",
"required": ["geometry", "materials"],
"properties": {
"arrays": {
"type": "object",
"title": "Arrays",
"additionalProperties": false,
"description": "A collection of definition of arrays",
"properties": {
"geometries": {
"type": "object",
"minProperties": 1,
"description": "A collection of Geometry array",
"title": "Geometries",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Gg]eometry\\..+",
"description": "A geometry item, must be defined in the entity",
"title": "Geometry"
},
"description": "A geometry array definition",
"title": "Geometries"
}
},
"materials": {
"type": "object",
"minProperties": 1,
"description": "A collection of materials array",
"title": "Materials",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[Mm]aterial\\..+",
"description": "A material item, must be defined in the entity",
"title": "Material"
},
"description": "A material array definition",
"title": "Materials"
}
},
"textures": {
"type": "object",
"minProperties": 1,
"description": "A collection of texture array",
"title": "Textures",
"additionalProperties": {
"type": "array",
"description": "Textures",
"title": "Texture",
"items": {
"type": "string",
"pattern": "^[Tt]exture\\..+",
"default": "texture.",
"description": "An texture item",
"title": "Texture"
}
}
}
}
},
"color": {
"description": "TODO description: color",
"title": "Color",
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
}
},
"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": {
"type": "object",
"title": "Is Hurt Color",
"additionalProperties": false,
"description": "The color that is overlay when hurt",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
}
},
"light_color_multiplier": {
"$ref": "../../../molang/number.json",
"description": "The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)",
"title": "Light Color Multiplier"
},
"materials": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },
"description": "TODO description: materials",
"title": "Materials"
},
"description": "TODO description: materials",
"title": "Materials"
},
"on_fire_color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
},
"description": "TODO description: on fire color",
"title": "On Fire Color"
},
"overlay_color": {
"additionalProperties": false,
"type": "object",
"properties": {
"r": { "$ref": "#/definitions/color", "description": "The value of red, must result in a float between 0 and 1", "title": "R" },
"g": { "$ref": "#/definitions/color", "description": "The value of green, must result in a float between 0 and 1", "title": "G" },
"b": { "$ref": "#/definitions/color", "description": "The value of blue, must result in a float between 0 and 1", "title": "B" },
"a": { "$ref": "#/definitions/color", "description": "The value of alpha, must result in a float between 0 and 1", "title": "A" }
},
"description": "Overlays this color ontop of any rendering parts",
"title": "Overlay Color"
},
"part_visibility": {
"type": "array",
"minItems": 1,
"items": {
"description": "A collection of object that describe which bones are hidden or not",
"title": "Part Visibilty",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"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"
}
},
"description": "TODO description: part visibility",
"title": "Part Visibility"
},
"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" },
"description": "TODO description: textures",
"title": "Textures"
},
"uv_anim": {
"additionalProperties": false,
"type": "object",
"required": ["offset", "scale"],
"properties": {
"offset": {
"type": "array",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: offset", "title": "Offset" },
"description": "TODO description: offset",
"title": "Offset"
},
"scale": {
"type": "array",
"description": "TODO description: scale",
"title": "Scale",
"minItems": 2,
"maxItems": 2,
"items": { "$ref": "../../../molang/number.json", "description": "TODO description: scale", "title": "Scale" }
}
},
"description": "TODO description: uv anim",
"title": "Uv Anim"
}
}
},
"description": "TODO description: render controllers",
"title": "Render Controllers"
}
}
}

View File

@@ -1,20 +1,20 @@
{
"$id": "blockception.minecraft.render_controllers.json",
"examples": [
{
"format_version": "1.8.0",
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.render_controllers.json",
"examples": [
{
"format_version": "1.8.0",
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,216 +1,216 @@
{
"$id": "blockception.minecraft.resource.sounds.json",
"type": "object",
"title": "Sounds.json",
"description": "Sound definitions",
"additionalProperties": false,
"definitions": {
"pitch": {
"title": "Pitch",
"oneOf": [
{ "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" }
]
}
]
},
"volume": {
"title": "Volume",
"oneOf": [
{ "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" }
]
}
]
},
"sound_event": {
"title": "Sound Event",
"description": "A single sound event definition",
"oneOf": [
{ "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" }
}
}
]
},
"entity_event": {
"type": "object",
"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" }
}
}
}
},
"properties": {
"block_sounds": {
"type": "object",
"title": "Block Sounds",
"description": "Block sound definitions",
"additionalProperties": {
"type": "object",
"title": "Block Sound",
"description": "A single block sound definition",
"additionalProperties": false,
"properties": {
"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" }
}
}
}
},
"entity_sounds": {
"type": "object",
"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" }
}
}
},
"individual_event_sounds": {
"type": "object",
"title": "Individual Event Sounds",
"description": "Individual event sounds definitions",
"additionalProperties": false,
"properties": {
"events": { "type": "object", "title": "Events", "description": "Events", "additionalProperties": { "$ref": "#/definitions/sound_event" } }
}
},
"interactive_sounds": {
"type": "object",
"title": "Interactive Sounds",
"description": "Interactive sounds definitions",
"additionalProperties": false,
"properties": {
"block_sounds": {
"type": "object",
"title": "Block Sounds",
"description": "Block sound definitions",
"additionalProperties": {
"type": "object",
"title": "Block Sound",
"description": "A single block sound definition",
"additionalProperties": false,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"title": "Events",
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
"additionalProperties": {
"title": "Sound Event",
"description": "A single sound event definition",
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
"pitch": { "$ref": "#/definitions/pitch" }
}
}
]
}
}
}
}
},
"entity_sounds": {
"type": "object",
"title": "Entity Sounds",
"description": "Entity sound definitions",
"additionalProperties": false,
"properties": {
"defaults": {
"type": "object",
"title": "Defaults",
"description": "Default sound definitions",
"additionalProperties": {
"type": "object",
"title": "Entity Sounds",
"properties": {
"events": {
"type": "object",
"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" }
}
}
}
},
"properties": { "volume": { "$ref": "#/definitions/volume" }, "pitch": { "$ref": "#/definitions/pitch" } }
},
"entities": {
"type": "object",
"title": "Entites Sounds",
"description": "Entities sound definitions",
"additionalProperties": {
"type": "object",
"title": "Entity Sounds",
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"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" }
}
}
}
}
}
}
}
}
}
}
}
{
"$id": "blockception.minecraft.resource.sounds.json",
"type": "object",
"title": "Sounds.json",
"description": "Sound definitions",
"additionalProperties": false,
"definitions": {
"pitch": {
"title": "Pitch",
"oneOf": [
{ "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" }
]
}
]
},
"volume": {
"title": "Volume",
"oneOf": [
{ "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" }
]
}
]
},
"sound_event": {
"title": "Sound Event",
"description": "A single sound event definition",
"oneOf": [
{ "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" }
}
}
]
},
"entity_event": {
"type": "object",
"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" }
}
}
}
},
"properties": {
"block_sounds": {
"type": "object",
"title": "Block Sounds",
"description": "Block sound definitions",
"additionalProperties": {
"type": "object",
"title": "Block Sound",
"description": "A single block sound definition",
"additionalProperties": false,
"properties": {
"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" }
}
}
}
},
"entity_sounds": {
"type": "object",
"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" }
}
}
},
"individual_event_sounds": {
"type": "object",
"title": "Individual Event Sounds",
"description": "Individual event sounds definitions",
"additionalProperties": false,
"properties": {
"events": { "type": "object", "title": "Events", "description": "Events", "additionalProperties": { "$ref": "#/definitions/sound_event" } }
}
},
"interactive_sounds": {
"type": "object",
"title": "Interactive Sounds",
"description": "Interactive sounds definitions",
"additionalProperties": false,
"properties": {
"block_sounds": {
"type": "object",
"title": "Block Sounds",
"description": "Block sound definitions",
"additionalProperties": {
"type": "object",
"title": "Block Sound",
"description": "A single block sound definition",
"additionalProperties": false,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"title": "Events",
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
"additionalProperties": {
"title": "Sound Event",
"description": "A single sound event definition",
"oneOf": [
{ "type": "string" },
{
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"sound": { "type": "string", "title": "Sound Event", "description": "The sound event described in sound_definitions.json" },
"pitch": { "$ref": "#/definitions/pitch" }
}
}
]
}
}
}
}
},
"entity_sounds": {
"type": "object",
"title": "Entity Sounds",
"description": "Entity sound definitions",
"additionalProperties": false,
"properties": {
"defaults": {
"type": "object",
"title": "Defaults",
"description": "Default sound definitions",
"additionalProperties": {
"type": "object",
"title": "Entity Sounds",
"properties": {
"events": {
"type": "object",
"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" }
}
}
}
},
"properties": { "volume": { "$ref": "#/definitions/volume" }, "pitch": { "$ref": "#/definitions/pitch" } }
},
"entities": {
"type": "object",
"title": "Entites Sounds",
"description": "Entities sound definitions",
"additionalProperties": {
"type": "object",
"title": "Entity Sounds",
"properties": {
"volume": { "$ref": "#/definitions/volume" },
"pitch": { "$ref": "#/definitions/pitch" },
"events": {
"type": "object",
"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" }
}
}
}
}
}
}
}
}
}
}
}

View File

@@ -1,96 +1,96 @@
{
"$id": "blockception.minecraft.sound_definition.1.14.0.json",
"type": "object",
"additionalItems": false,
"title": "Sound File For 1.14.0",
"description": "TODO description",
"definitions": {
"SoundPath": {
"$id": "SoundFilepath",
"type": "string",
"title": "Sound Filepath Schema",
"description": "The filepath to the sound, starts with 'sounds/'",
"pattern": "(^sounds/.*$|^$)",
"additionalItems": true
},
"SoundSpec": {
"additionalItems": false,
"type": "object",
"$id": "#/Sound",
"title": "Sound",
"required": ["sounds"],
"properties": {
"category": {
"type": "string",
"$id": "#/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"
},
{
"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"
}
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: sounds",
"title": "Sounds"
},
"description": "TODO description: sounds",
"title": "Sounds"
}
},
"description": "TODO description: additionalProperties"
}
},
"properties": {
"format_version": {
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"sound_definitions": {
"type": "object",
"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"]
}
},
"additionalProperties": false
}
{
"$id": "blockception.minecraft.sound_definition.1.14.0.json",
"type": "object",
"additionalItems": false,
"title": "Sound File For 1.14.0",
"description": "TODO description",
"definitions": {
"SoundPath": {
"$id": "SoundFilepath",
"type": "string",
"title": "Sound Filepath Schema",
"description": "The filepath to the sound, starts with 'sounds/'",
"pattern": "(^sounds/.*$|^$)",
"additionalItems": true
},
"SoundSpec": {
"additionalItems": false,
"type": "object",
"$id": "#/Sound",
"title": "Sound",
"required": ["sounds"],
"properties": {
"category": {
"type": "string",
"$id": "#/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"
},
{
"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"
}
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: sounds",
"title": "Sounds"
},
"description": "TODO description: sounds",
"title": "Sounds"
}
},
"description": "TODO description: additionalProperties"
}
},
"properties": {
"format_version": {
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"sound_definitions": {
"type": "object",
"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"]
}
},
"additionalProperties": false
}

View File

@@ -1,35 +1,35 @@
{
"$id": "blockception.minecraft.music_definitions.json",
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
"type": "object",
"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"] },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "A music defintion",
"required": ["event_name"],
"properties": {
"event_name": {
"description": "The name of the minecraft music event",
"type": "string",
"examples": [
"music.game",
"music.game.creative",
"music.game.end",
"music.game.endboss",
"music.game.nether",
"music.game.credits",
"music.game.nether_wastes",
"music.menu"
],
"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" }
},
"title": "Music"
}
}
{
"$id": "blockception.minecraft.music_definitions.json",
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
"type": "object",
"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"] },
"additionalProperties": {
"additionalProperties": false,
"type": "object",
"description": "A music defintion",
"required": ["event_name"],
"properties": {
"event_name": {
"description": "The name of the minecraft music event",
"type": "string",
"examples": [
"music.game",
"music.game.creative",
"music.game.end",
"music.game.endboss",
"music.game.nether",
"music.game.credits",
"music.game.nether_wastes",
"music.menu"
],
"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" }
},
"title": "Music"
}
}

View File

@@ -1,9 +1,9 @@
{
"$id": "blockception.minecraft.sound_definition.json",
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}
{
"$id": "blockception.minecraft.sound_definition.json",
"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" } },
{ "properties": { "format_version": { "$ref": "../../general/format_version.json" } } }
]
}

View File

@@ -1,95 +1,95 @@
{
"$id": "blockception.minecraft.sound_definition.json",
"type": "object",
"title": "Sound File, Unknown Version",
"description": "TODO description",
"definitions": {
"SoundPath": {
"$id": "SoundFilepath",
"type": "string",
"title": "Sound Filepath Schema",
"description": "The filepath to the sound, starts with 'sounds/'",
"pattern": "(^sounds/.*$|^$)",
"additionalItems": true
},
"SoundSpec": {
"additionalItems": false,
"type": "object",
"$id": "#/Sound",
"title": "Sound",
"required": ["sounds"],
"properties": {
"category": {
"type": "string",
"$id": "#/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"
},
{
"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"
}
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: sounds",
"title": "Sounds"
},
"description": "TODO description: sounds",
"title": "Sounds"
}
},
"description": "TODO description: additionalProperties"
}
},
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
"properties": {
"format_version": {
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"sound_definitions": {
"type": "object",
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
"description": "TODO description: sound definitions",
"title": "Sound Definitions"
}
}
}
{
"$id": "blockception.minecraft.sound_definition.json",
"type": "object",
"title": "Sound File, Unknown Version",
"description": "TODO description",
"definitions": {
"SoundPath": {
"$id": "SoundFilepath",
"type": "string",
"title": "Sound Filepath Schema",
"description": "The filepath to the sound, starts with 'sounds/'",
"pattern": "(^sounds/.*$|^$)",
"additionalItems": true
},
"SoundSpec": {
"additionalItems": false,
"type": "object",
"$id": "#/Sound",
"title": "Sound",
"required": ["sounds"],
"properties": {
"category": {
"type": "string",
"$id": "#/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"
},
{
"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"
}
},
"description": "TODO description: Todo",
"title": "Todo"
}
],
"description": "TODO description: sounds",
"title": "Sounds"
},
"description": "TODO description: sounds",
"title": "Sounds"
}
},
"description": "TODO description: additionalProperties"
}
},
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
"properties": {
"format_version": {
"type": "string",
"description": "A version that tells minecraft what type of data format can be expected when reading this file.",
"title": "Format Version"
},
"sound_definitions": {
"type": "object",
"additionalProperties": { "$ref": "#/definitions/SoundSpec" },
"description": "TODO description: sound definitions",
"title": "Sound Definitions"
}
}
}

View File

@@ -1,63 +1,63 @@
{
"$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false,
"description": "The file that specifies animated textures",
"title": "Flipbook Texture File",
"type": "array",
"items": {
"additionalProperties": false,
"description": "A single flipbook texture",
"title": "Flipbook Texture",
"type": "object",
"properties": {
"atlas_index": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "integer"
},
"atlas_tile": {
"description": "TODO: add description",
"pattern": "^[a-z0-9_\\-]*$",
"title": "Atlas Index",
"type": "string"
},
"atlas_tile_variant": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "integer"
},
"blend_frames": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "boolean"
},
"flipbook_texture": {
"description": "A texture file",
"pattern": "^textures/.+$",
"title": "Flipbook Texture",
"type": "string"
},
"frames": {
"title": "Frames",
"description": "The collection of frame index to display",
"items": {
"description": "The index of the frame",
"minimum": 0,
"title": "Frame Index",
"type": "integer"
},
"type": "array"
},
"replicate": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "integer"
},
"ticks_per_frame": {
"description": "The amount of ticks to wait between frames",
"title": "Ticks Per Frame",
"type": "integer"
}
}
}
}
{
"$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false,
"description": "The file that specifies animated textures",
"title": "Flipbook Texture File",
"type": "array",
"items": {
"additionalProperties": false,
"description": "A single flipbook texture",
"title": "Flipbook Texture",
"type": "object",
"properties": {
"atlas_index": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "integer"
},
"atlas_tile": {
"description": "TODO: add description",
"pattern": "^[a-z0-9_\\-]*$",
"title": "Atlas Index",
"type": "string"
},
"atlas_tile_variant": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "integer"
},
"blend_frames": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "boolean"
},
"flipbook_texture": {
"description": "A texture file",
"pattern": "^textures/.+$",
"title": "Flipbook Texture",
"type": "string"
},
"frames": {
"title": "Frames",
"description": "The collection of frame index to display",
"items": {
"description": "The index of the frame",
"minimum": 0,
"title": "Frame Index",
"type": "integer"
},
"type": "array"
},
"replicate": {
"description": "TODO: add description",
"title": "Atlas Index",
"type": "integer"
},
"ticks_per_frame": {
"description": "The amount of ticks to wait between frames",
"title": "Ticks Per Frame",
"type": "integer"
}
}
}
}

View File

@@ -1,64 +1,64 @@
{
"$id": "blockception.minecraft.resource.texture.item_texture",
"additionalProperties": false,
"type": "object",
"title": "Item Texture File",
"description": "",
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Texture" },
{
"type": "object",
"additionalProperties": false,
"description": "A collection of texture files",
"title": "Texture",
"properties": {
"overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "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",
"description": "TODO",
"items": {
"type": "object",
"title": "Variantion",
"description": "TODO",
"required": ["path"],
"properties": {
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
}
}
}
}
}
]
}
},
"properties": {
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
"texture_data": {
"title": "Texture Data",
"description": "TODO: add description",
"type": "object",
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"title": "Texture Data",
"description": "TODO: add description",
"type": "object",
"additionalProperties": false,
"properties": {
"textures": {
"oneOf": [
{ "$ref": "#/definitions/texture" },
{ "description": "A collection of textures", "title": "Texture Data", "type": "array", "items": { "$ref": "#/definitions/texture" } }
]
}
}
}
},
"texture_name": { "title": "Texture Name", "description": "TODO: add description", "type": "string" }
}
}
{
"$id": "blockception.minecraft.resource.texture.item_texture",
"additionalProperties": false,
"type": "object",
"title": "Item Texture File",
"description": "",
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Texture" },
{
"type": "object",
"additionalProperties": false,
"description": "A collection of texture files",
"title": "Texture",
"properties": {
"overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "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",
"description": "TODO",
"items": {
"type": "object",
"title": "Variantion",
"description": "TODO",
"required": ["path"],
"properties": {
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
}
}
}
}
}
]
}
},
"properties": {
"resource_pack_name": { "type": "string", "title": "Resource Pack Name", "description": "TODO: add description" },
"texture_data": {
"title": "Texture Data",
"description": "TODO: add description",
"type": "object",
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"title": "Texture Data",
"description": "TODO: add description",
"type": "object",
"additionalProperties": false,
"properties": {
"textures": {
"oneOf": [
{ "$ref": "#/definitions/texture" },
{ "description": "A collection of textures", "title": "Texture Data", "type": "array", "items": { "$ref": "#/definitions/texture" } }
]
}
}
}
},
"texture_name": { "title": "Texture Name", "description": "TODO: add description", "type": "string" }
}
}

View File

@@ -1,60 +1,60 @@
{
"$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
"title": "Terrain Texture File",
"description": "",
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Texture" },
{
"type": "object",
"additionalProperties": false,
"description": "A collection of texture files",
"title": "Texture",
"properties": {
"overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "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",
"description": "TODO",
"items": {
"type": "object",
"title": "Variantion",
"description": "TODO",
"required": ["path"],
"properties": {
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
}
}
}
}
}
]
}
},
"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" },
"texture_data": {
"type": "object",
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"type": "object",
"title": "Texture Data",
"description": "TODO: add description",
"properties": {
"textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] }
}
},
"description": "TODO description",
"title": "TODO Title"
},
"texture_name": { "type": "string", "description": "TODO description", "title": "TODO Title" }
}
}
{
"$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false,
"type": "object",
"title": "Terrain Texture File",
"description": "",
"definitions": {
"texture": {
"oneOf": [
{ "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Texture" },
{
"type": "object",
"additionalProperties": false,
"description": "A collection of texture files",
"title": "Texture",
"properties": {
"overlay_color": { "description": "The color to apply to the texture", "title": "overlay_color", "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",
"description": "TODO",
"items": {
"type": "object",
"title": "Variantion",
"description": "TODO",
"required": ["path"],
"properties": {
"path": { "description": "A texture file", "type": "string", "pattern": "^textures/.+$", "title": "Path" },
"weight": { "type": "integer", "title": "Weight", "description": "TODO" }
}
}
}
}
}
]
}
},
"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" },
"texture_data": {
"type": "object",
"propertyNames": { "pattern": "^[\\w_\\-\\.]+$" },
"additionalProperties": {
"type": "object",
"title": "Texture Data",
"description": "TODO: add description",
"properties": {
"textures": { "oneOf": [{ "$ref": "#/definitions/texture" }, { "type": "array", "items": { "$ref": "#/definitions/texture" } }] }
}
},
"description": "TODO description",
"title": "TODO Title"
},
"texture_name": { "type": "string", "description": "TODO description", "title": "TODO Title" }
}
}

View File

@@ -1,6 +1,6 @@
{
"title": "Texture List",
"description": "A list of texture to load in",
"type": "array",
"items": { "title": "Filepath", "type": "string", "pattern": "^textures/", "examples": ["textures/blocks/"] }
}
{
"title": "Texture List",
"description": "A list of texture to load in",
"type": "array",
"items": { "title": "Filepath", "type": "string", "pattern": "^textures/", "examples": ["textures/blocks/"] }
}