Initial Commit
This commit is contained in:
195
resource/animation_controllers/1.10.0/animation_controller.json
Normal file
195
resource/animation_controllers/1.10.0/animation_controller.json
Normal file
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.animation_controller1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack animation controller 1.10.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"title": "Effect",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"title": "Pre effect script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "object",
|
||||
"title": "The animation controllers schema",
|
||||
"description": "The animation controllers schema for 1.10.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"description": "A single animation controller 1.10.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"description": "The animations definition for 1.10.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
"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 definition",
|
||||
"description": "The transition definition for 1.10.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["input"],
|
||||
"properties": {
|
||||
"input": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"remap_curve": {
|
||||
"additionalProperties": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
195
resource/animation_controllers/1.8.0/animation_controller.json
Normal file
195
resource/animation_controllers/1.8.0/animation_controller.json
Normal file
@@ -0,0 +1,195 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.animation_controller1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack animation controller 1.8.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"title": "Effect",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"title": "Pre effect script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "object",
|
||||
"title": "The animation controllers schema",
|
||||
"description": "The animation controllers schema for 1.8.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"description": "A single animation controller 1.8.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"description": "The animations definition for 1.10.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
"blend_transition": {
|
||||
"title": "Blend Transition",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "number",
|
||||
"description": "A short-hand version of blend_out that simply sets the amount of time to fade out if the animation is interrupted"
|
||||
},
|
||||
{
|
||||
"type": "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 definition",
|
||||
"description": "The transition definition for 1.8.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["input"],
|
||||
"properties": {
|
||||
"input": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"remap_curve": {
|
||||
"additionalProperties": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
resource/animation_controllers/animation_controller.json
Normal file
14
resource/animation_controllers/animation_controller.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.animation_controller",
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "1.8.0/animation_controller.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "1.10.0/animation_controller.json" }
|
||||
}
|
||||
]
|
||||
}
|
||||
383
resource/animations/1.10.0/actor_animation.json
Normal file
383
resource/animations/1.10.0/actor_animation.json
Normal file
@@ -0,0 +1,383 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.actor_animation",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft 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/1.8.0/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)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RotationV3": {
|
||||
"title": "Rotation array",
|
||||
"description": "An array of 3 items that describe the bones rotation",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Rotation X",
|
||||
"description": "The rotation over the X-axis, or up or down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Y",
|
||||
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Z",
|
||||
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SoundEffect": {
|
||||
"title": "Sound effect",
|
||||
"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": "The 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/1.8.0/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/1.8.0/number.json"
|
||||
},
|
||||
"bones": {
|
||||
"title": "Bones",
|
||||
"description": "Defines how the bones in an animation move or transform",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"title": "Bone transformation",
|
||||
"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/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\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/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\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"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ParticleEffect"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
"sound_effects": {
|
||||
"title": "Sound effect",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/SoundEffect"
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
383
resource/animations/1.8.0/actor_animation.json
Normal file
383
resource/animations/1.8.0/actor_animation.json
Normal file
@@ -0,0 +1,383 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.8.0.actor_animation",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft 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/1.8.0/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)."
|
||||
}
|
||||
}
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RotationV3": {
|
||||
"title": "Rotation array",
|
||||
"description": "An array of 3 items that describe the bones rotation",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"title": "Rotation X",
|
||||
"description": "The rotation over the X-axis, or up or down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Y",
|
||||
"description": "The rotation over the Y-axis, or yaw.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Rotation Z",
|
||||
"description": "The rotation over the Z-axis, or roll.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Y",
|
||||
"description": "The position over the Y-axis, or up/down.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"title": "Position Z",
|
||||
"description": "The position over the Z-axis, or left/right.\nCan be molang or a float",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SoundEffect": {
|
||||
"title": "Sound effect",
|
||||
"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": "The 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": "Start delay",
|
||||
"description": "How does time pass when playing the animation. Defaults to \"query.anim_time + query.delta_time\" which means advance in seconds.",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"animation_length": {
|
||||
"title": "Animation length",
|
||||
"description": "Override calculated value (set as the last keyframe time) and set animation length in seconds.",
|
||||
"type": "number"
|
||||
},
|
||||
"blend_weight": {
|
||||
"title": "Blend weight",
|
||||
"description": "TODO",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"bones": {
|
||||
"title": "Bones",
|
||||
"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/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\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/1.8.0/arraynumber3.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/ScaleV3"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\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"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"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",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ParticleEffect"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
"sound_effects": {
|
||||
"title": "Sound effect",
|
||||
"description": "TODO",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d.]+$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/SoundEffect"
|
||||
}
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"description": "TODO",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
resource/animations/actor_animation.json
Normal file
14
resource/animations/actor_animation.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.actor_animation",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
268
resource/attachables/1.10.0/attachables.json
Normal file
268
resource/attachables/1.10.0/attachables.json
Normal file
@@ -0,0 +1,268 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.attachables",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "minecraft:attachable"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^(1.10.0|1.10)$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:attachable": {
|
||||
"type": "object",
|
||||
"title": "The attachables",
|
||||
"description": "The attachables definition",
|
||||
"required": ["description"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description definition",
|
||||
"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 definition",
|
||||
"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/1.8.0/number.json",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize"
|
||||
}
|
||||
},
|
||||
"pre_animation": {
|
||||
"type": "array",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
}
|
||||
},
|
||||
"parent_setup": {
|
||||
"type": "string",
|
||||
"description": "TODO description: parent setup",
|
||||
"title": "Parent Setup",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"sound_effects": {
|
||||
"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
|
||||
}
|
||||
250
resource/attachables/1.8.0/attachables.json
Normal file
250
resource/attachables/1.8.0/attachables.json
Normal file
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.8.0.attachables",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.8.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "minecraft:attachable"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:attachable": {
|
||||
"type": "object",
|
||||
"title": "The attachables",
|
||||
"description": "The attachables definition for 1.8.0",
|
||||
"required": ["description"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"additionalProperties": false,
|
||||
"title": "Description definition",
|
||||
"description": "TODO description: description",
|
||||
"type": "object",
|
||||
"required": ["identifier", "geometry"],
|
||||
"properties": {
|
||||
"animations": {
|
||||
"description": "The connecting of animations in animations controllers with the actuall animations, names should corosponds",
|
||||
"title": "The animations schema",
|
||||
"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 definition",
|
||||
"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/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
},
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
},
|
||||
"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/1.8.0/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
|
||||
}
|
||||
18
resource/attachables/attachables.json
Normal file
18
resource/attachables/attachables.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.attachables",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
265
resource/biomes_client.json
Normal file
265
resource/biomes_client.json
Normal file
@@ -0,0 +1,265 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.biomes_client.json",
|
||||
"type": "object",
|
||||
"title": "Biomes client",
|
||||
"description": "The minecraft biomes definition file",
|
||||
"definitions": {
|
||||
"biomespec": {
|
||||
"additionalProperties": false,
|
||||
"description": "The specification of colors in a given biome",
|
||||
"title": "Biome specification",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"fog_color": {
|
||||
"$ref": "#/definitions/colorhex",
|
||||
"title": "Fog color",
|
||||
"description": "The color of the fog"
|
||||
},
|
||||
"water_fog_color": {
|
||||
"$ref": "#/definitions/colorhex",
|
||||
"title": "Water fog color",
|
||||
"description": "The color of the water fog"
|
||||
},
|
||||
"water_fog_distance": {
|
||||
"type": "integer",
|
||||
"title": "Water fog distance",
|
||||
"description": "The distance the water fog start at"
|
||||
},
|
||||
"water_surface_color": {
|
||||
"$ref": "#/definitions/colorhex",
|
||||
"title": "Water surface color",
|
||||
"description": "The color of the water surface"
|
||||
},
|
||||
"water_surface_transparency": {
|
||||
"type": "number",
|
||||
"title": "Water surface transparency",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
},
|
||||
"colorhex": {
|
||||
"description": "TODO description: colorhex",
|
||||
"title": "Colorhex",
|
||||
"format": "color-hex"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"biomes": {
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description: biomes",
|
||||
"title": "Biomes",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"bamboo_jungle": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"bamboo_jungle_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"basalt_deltas": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"beach": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"birch_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"birch_forest_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_beach": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_taiga_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"cold_taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"crimson_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_cold_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_frozen_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_lukewarm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"deep_warm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"default": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"desert": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"desert_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_edge": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_plus_trees": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"extreme_hills_plus_trees_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"flower_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"forest_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"frozen_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"frozen_river": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"hell": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ice_mountains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ice_plains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ice_plains_spikes": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle_edge": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"jungle_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"lukewarm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_spruce_taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_spruce_taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_taiga_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mega_taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_bryce": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_plateau": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mesa_plateau_stone": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mushroom_island": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"mushroom_island_shore": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"plains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"river": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"roofed_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"savanna": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"savanna_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"savanna_plateau": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"soulsand_valley": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"stone_beach": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"sunflower_plains": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"swampland": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"swampland_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"taiga": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"taiga_hills": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"taiga_mutated": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"the_end": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"warm_ocean": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
},
|
||||
"warped_forest": {
|
||||
"$ref": "#/definitions/biomespec"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
135
resource/blocks.json
Normal file
135
resource/blocks.json
Normal file
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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 definition",
|
||||
"description": "TODO",
|
||||
"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": "TODO",
|
||||
"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": "TODO"
|
||||
},
|
||||
"textures": {
|
||||
"$ref": "#/definitions/texture",
|
||||
"title": "Sound",
|
||||
"description": "Textures"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
297
resource/entity/1.10.0/entity.json
Normal file
297
resource/entity/1.10.0/entity.json
Normal file
@@ -0,0 +1,297 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.entity",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "minecraft:client_entity"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:client_entity": {
|
||||
"type": "object",
|
||||
"title": "The client entity",
|
||||
"description": "The client entity definition",
|
||||
"required": ["description"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description definition",
|
||||
"type": "object",
|
||||
"required": ["identifier"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"animations": {
|
||||
"description": "The collection of animations and animations controllers",
|
||||
"title": "Animations",
|
||||
"type": "object",
|
||||
"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": "TODO description: enable attachables",
|
||||
"title": "Enable Attachables"
|
||||
},
|
||||
"geometry": {
|
||||
"title": "Geometry definition",
|
||||
"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": "TODO description: identifier",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
},
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials"
|
||||
},
|
||||
"min_engine_version": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
|
||||
"description": "TODO description: min engine version",
|
||||
"title": "Min Engine Version"
|
||||
},
|
||||
"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": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "A render controller",
|
||||
"title": "Render controller"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"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/1.8.0/number.json",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize"
|
||||
}
|
||||
},
|
||||
"pre_animation": {
|
||||
"type": "array",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
}
|
||||
},
|
||||
"parent_setup": {
|
||||
"type": "string",
|
||||
"description": "TODO description: parent setup",
|
||||
"title": "Parent Setup",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale",
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scalex": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale X"
|
||||
},
|
||||
"scaley": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Y"
|
||||
},
|
||||
"scalez": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Z"
|
||||
},
|
||||
"should_update_bones_and_effects_offscreen": {
|
||||
"title": "Should update bones and effects offscreen",
|
||||
"description": "Bones and effects will still be updated if the entity is off screen if this expression returns anything other than 0.0.",
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
"should_update_effects_offscreen": {
|
||||
"title": "Should update effects offscreen",
|
||||
"description": "Effects will still be updated if the entity is off screen if this expression or `should_update_bones_and_effects_offscreen` returns anything other than 0.0.",
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
},
|
||||
"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 definition",
|
||||
"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": "TODO description: sound effects",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "Sound effect"
|
||||
}
|
||||
},
|
||||
"spawn_egg": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "TODO description: spawn egg",
|
||||
"title": "Spawn Egg",
|
||||
"dependencies": {
|
||||
"texture_index": ["texture"],
|
||||
"base_colour": ["overlay_color"],
|
||||
"overlay_color": ["base_color"]
|
||||
},
|
||||
"properties": {
|
||||
"base_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: base color",
|
||||
"title": "Base Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"overlay_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "TODO description: texture",
|
||||
"title": "Texture"
|
||||
},
|
||||
"texture_index": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture index",
|
||||
"title": "Texture Index"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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
|
||||
}
|
||||
266
resource/entity/1.8.0/entity.json
Normal file
266
resource/entity/1.8.0/entity.json
Normal file
@@ -0,0 +1,266 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.entity1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack actor animation 1.8.0",
|
||||
"description": "TODO description",
|
||||
"additionalProperties": false,
|
||||
"required": ["format_version", "minecraft:client_entity"],
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:client_entity": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Minecraft client entity",
|
||||
"description": "The definition of an entity's models, materials, textures, and animations",
|
||||
"properties": {
|
||||
"description": {
|
||||
"additionalProperties": false,
|
||||
"title": "Description definition",
|
||||
"description": "TODO description: description",
|
||||
"type": "object",
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"animations": {
|
||||
"description": "The connecting of animations in animations controllers with the actuall animations, names should corosponds",
|
||||
"title": "The animations schema",
|
||||
"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 definition",
|
||||
"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/entity/identifier.json"
|
||||
},
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
},
|
||||
"min_engine_version": {
|
||||
"type": "string",
|
||||
"pattern": "[0-9]+\\.[0-9]+\\.[0-9]+",
|
||||
"description": "TODO description: min engine version",
|
||||
"title": "Min Engine Version"
|
||||
},
|
||||
"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": {
|
||||
"title": "Sound Effects",
|
||||
"description": "TODO description: sound effects",
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
}
|
||||
},
|
||||
"spawn_egg": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "TODO description: spawn egg",
|
||||
"title": "Spawn Egg",
|
||||
"dependencies": {
|
||||
"texture_index": ["texture"],
|
||||
"base_colour": ["overlay_color"],
|
||||
"overlay_color": ["base_color"]
|
||||
},
|
||||
"properties": {
|
||||
"base_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: base color",
|
||||
"title": "Base Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"overlay_color": {
|
||||
"type": "string",
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"description": "TODO description: texture",
|
||||
"title": "Texture"
|
||||
},
|
||||
"texture_index": {
|
||||
"type": "integer",
|
||||
"description": "TODO description: texture index",
|
||||
"title": "Texture Index"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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/1.8.0/number.json",
|
||||
"description": "TODO description: initialize",
|
||||
"title": "Initialize"
|
||||
}
|
||||
},
|
||||
"pre_animation": {
|
||||
"type": "array",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation",
|
||||
"items": {
|
||||
"pattern": ";$",
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: pre aninamtion",
|
||||
"title": "Pre Animation"
|
||||
}
|
||||
},
|
||||
"parent_setup": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"scale": {
|
||||
"type": "string",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
},
|
||||
"scalex": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale X"
|
||||
},
|
||||
"scaley": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Y"
|
||||
},
|
||||
"scalez": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Scale Z"
|
||||
}
|
||||
}
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
resource/entity/entity.json
Normal file
14
resource/entity/entity.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.entity",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
61
resource/items/1.10.0/items.json
Normal file
61
resource/items/1.10.0/items.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.1.10.0.items",
|
||||
"description": "Minecraft items 1.10.0",
|
||||
"required": ["format_version", "minecraft:item"],
|
||||
"title": "Item",
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"minecraft:item": {
|
||||
"title": "Minecraft item",
|
||||
"description": "TODO",
|
||||
"required": ["description", "components"],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Description",
|
||||
"description": "TODO",
|
||||
"required": ["identifier"],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
"description": "TODO",
|
||||
"$ref": "../../../general/item/identifier.json"
|
||||
},
|
||||
"category": {
|
||||
"title": "Category",
|
||||
"description": "TODO",
|
||||
"type": "string",
|
||||
"enum": ["Equipment"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"title": "Components",
|
||||
"description": "TODO",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"minecraft:icon": {
|
||||
"title": "Minecraft icon",
|
||||
"description": "The texture defined in `textures/item_texture.json`",
|
||||
"type": "string"
|
||||
},
|
||||
"minecraft:render_offsets": {
|
||||
"type": "string",
|
||||
"description": "TODO",
|
||||
"title": "Minecraft render offsets",
|
||||
"enum": ["apple"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
14
resource/items/items.json
Normal file
14
resource/items/items.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.items",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
451
resource/materials/materials.json
Normal file
451
resource/materials/materials.json
Normal file
@@ -0,0 +1,451 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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$"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
341
resource/models/entity/1.10.0/model_entity.json
Normal file
341
resource/models/entity/1.10.0/model_entity.json
Normal file
@@ -0,0 +1,341 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model.1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack model schema for 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version"],
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
}
|
||||
},
|
||||
"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": {
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
463
resource/models/entity/1.12.0/model_entity.json
Normal file
463
resource/models/entity/1.12.0/model_entity.json
Normal file
@@ -0,0 +1,463 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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": "The 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)."
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
469
resource/models/entity/1.14.0/model_entity.json
Normal file
469
resource/models/entity/1.14.0/model_entity.json
Normal file
@@ -0,0 +1,469 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"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": "The 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",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"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",
|
||||
"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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
365
resource/models/entity/1.8.0/model_entity.json
Normal file
365
resource/models/entity/1.8.0/model_entity.json
Normal file
@@ -0,0 +1,365 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model.1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft resourcepack model schema for 1.8.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version"],
|
||||
"properties": {
|
||||
"debug": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
}
|
||||
},
|
||||
"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": "TODO",
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
22
resource/models/entity/model_entity.json
Normal file
22
resource/models/entity/model_entity.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.model",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_initialization",
|
||||
"description": "This component allows the emitter to run some Molang at creation, primarily to populate any MoLang variables that get used later.",
|
||||
"type": "object",
|
||||
"title": "The emitter initialization component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"creation_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/string.json",
|
||||
"description": "This is run once at emitter startup.",
|
||||
"title": "Creation Expression"
|
||||
},
|
||||
"per_update_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/string.json",
|
||||
"description": "This is run once per emitter update.",
|
||||
"title": "Per Update Expression"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_events",
|
||||
"type": "object",
|
||||
"title": "The emitter lifetime events component for 1.10.0",
|
||||
"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": {
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": "TODO title"
|
||||
},
|
||||
"travel_distance_events": {
|
||||
"title": "Travel distance events",
|
||||
"description": "A series of distances, e.g. 0.0 or 1.0, that trigger the event these get fired when the emitter has moved by the specified input distance, e.g. one line might be: \"0.4\": \"event\"",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\d\\.]+$"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
|
||||
"type": "object",
|
||||
"title": "The emitter rate manual component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"activation_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "When the expression is non-zero, the emitter will emit particles. Evaluated every frame",
|
||||
"title": "Activation Expression"
|
||||
},
|
||||
"expiration_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Emitter will expire if the expression is non-zero. Evaluated every frame",
|
||||
"title": "Expiration Expression"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_looping",
|
||||
"type": "object",
|
||||
"title": "The emitter lifetime looping component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"active_time": {
|
||||
"$ref": "../../../../molang/1.8.0/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/1.8.0/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: "
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_lifetime_once",
|
||||
"type": "object",
|
||||
"title": "The emitter lifetime once component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"active_time": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "How long the particles emit for evaluated once",
|
||||
"title": "Active Time"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_local_space",
|
||||
"type": "object",
|
||||
"title": "The emitter local space component for 1.10.0",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_instant",
|
||||
"type": "object",
|
||||
"title": "The emitter rate instant component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"num_particles": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "This many particles are emitted at once evaluated once per particle emitter loop.",
|
||||
"title": "Num Particles",
|
||||
"default": 10
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_manual",
|
||||
"type": "object",
|
||||
"title": "The emitter rate manual component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"max_particles": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Evaluated once per particle emitted",
|
||||
"title": "Max Particles"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_rate_steady",
|
||||
"type": "object",
|
||||
"title": "The emitter rate steady component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"max_particles": {
|
||||
"$ref": "../../../../molang/1.8.0/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/1.8.0/number.json",
|
||||
"description": "How often a particle is emitted, in particles/sec evaluated once per particle emitted",
|
||||
"title": "Spawn Rate"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_box",
|
||||
"type": "object",
|
||||
"title": "The emitter shape box component for 1.10.0",
|
||||
"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/1.8.0/number.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"half_dimensions": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: half dimensions",
|
||||
"title": "Half Dimensions"
|
||||
},
|
||||
"description": "TODO description: half dimensions",
|
||||
"title": "Half Dimensions"
|
||||
},
|
||||
"surface_only": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: surface only",
|
||||
"title": "Surface Only"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_custom",
|
||||
"type": "object",
|
||||
"title": "The emitter shape custom component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_disc",
|
||||
"type": "object",
|
||||
"title": "The emitter shape disc component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": ["inwards", "outwards"]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
}
|
||||
}
|
||||
],
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"surface_only": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: surface only",
|
||||
"title": "Surface Only"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_entity_aabb",
|
||||
"type": "object",
|
||||
"title": "The emitter shape entity aabb component for 1.10.0",
|
||||
"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/1.8.0/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/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_point",
|
||||
"type": "object",
|
||||
"title": "The emitter shape point component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"direction": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"description": "TODO description: direction",
|
||||
"title": "Direction"
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_shape_sphere",
|
||||
"type": "object",
|
||||
"title": "The emitter shape sphere component for 1.10.0",
|
||||
"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/1.8.0/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/1.8.0/number.json",
|
||||
"description": "TODO description: offset",
|
||||
"title": "Offset"
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"radius": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: radius", "title": "Radius" },
|
||||
"surface_only": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: surface only",
|
||||
"title": "Surface Only"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_billboard",
|
||||
"type": "object",
|
||||
"title": "The particle appearance billboard component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"size": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/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/1.8.0/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/1.8.0/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/1.8.0/number.json",
|
||||
"description": "TODO description: step UV",
|
||||
"title": "Step U V"
|
||||
},
|
||||
"description": "TODO description: step UV",
|
||||
"title": "Step U V"
|
||||
},
|
||||
"frames_per_second": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: frames per second",
|
||||
"title": "Frames Per Second"
|
||||
},
|
||||
"max_frame": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: max frame",
|
||||
"title": "Max Frame"
|
||||
},
|
||||
"stretch_to_lifetime": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: stretch to lifetime",
|
||||
"title": "Stretch To Lifetime"
|
||||
},
|
||||
"loop": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: loop",
|
||||
"title": "Loop"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: flipbook",
|
||||
"title": "Flipbook"
|
||||
},
|
||||
"uv": {
|
||||
"type": "array",
|
||||
"minItems": 2,
|
||||
"maxItems": 2,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/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/1.8.0/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: "
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_lighting",
|
||||
"type": "object",
|
||||
"title": "The particle appearance lighting component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description"
|
||||
}
|
||||
@@ -0,0 +1,88 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_appearance_tinting",
|
||||
"description": "Color fields are special, they can be either an RGB, or a \"#RRGGBB\" field (or RGBA or \"AARRGGBB\"). If RGB(A), the channels are from 0 to 1. If the string \"#AARRGGBB\", then the values are hex from 00 to ff.",
|
||||
"type": "object",
|
||||
"title": "The particle appearance tinting component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"color": {
|
||||
"title": "Color",
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"description": "Direct color field",
|
||||
"items": { "$ref": "../../../../molang/1.8.0/number.json" }
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"format": "color-hex",
|
||||
"description": "Direct color field"
|
||||
},
|
||||
{
|
||||
"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/1.8.0/number.json",
|
||||
"description": "TODO description: interpolant",
|
||||
"title": "Interpolant"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_expire_if_not_in_blocks",
|
||||
"type": "array",
|
||||
"title": "The particle expire if not in blocks component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"items": {
|
||||
"$ref": "../../../../general/blocks_identifiers.json",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"description": "TODO description"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_speed",
|
||||
"title": "The particle initial speed component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"anyOf": [
|
||||
{ "$ref": "../../../../molang/1.8.0/number.json" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initial_spin",
|
||||
"title": "The particle initial spin component for 1.10.0",
|
||||
"description": "Starts the particle with a specified orientation and rotation rate.",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "Specifies the initial rotation in degrees", "title": "Rotation" },
|
||||
"rotation_rate": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Specifies the spin rate in degrees/second",
|
||||
"title": "Rotation Rate"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_initialization",
|
||||
"type": "object",
|
||||
"title": "The particle initialization component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"per_update_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: per update expression",
|
||||
"title": "Per Update Expression"
|
||||
},
|
||||
"per_render_expression": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: per render expression",
|
||||
"title": "Per Render Expression"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_kill_plane",
|
||||
"type": "array",
|
||||
"title": "The particle kill plane component for 1.10.0",
|
||||
"items": {
|
||||
"minItems": 4,
|
||||
"maxItems": 4,
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"description": "TODO description"
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_events",
|
||||
"type": "object",
|
||||
"title": "The particle lifetime events component for 1.10.0",
|
||||
"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: "
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_expression",
|
||||
"type": "object",
|
||||
"description": "TODO description: ",
|
||||
"title": "The particle lifetime expression component for 1.10.0",
|
||||
"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/1.8.0/number.json"
|
||||
},
|
||||
"max_lifetime": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Alternate way to express lifetime, particle will expire after this much time, evaluated once",
|
||||
"title": "Max Lifetime"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_collision",
|
||||
"type": "object",
|
||||
"title": "The particle motion collision component for 1.10.0",
|
||||
"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/1.8.0/number.json", "description": "TODO description: enabled", "title": "Enabled" },
|
||||
"expire_on_contact": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: expire on contact",
|
||||
"title": "Expire On Contact"
|
||||
},
|
||||
"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: "
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_dynamic",
|
||||
"description": "This component specifies the dynamic properties of the particle, from a simulation standpoint what forces act upon the particle? These dynamics alter the velocity of the particle, which is a combination of the direction of the particle and the speed. Particle direction will always be in the direction of the velocity of the particle.",
|
||||
"type": "object",
|
||||
"title": "The particle motion dynamic component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"linear_acceleration": {
|
||||
"type": "array",
|
||||
"default": [0, 0, 0],
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json"
|
||||
},
|
||||
"description": "The linear acceleration applied to the particle. Units are blocks/sec/sec",
|
||||
"title": "Linear Acceleration"
|
||||
},
|
||||
"linear_drag_coefficient": {
|
||||
"$ref": "../../../../molang/1.8.0/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/1.8.0/number.json",
|
||||
"description": "Acceleration applies to the rotation speed of the particle",
|
||||
"title": "Rotation Acceleration",
|
||||
"default": 0
|
||||
},
|
||||
"rotation_drag_coefficient": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "Drag applied to rotation",
|
||||
"title": "Rotation Drag Coefficient",
|
||||
"default": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_motion_parametric",
|
||||
"type": "object",
|
||||
"title": "The particle motion parametric component for 1.10.0",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"relative_position": {
|
||||
"type": "array",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": {
|
||||
"$ref": "../../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: relative position",
|
||||
"title": "Relative Position"
|
||||
},
|
||||
"description": "TODO description: relative position",
|
||||
"title": "Relative Position"
|
||||
},
|
||||
"rotation": { "$ref": "../../../../molang/1.8.0/number.json", "description": "TODO description: rotation", "title": "Rotation" }
|
||||
},
|
||||
"description": "TODO description: "
|
||||
}
|
||||
235
resource/particles/1.10.0/particle.json
Normal file
235
resource/particles/1.10.0/particle.json
Normal file
@@ -0,0 +1,235 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.10.0",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"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": "^variable\\.[a-zA-z0-9]+$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"title": "Curve",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"input": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"title": "Input",
|
||||
"description": "What is the input value to use"
|
||||
},
|
||||
"nodes": {
|
||||
"description": "Control nodes for curve. These are assumed to be equally, used Object for bezier_chain",
|
||||
"title": "Nodes",
|
||||
"oneOf": [
|
||||
{
|
||||
"minItems": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../molang/1.8.0/number.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "(^[\\-0-9]+$|^[\\-0-9]+\\.[\\-0-9]+$)"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "TODO description: events",
|
||||
"title": "Events"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: particle effect",
|
||||
"title": "Particle Effect"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: ",
|
||||
"title": "TODO title"
|
||||
}
|
||||
44
resource/particles/1.8.0/particle.json
Normal file
44
resource/particles/1.8.0/particle.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle.1.8.0",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: ",
|
||||
"title": "TODO title"
|
||||
}
|
||||
14
resource/particles/particles.json
Normal file
14
resource/particles/particles.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.particle",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
232
resource/render_controllers/1.10.0/render_controllers.json
Normal file
232
resource/render_controllers/1.10.0/render_controllers.json
Normal file
@@ -0,0 +1,232 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"title": "Molang color"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 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\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A single render_controller",
|
||||
"required": ["geometry", "materials", "textures"],
|
||||
"properties": {
|
||||
"arrays": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"geometries": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Gg]eometry\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: geometries",
|
||||
"title": "Geometries"
|
||||
},
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Mm]aterial\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials"
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"description": "Textures",
|
||||
"title": "Texture",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Tt]exture\\..+",
|
||||
"default": "texture.",
|
||||
"description": "An texture item",
|
||||
"title": "Texture"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: arrays",
|
||||
"title": "Arrays"
|
||||
},
|
||||
"color": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: r",
|
||||
"title": "R"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: g",
|
||||
"title": "G"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: b",
|
||||
"title": "B"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: a",
|
||||
"title": "A"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"overlay_color": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: r",
|
||||
"title": "R"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: g",
|
||||
"title": "G"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: b",
|
||||
"title": "B"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color",
|
||||
"description": "TODO description: a",
|
||||
"title": "A"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: overlay color",
|
||||
"title": "Overlay Color"
|
||||
},
|
||||
"textures": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string",
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
},
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers"
|
||||
}
|
||||
}
|
||||
}
|
||||
312
resource/render_controllers/1.8.0/render_controllers.json
Normal file
312
resource/render_controllers/1.8.0/render_controllers.json
Normal file
@@ -0,0 +1,312 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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": "The 1.8.0 format_version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"render_controllers": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.render\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Render controller",
|
||||
"description": "A single render_controller definition",
|
||||
"required": ["geometry", "materials", "textures"],
|
||||
"properties": {
|
||||
"arrays": {
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description: arrays",
|
||||
"title": "Arrays",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"geometries": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "^[Aa]rray\\..+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Gg]eometry\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: geometries",
|
||||
"title": "Geometries"
|
||||
},
|
||||
"materials": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "^[Aa]rray\\..+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Mm]aterial\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: materials",
|
||||
"title": "Materials"
|
||||
},
|
||||
"textures": {
|
||||
"type": "object",
|
||||
"minProperties": 1,
|
||||
"propertyNames": {
|
||||
"pattern": "^[Aa]rray\\..+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[Tt]exture\\..+",
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: additionalProperties",
|
||||
"title": "TODO"
|
||||
},
|
||||
"description": "TODO description: textures",
|
||||
"title": "Textures"
|
||||
}
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: color",
|
||||
"title": "Color"
|
||||
},
|
||||
"filter_lighting": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: filter lighting",
|
||||
"title": "Filter Lighting"
|
||||
},
|
||||
"geometry": {
|
||||
"type": "string",
|
||||
"description": "TODO description: geometry",
|
||||
"title": "Geometry"
|
||||
},
|
||||
"ignore_lighting": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: ignore lighting",
|
||||
"title": "Ignore Lighting"
|
||||
},
|
||||
"is_hurt_color": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: is hurt color",
|
||||
"title": "Is Hurt Color"
|
||||
},
|
||||
"light_color_multiplier": {
|
||||
"$ref": "../../../molang/1.8.0/number.json",
|
||||
"description": "TODO description: light color multiplier",
|
||||
"title": "Light Color Multiplier"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: on fire color",
|
||||
"title": "On Fire Color"
|
||||
},
|
||||
"overlay_color": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"r": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"g": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"b": {
|
||||
"$ref": "#/definitions/color"
|
||||
},
|
||||
"a": {
|
||||
"$ref": "#/definitions/color"
|
||||
}
|
||||
},
|
||||
"description": "TODO description: overlay color",
|
||||
"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/1.8.0/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/1.8.0/number.json",
|
||||
"description": "TODO description: scale",
|
||||
"title": "Scale"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "TODO description: uv anim",
|
||||
"title": "Uv Anim"
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "TODO description: render controllers",
|
||||
"title": "Render Controllers"
|
||||
}
|
||||
}
|
||||
}
|
||||
48
resource/render_controllers/render_controllers.json
Normal file
48
resource/render_controllers/render_controllers.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.render_controllers.json",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
320
resource/sounds.json
Normal file
320
resource/sounds.json
Normal file
@@ -0,0 +1,320 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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 definition",
|
||||
"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 definition",
|
||||
"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 definition",
|
||||
"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 definition",
|
||||
"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"
|
||||
},
|
||||
"sounds": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
114
resource/sounds/1.14.0/sound_definitions.json
Normal file
114
resource/sounds/1.14.0/sound_definitions.json
Normal file
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.sound_definition.1.14.0.json",
|
||||
"type": "object",
|
||||
"additionalItems": false,
|
||||
"title": "The minecraft sound definition file for 1.14.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"SoundPath": {
|
||||
"$id": "SoundFilepath",
|
||||
"type": "string",
|
||||
"title": "The 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 specification",
|
||||
"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
|
||||
}
|
||||
47
resource/sounds/music_definitions.json
Normal file
47
resource/sounds/music_definitions.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.music_definitions.json",
|
||||
"type": "object",
|
||||
"title": "The minecraft music definition 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"
|
||||
}
|
||||
}
|
||||
14
resource/sounds/sound_definitions.json
Normal file
14
resource/sounds/sound_definitions.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.sound_definition.json",
|
||||
"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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
110
resource/sounds/sound_definitions_unknown.json
Normal file
110
resource/sounds/sound_definitions_unknown.json
Normal file
@@ -0,0 +1,110 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.sound_definition.json",
|
||||
"type": "object",
|
||||
"title": "The minecraft sound definition file, unknown version",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"SoundPath": {
|
||||
"$id": "SoundFilepath",
|
||||
"type": "string",
|
||||
"title": "The 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 specification",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
61
resource/textures/flipbook_textures.json
Normal file
61
resource/textures/flipbook_textures.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.flipbook",
|
||||
"additionalProperties": false,
|
||||
"type": "array",
|
||||
"title": "The minecraft flipbook texture file",
|
||||
"description": "",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A single flipbook texture",
|
||||
"title": "Flipbook texture",
|
||||
"properties": {
|
||||
"atlas_index": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"atlas_tile": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9_\\-]*$",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"atlas_tile_variant": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"blend_frames": {
|
||||
"type": "boolean",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"flipbook_texture": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
"frames": {
|
||||
"description": "The collection of frame index to display",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "The index of the frame",
|
||||
"type": "integer",
|
||||
"title": "Frame index",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"replicate": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"ticks_per_frame": {
|
||||
"description": "The amount of ticks to wait between frames",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
76
resource/textures/item_texture.json
Normal file
76
resource/textures/item_texture.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.item_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft item texture file",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": {
|
||||
"description": "The color to apply to the texture",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"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",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": {
|
||||
"title": "Texture name",
|
||||
"description": "TODO: add description",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
113
resource/textures/terrain_texture.json
Normal file
113
resource/textures/terrain_texture.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.terrain_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft terrain texture file",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": {
|
||||
"description": "The color to apply to the texture",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$",
|
||||
"title": "Path"
|
||||
},
|
||||
"tint_color": {
|
||||
"title": "Tint color",
|
||||
"description": "TODO",
|
||||
"format": "color-hex",
|
||||
"type": "string"
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user