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

View File

@@ -64,7 +64,7 @@
"required": ["format_version", "animation_controllers"], "required": ["format_version", "animation_controllers"],
"additionalProperties": false, "additionalProperties": false,
"title": "Animation Controller 1.10.0", "title": "Animation Controller 1.10.0",
"description": "TODO description", "description": "Animation controller for minecraft behavior 1.10.0",
"properties": { "properties": {
"format_version": { "format_version": {
"title": "1.10.0 Format Version", "title": "1.10.0 Format Version",
@@ -88,7 +88,7 @@
"minProperties": 1, "minProperties": 1,
"properties": { "properties": {
"states": { "states": {
"title": "States ", "title": "States",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "propertyNames": {
"pattern": "[a-z\\.]+" "pattern": "[a-z\\.]+"
@@ -101,12 +101,12 @@
"type": "object", "type": "object",
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations ", "title": "Animations",
"description": "The animations definition for 1.10.0", "description": "The animations definition for 1.10.0",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/animationspec", "$ref": "#/definitions/animationspec",
"description": "TODO description: animations", "description": "The key definition of an animation to play, defined in the entity",
"title": "Animations" "title": "Animations"
} }
}, },

View File

@@ -12,7 +12,7 @@
{ {
"type": "object", "type": "object",
"title": "Animation Specification", "title": "Animation Specification",
"description": "A object specification on how to transition", "description": "A object specification on when to animate",
"maxProperties": 1, "maxProperties": 1,
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
@@ -86,11 +86,9 @@
"minProperties": 1, "minProperties": 1,
"properties": { "properties": {
"states": { "states": {
"title": "States ", "title": "States",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "propertyNames": { "pattern": "[a-z\\.]+" },
"pattern": "[a-z\\.]+"
},
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
@@ -99,13 +97,13 @@
"type": "object", "type": "object",
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations ", "title": "Animations",
"description": "The animations definition for 1.8.0", "description": "The animations definition for 1.8.0",
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/animationspec", "$ref": "#/definitions/animationspec",
"description": "TODO description: animations", "description": "The animation key to play, defined in the entity",
"title": "Animations" "title": "Animation"
} }
}, },
"on_entry": { "on_entry": {
@@ -123,23 +121,30 @@
} }
}, },
"transitions": { "transitions": {
"title": "Transition ", "title": "Transition",
"description": "The transition definition for 1.8.0", "description": "The transition definition for 1.8.0",
"minProperties": 1, "minProperties": 1,
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/animationspec", "title": "Transition",
"description": "TODO description: transitions", "description": "A transition to another state",
"title": "Transitions" "type": "object",
"examples": [ { "default": "query.is_chested" }],
"additionalProperties": {
"$ref": "../../../molang/1.8.0/string.json"
},
"minProperties": 1,
"maxProperties": 1
} }
} }
} }
} }
}, },
"initial_state": { "initial_state": {
"type": "string", "title": "Initial State",
"description": "The state to start with, if not specified state at position 0 in the array is used", "description": "The state to start with, if not specified state at position 0 in the array is used",
"title": "Initial State" "type": "string",
"examples": ["default"]
} }
} }
} }

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.behavior.1.10.0.animations", "$id": "blockception.minecraft.behavior.1.10.0.animations",
"type": "object", "type": "object",
"title": "Animation 1.10.0", "title": "Animation 1.10.0",
"description": "TODO description", "description": "Animation for behavior for 1.10.0",
"required": ["format_version", "animations"], "required": ["format_version", "animations"],
"definitions": { "definitions": {
"animationspec": { "animationspec": {
@@ -48,16 +48,16 @@
"type": "object", "type": "object",
"propertyNames": { "pattern": "^animation\\.[a-z\\.]+" }, "propertyNames": { "pattern": "^animation\\.[a-z\\.]+" },
"additionalProperties": { "additionalProperties": {
"title": "Animation",
"type": "object", "type": "object",
"additionalProperties": false, "description": "A single animation definition for 1.10.0",
"description": "TODO description: additionalItems", "additionalProperties": false,
"title": "Animation ",
"properties": { "properties": {
"animation_length": { "type": "number", "description": "TODO description: animation length", "title": "Animation Length" }, "animation_length": { "type": "number", "description": "The time in seconds this animation will last", "title": "Animation Length" },
"loop": { "type": "boolean", "description": "TODO description: loop", "title": "Loop" }, "loop": { "type": "boolean", "description": "Whenever this animation should loop once it reaches the end, will only happen if the animation is still active", "title": "Loop" },
"timeline": { "timeline": {
"title": "Timeline", "title": "Timeline",
"description": "The time line", "description": "A timeline specification, property names are timestamps",
"type": "object", "type": "object",
"propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" }, "propertyNames": { "pattern": "^(\\d+.\\d+|\\d+)$" },
"additionalProperties": { "additionalProperties": {

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"title": "Block ", "title": "Block",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "molang.string.1.8.0", "$id": "molang.string.1.8.0",
"type": "string", "type": "string",
"title": "Molang / String ", "title": "Molang / String",
"description": "Molang definition", "description": "Molang definition",
"format": "molang" "format": "molang"
} }

View File

@@ -74,7 +74,7 @@
], ],
"properties": { "properties": {
"states": { "states": {
"title": "States ", "title": "States",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] }, "propertyNames": { "pattern": "[a-z\\.]+", "examples": ["default"] },
"minProperties": 1, "minProperties": 1,
@@ -85,7 +85,7 @@
"type": "object", "type": "object",
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations ", "title": "Animations",
"description": "The animations definition for 1.10.0", "description": "The animations definition for 1.10.0",
"type": "array", "type": "array",
"items": { "$ref": "#/definitions/animationspec", "description": "TODO description: animations", "title": "Animations" } "items": { "$ref": "#/definitions/animationspec", "description": "TODO description: animations", "title": "Animations" }
@@ -127,7 +127,7 @@
} }
}, },
"transitions": { "transitions": {
"title": "Transition ", "title": "Transition",
"description": "The transition definition for 1.10.0", "description": "The transition definition for 1.10.0",
"minProperties": 1, "minProperties": 1,
"type": "array", "type": "array",

View File

@@ -63,7 +63,7 @@
"minProperties": 1, "minProperties": 1,
"properties": { "properties": {
"states": { "states": {
"title": "States ", "title": "States",
"description": "The states of this animation controller", "description": "The states of this animation controller",
"propertyNames": { "pattern": "[a-z\\.]+" }, "propertyNames": { "pattern": "[a-z\\.]+" },
"minProperties": 1, "minProperties": 1,
@@ -74,7 +74,7 @@
"type": "object", "type": "object",
"properties": { "properties": {
"animations": { "animations": {
"title": "Animations ", "title": "Animations",
"description": "The animations definition for 1.10.0", "description": "The animations definition for 1.10.0",
"type": "array", "type": "array",
"items": { "$ref": "#/definitions/animationspec", "description": "TODO description: animations", "title": "Animations" } "items": { "$ref": "#/definitions/animationspec", "description": "TODO description: animations", "title": "Animations" }
@@ -115,7 +115,7 @@
} }
}, },
"transitions": { "transitions": {
"title": "Transition ", "title": "Transition",
"description": "The transition definition for 1.8.0", "description": "The transition definition for 1.8.0",
"minProperties": 1, "minProperties": 1,
"type": "array", "type": "array",

View File

@@ -19,7 +19,7 @@
"required": ["description"], "required": ["description"],
"properties": { "properties": {
"description": { "description": {
"title": "Description ", "title": "Description",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"additionalProperties": false, "additionalProperties": false,
@@ -43,7 +43,7 @@
}, },
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" }, "enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": { "geometry": {
"title": "Geometry ", "title": "Geometry",
"type": "object", "type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" }, "propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
"minProperties": 1, "minProperties": 1,

View File

@@ -20,7 +20,7 @@
"properties": { "properties": {
"description": { "description": {
"additionalProperties": false, "additionalProperties": false,
"title": "Description ", "title": "Description",
"description": "TODO description: description", "description": "TODO description: description",
"type": "object", "type": "object",
"required": ["identifier", "geometry"], "required": ["identifier", "geometry"],
@@ -46,7 +46,7 @@
}, },
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" }, "enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": { "geometry": {
"title": "Geometry ", "title": "Geometry",
"type": "object", "type": "object",
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }, "additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },

View File

@@ -8,7 +8,7 @@
"biomespec": { "biomespec": {
"additionalProperties": false, "additionalProperties": false,
"description": "The specification of colors in a given biome", "description": "The specification of colors in a given biome",
"title": "Biome ", "title": "Biome",
"type": "object", "type": "object",
"properties": { "properties": {
"fog_color": { "$ref": "#/definitions/colorhex", "title": "Fog Color", "description": "The color of the fog" }, "fog_color": { "$ref": "#/definitions/colorhex", "title": "Fog Color", "description": "The color of the fog" },

View File

@@ -30,7 +30,7 @@
}, },
"additionalProperties": { "additionalProperties": {
"additionalProperties": false, "additionalProperties": false,
"title": "Block ", "title": "Block",
"description": "TODO", "description": "TODO",
"type": "object", "type": "object",
"properties": { "properties": {

View File

@@ -19,7 +19,7 @@
"required": ["description"], "required": ["description"],
"properties": { "properties": {
"description": { "description": {
"title": "Description ", "title": "Description",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
"additionalProperties": false, "additionalProperties": false,
@@ -37,7 +37,7 @@
}, },
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" }, "enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": { "geometry": {
"title": "Geometry ", "title": "Geometry",
"description": "The reference to defined geometries in '<resource pack>/models/'", "description": "The reference to defined geometries in '<resource pack>/models/'",
"type": "object", "type": "object",
"propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" }, "propertyNames": { "pattern": "[a-zA-Z0-9_\\.\\-]+" },
@@ -138,7 +138,7 @@
"minProperties": 1, "minProperties": 1,
"propertyNames": { "pattern": "variable.[a-zA-Z_][a-zA-Z0-9_]*" }, "propertyNames": { "pattern": "variable.[a-zA-Z_][a-zA-Z0-9_]*" },
"additionalProperties": { "additionalProperties": {
"title": "Variable ", "title": "Variable",
"description": " If a variable is public, it can be read by other mobs. See the molang `->` operator for details.", "description": " If a variable is public, it can be read by other mobs. See the molang `->` operator for details.",
"type": "string", "type": "string",
"enum": ["public"] "enum": ["public"]

View File

@@ -21,7 +21,7 @@
"properties": { "properties": {
"description": { "description": {
"additionalProperties": false, "additionalProperties": false,
"title": "Description ", "title": "Description",
"description": "TODO description: description", "description": "TODO description: description",
"type": "object", "type": "object",
"required": ["identifier"], "required": ["identifier"],
@@ -47,7 +47,7 @@
}, },
"enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" }, "enable_attachables": { "type": "boolean", "description": "TODO description: enable attachables", "title": "Enable Attachables" },
"geometry": { "geometry": {
"title": "Geometry ", "title": "Geometry",
"type": "object", "type": "object",
"minProperties": 1, "minProperties": 1,
"additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" }, "additionalProperties": { "type": "string", "description": "TODO description: additionalProperties", "title": "TODO" },

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.resource.1.16.100.resource", "$id": "blockception.minecraft.resource.1.16.100.resource",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,
"title": "Fog ", "title": "Fog",
"description": "TODO", "description": "TODO",
"definitions": { "definitions": {
"colorHexOrArray": { "colorHexOrArray": {

View File

@@ -3,7 +3,7 @@
"$id": "blockception.minecraft.resource.particle.1.10.0.emitter_local_space", "$id": "blockception.minecraft.resource.particle.1.10.0.emitter_local_space",
"type": "object", "type": "object",
"title": "Emitter Local Space Component For 1.10.0", "title": "Emitter Local Space Component For 1.10.0",
"description": "TODO description: ", "description": "TODO description:",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"position": { "type": "boolean", "description": "TODO description: position", "title": "Position" }, "position": { "type": "boolean", "description": "TODO description: position", "title": "Position" },

View File

@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema", "$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_expression", "$id": "blockception.minecraft.resource.particle.1.10.0.particle_lifetime_expression",
"type": "object", "type": "object",
"description": "TODO description: ", "description": "TODO description:",
"title": "Particle Lifetime Expression Component For 1.10.0", "title": "Particle Lifetime Expression Component For 1.10.0",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {

View File

@@ -121,6 +121,6 @@
"title": "Particle Effect" "title": "Particle Effect"
} }
}, },
"description": "TODO description: ", "description": "TODO description:",
"title": "TODO Title" "title": "TODO Title"
} }

View File

@@ -29,6 +29,6 @@
"title": "Particle Effect" "title": "Particle Effect"
} }
}, },
"description": "TODO description: ", "description": "TODO description:",
"title": "TODO Title" "title": "TODO Title"
} }

View File

@@ -35,7 +35,7 @@
] ]
}, },
"sound_event": { "sound_event": {
"title": "Sound Event ", "title": "Sound Event",
"description": "A single sound event definition", "description": "A single sound event definition",
"oneOf": [ "oneOf": [
{ "type": "string" }, { "type": "string" },
@@ -69,7 +69,7 @@
"description": "Block sound definitions", "description": "Block sound definitions",
"additionalProperties": { "additionalProperties": {
"type": "object", "type": "object",
"title": "Block Sound ", "title": "Block Sound",
"description": "A single block sound definition", "description": "A single block sound definition",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
@@ -113,7 +113,7 @@
"description": "Block sound definitions", "description": "Block sound definitions",
"additionalProperties": { "additionalProperties": {
"type": "object", "type": "object",
"title": "Block Sound ", "title": "Block Sound",
"description": "A single block sound definition", "description": "A single block sound definition",
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
@@ -124,7 +124,7 @@
"title": "Events", "title": "Events",
"propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] }, "propertyNames": { "enum": ["default", "fall", "step", "hit", "jump", "land"] },
"additionalProperties": { "additionalProperties": {
"title": "Sound Event ", "title": "Sound Event",
"description": "A single sound event definition", "description": "A single sound event definition",
"oneOf": [ "oneOf": [
{ "type": "string" }, { "type": "string" },

View File

@@ -18,7 +18,7 @@
"additionalItems": false, "additionalItems": false,
"type": "object", "type": "object",
"$id": "#/Sound", "$id": "#/Sound",
"title": "Sound ", "title": "Sound",
"required": ["sounds"], "required": ["sounds"],
"properties": { "properties": {
"category": { "category": {

View File

@@ -17,7 +17,7 @@
"additionalItems": false, "additionalItems": false,
"type": "object", "type": "object",
"$id": "#/Sound", "$id": "#/Sound",
"title": "Sound ", "title": "Sound",
"required": ["sounds"], "required": ["sounds"],
"properties": { "properties": {
"category": { "category": {

View File

@@ -17,7 +17,7 @@
"title": "Skins", "title": "Skins",
"description": "An array of item", "description": "An array of item",
"items": { "items": {
"title": "Skin ", "title": "Skin",
"description": "A single skin definition", "description": "A single skin definition",
"additionalProperties": false, "additionalProperties": false,
"required": ["localization_name", "geometry", "texture", "type"], "required": ["localization_name", "geometry", "texture", "type"],