From 5faced44d368c92aa2bfa36a127659a52d75f61d Mon Sep 17 00:00:00 2001 From: Blockception Bot Date: Sun, 31 Oct 2021 16:29:41 +0000 Subject: [PATCH] auto: Generated Json Schemas --- resource/render_controllers/render_controllers.json | 2 +- resource/sounds/sound_definitions.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/render_controllers/render_controllers.json b/resource/render_controllers/render_controllers.json index 753f062c..09379c38 100644 --- a/resource/render_controllers/render_controllers.json +++ b/resource/render_controllers/render_controllers.json @@ -1 +1 @@ -{"$id":"blockception.minecraft.render_controllers.json","examples":[{"format_version":"1.8.0","render_controllers":{"controller.render.example":{"geometry":"Geometry.default","materials":[{"*":"Material.default"}],"textures":["Texture.default"]}}}],"type":"object","title":"Render Controllers","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.8.0"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/C"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/C"}},{"properties":{"format_version":{"$ref":"#/definitions/D"}}}],"definitions":{"A_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"}]},"B":{"title":"Molang Number","description":"The minecraft molang definition that results in a float","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant"]},"A":{"additionalProperties":false,"type":"object","title":"Render Controllers 1.8.0","description":"Render_Controllers 1.8.0","required":["render_controllers","format_version"],"properties":{"format_version":{"title":"1.8.0 Format Version","type":"string","pattern":"^1.8.0$","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"render_controllers":{"type":"object","propertyNames":{"pattern":"^controller\\.render\\.[a-z\\.]+","examples":["controller.render.example"]},"additionalProperties":{"additionalProperties":false,"type":"object","title":"Render Controller","description":"A single render_controller definition","required":["geometry","materials"],"properties":{"arrays":{"type":"object","title":"Arrays","additionalProperties":false,"description":"A collection of definition of arrays","properties":{"geometries":{"type":"object","minProperties":1,"description":"A collection of Geometry array","title":"Geometries","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Gg]eometry\\..+","description":"A geometry item, must be defined in the entity","title":"Geometry"},"description":"A geometry array definition","title":"Geometries"}},"materials":{"type":"object","minProperties":1,"description":"A collection of materials array","title":"Materials","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Mm]aterial\\..+","description":"A material item, must be defined in the entity","title":"Material"},"description":"A material array definition","title":"Materials"}},"textures":{"type":"object","minProperties":1,"description":"A collection of texture array","title":"Textures","additionalProperties":{"type":"array","description":"Textures","title":"Texture","items":{"type":"string","pattern":"^[Tt]exture\\..+","default":"texture.","description":"An texture item","title":"Texture"}}}}},"color":{"description":"UNDOCUMENTED: color","title":"Color","additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}}},"filter_lighting":{"type":"boolean","description":"UNDOCUMENTED: filter lighting","title":"Filter Lighting"},"geometry":{"type":"string","description":"UNDOCUMENTED: geometry","title":"Geometry"},"ignore_lighting":{"type":"boolean","description":"UNDOCUMENTED: ignore lighting","title":"Ignore Lighting"},"is_hurt_color":{"type":"object","title":"Is Hurt Color","additionalProperties":false,"description":"The color that is overlay when hurt","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}}},"light_color_multiplier":{"$ref":"#/definitions/B","description":"The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)","title":"Light Color Multiplier"},"materials":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":{"type":"string","description":"UNDOCUMENTED: additionalProperties","title":"Material"},"description":"UNDOCUMENTED: materials","title":"Materials"},"description":"UNDOCUMENTED: materials","title":"Materials"},"on_fire_color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}},"description":"UNDOCUMENTED: on fire color","title":"On Fire Color"},"overlay_color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}},"description":"Overlays this color ontop of any rendering parts","title":"Overlay Color"},"part_visibility":{"type":"array","minItems":1,"items":{"description":"A collection of object that describe which bones are hidden or not","title":"Part Visibilty","type":"object","minProperties":1,"additionalProperties":{"oneOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}],"description":"Describes which bones are visible or not, can be a string, boolean or number","title":"Part Visibilty"}},"description":"UNDOCUMENTED: part visibility","title":"Part Visibility"},"textures":{"type":"array","minItems":1,"items":{"type":"string","description":"UNDOCUMENTED: textures","title":"Textures"},"description":"UNDOCUMENTED: textures","title":"Textures"},"uv_anim":{"additionalProperties":false,"type":"object","required":["offset","scale"],"properties":{"offset":{"type":"array","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: offset","title":"Offset"},"description":"UNDOCUMENTED: offset","title":"Offset"},"scale":{"type":"array","description":"UNDOCUMENTED: scale","title":"Scale","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: scale","title":"Scale"}}},"description":"UNDOCUMENTED: uv anim","title":"Uv Anim"}}},"description":"UNDOCUMENTED: render controllers","title":"Render Controllers"}}},"C_color":{"anyOf":[{"type":"number","description":"A color definition as number, between 0 and 1","minimum":0,"maximum":1,"title":"Color Number"},{"type":"string","description":"A color definition in molang, between 0 and 1","title":"Molang Color"}]},"C":{"additionalProperties":false,"type":"object","title":"Render Controllers 1.10.0","description":"Render_controllers 1.10.0","properties":{"format_version":{"title":"1.10.0 Format Version","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"render_controllers":{"type":"object","propertyNames":{"pattern":"^controller\\.render\\.[a-z\\.]+","examples":["controller.render.example"]},"additionalProperties":{"title":"Render Controller","additionalProperties":false,"type":"object","description":"A single render_controller","required":["geometry","materials"],"properties":{"arrays":{"type":"object","title":"Arrays","additionalProperties":false,"description":"A collection of definition of arrays","properties":{"geometries":{"type":"object","minProperties":1,"description":"A collection of Geometry array","title":"Geometries","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Gg]eometry\\..+","description":"A geometry item, must be defined in the entity","title":"Geometry Reference"},"description":"A geometry array definition","title":"Geometries"}},"materials":{"type":"object","minProperties":1,"description":"A collection of materials array","title":"Materials","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Mm]aterial\\..+","description":"A material item, must be defined in the entity","title":"Material"},"description":"A material array definition","title":"Materials"}},"textures":{"type":"object","minProperties":1,"description":"A collection of texture array","title":"Textures","additionalProperties":{"type":"array","description":"Textures","title":"Texture","items":{"type":"string","pattern":"^[Tt]exture\\..+","default":"texture.","description":"An texture item","title":"Texture"}}}}},"color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, between 0 and 1","title":"A"}},"description":"UNDOCUMENTED: color","title":"Color"},"filter_lighting":{"type":"boolean","description":"UNDOCUMENTED: filter lighting","title":"Filter Lighting"},"geometry":{"type":"string","description":"UNDOCUMENTED: geometry","title":"Geometry"},"ignore_lighting":{"type":"boolean","description":"UNDOCUMENTED: ignore lighting","title":"Ignore Lighting"},"is_hurt_color":{"additionalProperties":false,"type":"object","description":"The color to overlay on the entity when hurt","title":"Is Hurt Color","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, between 0 and 1","title":"A"}}},"light_color_multiplier":{"$ref":"#/definitions/B","description":"The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)","title":"Light Color Multiplier"},"materials":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Material"},"description":"UNDOCUMENTED: materials","title":"Materials"},"description":"UNDOCUMENTED: materials","title":"Materials"},"on_fire_color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}},"description":"UNDOCUMENTED: on fire color","title":"On Fire Color"},"overlay_color":{"additionalProperties":false,"type":"object","description":"UNDOCUMENTED: overlay color","title":"Overlay Color","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, between 0 and 1","title":"A"}}},"part_visibility":{"type":"array","minItems":1,"items":{"description":"The object that describe different bone visibility","title":"Part Visibility","type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}},"description":"UNDOCUMENTED: part visibility","title":"Part Visibility"},"textures":{"type":"array","minItems":1,"items":{"type":"string","description":"UNDOCUMENTED: textures","title":"Textures"},"description":"UNDOCUMENTED: textures","title":"Textures"},"uv_anim":{"additionalProperties":false,"type":"object","required":["offset","scale"],"properties":{"offset":{"type":"array","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: offset","title":"Offset"},"description":"UNDOCUMENTED: offset","title":"Offset"},"scale":{"type":"array","description":"UNDOCUMENTED: scale","title":"Scale","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: scale","title":"Scale"}}},"description":"UNDOCUMENTED: uv anim","title":"Uv Anim"}}},"description":"UNDOCUMENTED: render controllers","title":"Render Controllers"}}},"D":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","examples":["1.17.40","1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"]}}} \ No newline at end of file +{"$id":"blockception.minecraft.render_controllers.json","examples":[{"format_version":"1.8.0","render_controllers":{"controller.render.example":{"geometry":"Geometry.default","materials":[{"*":"Material.default"}],"textures":["Texture.default"]}}}],"type":"object","title":"Render Controllers","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","allOf":[{"if":{"properties":{"format_version":{"type":"string","const":"1.8.0"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10"}}},"then":{"$ref":"#/definitions/C"}},{"if":{"properties":{"format_version":{"type":"string","const":"1.10.0"}}},"then":{"$ref":"#/definitions/C"}},{"properties":{"format_version":{"$ref":"#/definitions/D"}}}],"definitions":{"A_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"}]},"B":{"title":"Molang Number","description":"The minecraft molang definition that results in a float","anyOf":[{"type":"string","minLength":0},{"type":"number"}],"examples":[0,"query.variant"]},"A":{"additionalProperties":false,"type":"object","title":"Render Controllers 1.8.0","description":"Render_Controllers 1.8.0","required":["render_controllers","format_version"],"properties":{"format_version":{"title":"1.8.0 Format Version","type":"string","pattern":"^1.8.0$","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"render_controllers":{"type":"object","propertyNames":{"pattern":"^controller\\.render\\.[a-z\\.]+","examples":["controller.render.example"]},"description":"UNDOCUMENTED: render controllers","title":"Render Controllers","additionalProperties":{"additionalProperties":false,"type":"object","title":"Render Controller","description":"A single render_controller definition","required":["geometry","materials"],"properties":{"arrays":{"type":"object","title":"Arrays","additionalProperties":false,"description":"A collection of definition of arrays","properties":{"geometries":{"type":"object","minProperties":1,"description":"A collection of Geometry array","title":"Geometries","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Gg]eometry\\..+","description":"A geometry item, must be defined in the entity","title":"Geometry"},"description":"A geometry array definition","title":"Geometries"}},"materials":{"type":"object","minProperties":1,"description":"A collection of materials array","title":"Materials","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Mm]aterial\\..+","description":"A material item, must be defined in the entity","title":"Material"},"description":"A material array definition","title":"Materials"}},"textures":{"type":"object","minProperties":1,"description":"A collection of texture array","title":"Textures","additionalProperties":{"type":"array","description":"Textures","title":"Texture","items":{"type":"string","pattern":"^[Tt]exture\\..+","default":"texture.","description":"An texture item","title":"Texture"}}}}},"color":{"description":"UNDOCUMENTED: color","title":"Color","additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}}},"filter_lighting":{"type":"boolean","description":"UNDOCUMENTED: filter lighting","title":"Filter Lighting"},"geometry":{"type":"string","description":"UNDOCUMENTED: geometry","title":"Geometry"},"ignore_lighting":{"type":"boolean","description":"UNDOCUMENTED: ignore lighting","title":"Ignore Lighting"},"is_hurt_color":{"type":"object","title":"Is Hurt Color","additionalProperties":false,"description":"The color that is overlay when hurt","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}}},"light_color_multiplier":{"$ref":"#/definitions/B","description":"The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)","title":"Light Color Multiplier"},"materials":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":{"type":"string","description":"UNDOCUMENTED: additionalProperties","title":"Material"},"description":"UNDOCUMENTED: materials","title":"Materials"},"description":"UNDOCUMENTED: materials","title":"Materials"},"on_fire_color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}},"description":"UNDOCUMENTED: on fire color","title":"On Fire Color"},"overlay_color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/A_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/A_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/A_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/A_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}},"description":"Overlays this color ontop of any rendering parts","title":"Overlay Color"},"part_visibility":{"type":"array","minItems":1,"items":{"description":"A collection of object that describe which bones are hidden or not","title":"Part Visibilty","type":"object","minProperties":1,"additionalProperties":{"oneOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}],"description":"Describes which bones are visible or not, can be a string, boolean or number","title":"Part Visibilty"}},"description":"UNDOCUMENTED: part visibility","title":"Part Visibility"},"rebuild_animation_matrices":{"description":"UNDOCUMENTED","title":"Rebuild Animation Matrices","type":"boolean"},"textures":{"type":"array","minItems":1,"items":{"type":"string","description":"UNDOCUMENTED: textures","title":"Textures"},"description":"UNDOCUMENTED: textures","title":"Textures"},"uv_anim":{"additionalProperties":false,"type":"object","required":["offset","scale"],"properties":{"offset":{"type":"array","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: offset","title":"Offset"},"description":"UNDOCUMENTED: offset","title":"Offset"},"scale":{"type":"array","description":"UNDOCUMENTED: scale","title":"Scale","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: scale","title":"Scale"}}},"description":"UNDOCUMENTED: uv anim","title":"Uv Anim"}}}}}},"C_color":{"anyOf":[{"type":"number","description":"A color definition as number, between 0 and 1","minimum":0,"maximum":1,"title":"Color Number"},{"type":"string","description":"A color definition in molang, between 0 and 1","title":"Molang Color"}]},"C":{"additionalProperties":false,"type":"object","title":"Render Controllers 1.10.0","description":"Render_controllers 1.10.0","properties":{"format_version":{"title":"1.10.0 Format Version","type":"string","description":"A version that tells minecraft what type of data format can be expected when reading this file."},"render_controllers":{"type":"object","propertyNames":{"pattern":"^controller\\.render\\.[a-z\\.]+","examples":["controller.render.example"]},"additionalProperties":{"title":"Render Controller","additionalProperties":false,"type":"object","description":"A single render_controller","required":["geometry","materials"],"properties":{"arrays":{"type":"object","title":"Arrays","additionalProperties":false,"description":"A collection of definition of arrays","properties":{"geometries":{"type":"object","minProperties":1,"description":"A collection of Geometry array","title":"Geometries","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Gg]eometry\\..+","description":"A geometry item, must be defined in the entity","title":"Geometry Reference"},"description":"A geometry array definition","title":"Geometries"}},"materials":{"type":"object","minProperties":1,"description":"A collection of materials array","title":"Materials","additionalProperties":{"type":"array","items":{"type":"string","pattern":"^[Mm]aterial\\..+","description":"A material item, must be defined in the entity","title":"Material"},"description":"A material array definition","title":"Materials"}},"textures":{"type":"object","minProperties":1,"description":"A collection of texture array","title":"Textures","additionalProperties":{"type":"array","description":"Textures","title":"Texture","items":{"type":"string","pattern":"^[Tt]exture\\..+","default":"texture.","description":"An texture item","title":"Texture"}}}}},"color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, between 0 and 1","title":"A"}},"description":"UNDOCUMENTED: color","title":"Color"},"filter_lighting":{"type":"boolean","description":"UNDOCUMENTED: filter lighting","title":"Filter Lighting"},"geometry":{"type":"string","description":"UNDOCUMENTED: geometry","title":"Geometry"},"ignore_lighting":{"type":"boolean","description":"UNDOCUMENTED: ignore lighting","title":"Ignore Lighting"},"is_hurt_color":{"additionalProperties":false,"type":"object","description":"The color to overlay on the entity when hurt","title":"Is Hurt Color","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, between 0 and 1","title":"A"}}},"light_color_multiplier":{"$ref":"#/definitions/B","description":"The amount of light that blends into what is being rendered, lower values gives darker rendering, (1 = 100%)","title":"Light Color Multiplier"},"materials":{"type":"array","minItems":1,"items":{"type":"object","additionalProperties":{"type":"string","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Material"},"description":"UNDOCUMENTED: materials","title":"Materials"},"description":"UNDOCUMENTED: materials","title":"Materials"},"on_fire_color":{"additionalProperties":false,"type":"object","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, must result in a float between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, must result in a float between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, must result in a float between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, must result in a float between 0 and 1","title":"A"}},"description":"UNDOCUMENTED: on fire color","title":"On Fire Color"},"overlay_color":{"additionalProperties":false,"type":"object","description":"UNDOCUMENTED: overlay color","title":"Overlay Color","properties":{"r":{"$ref":"#/definitions/C_color","description":"The value of red, between 0 and 1","title":"R"},"g":{"$ref":"#/definitions/C_color","description":"The value of green, between 0 and 1","title":"G"},"b":{"$ref":"#/definitions/C_color","description":"The value of blue, between 0 and 1","title":"B"},"a":{"$ref":"#/definitions/C_color","description":"The value of alpha, between 0 and 1","title":"A"}}},"part_visibility":{"type":"array","minItems":1,"items":{"description":"The object that describe different bone visibility","title":"Part Visibility","type":"object","additionalProperties":{"oneOf":[{"type":"string"},{"type":"boolean"},{"type":"number"}]}},"description":"UNDOCUMENTED: part visibility","title":"Part Visibility"},"textures":{"type":"array","minItems":1,"items":{"type":"string","description":"UNDOCUMENTED: textures","title":"Textures"},"description":"UNDOCUMENTED: textures","title":"Textures"},"uv_anim":{"additionalProperties":false,"type":"object","required":["offset","scale"],"properties":{"offset":{"type":"array","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: offset","title":"Offset"},"description":"UNDOCUMENTED: offset","title":"Offset"},"scale":{"type":"array","description":"UNDOCUMENTED: scale","title":"Scale","minItems":2,"maxItems":2,"items":{"$ref":"#/definitions/B","description":"UNDOCUMENTED: scale","title":"Scale"}}},"description":"UNDOCUMENTED: uv anim","title":"Uv Anim"}}},"description":"UNDOCUMENTED: render controllers","title":"Render Controllers"}}},"D":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","examples":["1.17.40","1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"]}}} \ No newline at end of file diff --git a/resource/sounds/sound_definitions.json b/resource/sounds/sound_definitions.json index 85b50cf8..13c675ea 100644 --- a/resource/sounds/sound_definitions.json +++ b/resource/sounds/sound_definitions.json @@ -1 +1 @@ -{"$id":"blockception.minecraft.sound_definition","type":"object","additionalProperties":false,"title":"Sound File For ","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","definitions":{"SoundPath":{"$id":"SoundFilepath","type":"string","title":"Sound Filepath Schema","description":"The filepath to the sound, starts with `sounds/'","pattern":"(^sounds/.*$|^$)","additionalItems":true,"examples":["sounds/"]},"SoundSpec":{"additionalProperties":false,"type":"object","$id":"#/Sound","title":"Sound","required":["sounds"],"properties":{"__use_legacy_max_distance":{"type":"boolean","title":"Use Legacy Max Distance","description":"UNDOCUMENTED"},"category":{"type":"string","title":"Sound Category","enum":["ambient","block","music","weather","ui","bucket","neutral","player","hostile","record","bottle"],"description":"UNDOCUMENTED: category"},"sounds":{"title":"Sounds","description":"UNDOCUMENTED: sounds","items":{"title":"Sounds","description":"UNDOCUMENTED: sounds","anyOf":[{"$id":"#/Sound/sounds/stringItem","type":"string","$ref":"#/definitions/SoundPath","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"},{"additionalProperties":false,"$id":"#/Sound/sounds/ObjectItem","type":"object","required":["name"],"properties":{"is3D":{"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Is 3D","type":"boolean"},"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":"UNDOCUMENTED: name","title":"Name"},"weight":{"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Weight","type":"integer","minimum":0}},"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"}]}},"max_distance":{"title":"Max Distance","description":"UNDOCUMENTED"}}},"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","examples":["1.17.40","1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"]}},"properties":{"format_version":{"$ref":"#/definitions/A"},"sound_definitions":{"type":"object","additionalProperties":{"$ref":"#/definitions/SoundSpec"},"description":"UNDOCUMENTED: sound definitions","title":"Sound Definitions"},"__use_legacy_max_distance":{"description":"UNDOCUMENTED: use legacy Maximum distance","title":"Use Legacy Maximum Distance","type":"string","enum":["true","false"]}}} \ No newline at end of file +{"$id":"blockception.minecraft.sound_definition","type":"object","additionalProperties":false,"title":"Sound File For ","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","definitions":{"SoundPath":{"$id":"SoundFilepath","type":"string","title":"Sound Filepath Schema","description":"The filepath to the sound, starts with `sounds/'","pattern":"(^sounds/.*$|^$)","additionalItems":true,"examples":["sounds/"]},"SoundSpec":{"additionalProperties":false,"type":"object","$id":"#/Sound","title":"Sound","required":["sounds"],"properties":{"__use_legacy_max_distance":{"type":"boolean","title":"Use Legacy Max Distance","description":"UNDOCUMENTED"},"category":{"type":"string","title":"Sound Category","enum":["ambient","block","music","weather","ui","bucket","neutral","player","hostile","record","bottle"],"description":"UNDOCUMENTED: category"},"sounds":{"title":"Sounds","description":"UNDOCUMENTED: sounds","items":{"title":"Sounds","description":"UNDOCUMENTED: sounds","anyOf":[{"$id":"#/Sound/sounds/stringItem","type":"string","$ref":"#/definitions/SoundPath","description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"},{"additionalProperties":false,"$id":"#/Sound/sounds/ObjectItem","type":"object","required":["name"],"properties":{"is3D":{"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Is 3D","type":"boolean"},"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":"UNDOCUMENTED: name","title":"Name"},"weight":{"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Weight","type":"integer","minimum":0}},"description":"UNDOCUMENTED","$comment":"UNDOCUMENTED","title":"Sounds"}]}},"max_distance":{"title":"Max Distance","description":"UNDOCUMENTED","type":"number","minimum":0}}},"A":{"title":"Format Version","description":"A version that tells minecraft what type of data format can be expected when reading this file.","pattern":"^([1-9]+)\\.([0-9]+)\\.([0-9]+)$","type":"string","examples":["1.17.40","1.17.30","1.17.0","1.16.0","1.15.0","1.14.0","1.13.0","1.12.0","1.10.0","1.8.0"]}},"properties":{"format_version":{"$ref":"#/definitions/A"},"sound_definitions":{"type":"object","additionalProperties":{"$ref":"#/definitions/SoundSpec"},"description":"UNDOCUMENTED: sound definitions","title":"Sound Definitions"},"__use_legacy_max_distance":{"description":"UNDOCUMENTED: use legacy Maximum distance","title":"Use Legacy Maximum Distance","type":"string","enum":["true","false"]}}} \ No newline at end of file