From cb36752e8d47083a3a9075b759bef3d7c4abcf06 Mon Sep 17 00:00:00 2001 From: Orbi-bot Date: Tue, 28 May 2024 06:49:45 +0000 Subject: [PATCH] auto: generated json schemas 2024-05-28 --- general/manifest.json | 2 +- resource/materials/materials.json | 2 +- resource/textures/flipbook_textures.json | 2 +- resource/textures/item_texture.json | 2 +- resource/textures/terrain_texture.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/general/manifest.json b/general/manifest.json index dfebe63e..07c4999f 100644 --- a/general/manifest.json +++ b/general/manifest.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.manifest","type":"object","title":"Manifest Schema","description":"The minecraft manifest schema.","required":["format_version","header"],"examples":[{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"UUID2","min_engine_version":[1,20,40],"version":[1,0,0]},"modules":[{"type":"data","uuid":"UUID2","version":[1,0,0]}]}],"defaultSnippets":[{"label":"New Manifest","body":{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"$UUID","min_engine_version":[1,20,10],"version":[1,0,0]},"modules":[{"type":"data","uuid":"$UUID","version":[1,0,0]}]}}],"allOf":[{"if":{"properties":{"format_version":{"const":1,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"const":2,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/E"}}],"definitions":{"B":{"description":"A valid UUID v4.","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","title":"A UUID Format V4","type":"string","defaultSnippets":[{"label":"new UUID v4","body":"$UUID"}]},"C":{"type":"array","title":"Version Numbering","description":"A version made of 3 numbers.","examples":[[1,0,0]],"items":[{"type":"number","minimum":1,"title":""},{"type":"number","minimum":0,"title":"Major"},{"type":"number","minimum":0,"title":"Minor"}]},"D":{"title":"Semantic Version","description":"A semver.org compliant version number.","type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$","minLength":5,"maxLength":256,"examples":["1.0.0","1.1.0-beta"]},"A":{"type":"object","title":"Manifest V1 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","additionalProperties":false,"required":["format_version","header"],"properties":{"format_version":{"type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to","title":"Format Version"},"header":{"required":["name","uuid","version"],"properties":{"name":{"type":"string","default":0,"description":"This is the name of the pack as it appears within Minecraft.","title":"Name"},"description":{"type":"string","default":0,"description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines.","title":"Description"},"uuid":{"type":"string","$ref":"#/definitions/B","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)","title":"UUID"},"version":{"title":"Version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision].","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]},"min_engine_version":{"type":"string","$ref":"#/definitions/C","description":"This is the minimum version of the game that this pack was written for. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs","title":"Minimum Engine Version"},"lock_template_options":{"type":"boolean","description":"UNDOCUMENTED: lock template options.","title":"Lock Template Options"},"base_game_version":{"$ref":"#/definitions/C","description":"UNDOCUMENTED: base game version.","title":"Base Game Version"}},"description":"UNDOCUMENTED: header.","title":"Header"},"modules":{"type":"array","title":"Modules","items":{"additionalProperties":false,"type":"object","description":"UNDOCUMENTED: modules.","title":"Modules","required":["type","uuid","version"],"properties":{"type":{"description":"This is the type of the module. Can be any of the following: resources, data, client_data, interface, world_template","type":"string","enum":["resources","data","client_data","interface","world_template","skin_pack"],"title":"Type"},"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description","default":""},"uuid":{"$ref":"#/definitions/B","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"UUID"},"version":{"title":"Version","description":"This is the version of the module in the same format as the pack's version in the header. This can be used to further identify changes in your pack","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]}}},"description":"UNDOCUMENTED: modules."},"dependencies":{"type":"array","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","items":{"additionalProperties":false,"type":"object","properties":{"uuid":{"type":"string","$ref":"#/definitions/B","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"UUID"},"version":{"title":"Version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]}},"description":"UNDOCUMENTED: dependencies.","title":"Dependencies"},"title":"Dependencies"},"capabilities":{"type":"object","title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","properties":{"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI.","title":"Experimental Custom Ui"},"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality.","title":"Chemistry"}}},"metadata":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack.","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack."}},"license":{"type":"string","description":"The license of the pack.","title":"License"},"url":{"type":"string","description":"The home website of your pack.","title":"Url"},"description":"UNDOCUMENTED: metadata.","title":"Metadata"}}},"F":{"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","default":"1.20.81","examples":["1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"E":{"type":"object","title":"Manifest V2 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","required":["format_version","header"],"additionalProperties":false,"properties":{"format_version":{"title":"Format Version","type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to"},"capabilities":{"title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","oneOf":[{"type":"array","minItems":1,"items":{"enum":["raytraced","pbr","script_eval","editorExtension","experimental_custom_ui","chemistry"]}},{"type":"object","properties":{"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality.","title":"Chemistry"},"editorExtension":{"type":"boolean","description":"Indicates that this pack contains extensions for editing.","title":"Editor Extension"},"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI.","title":"Experimental Custom Ui"},"raytraced":{"type":"boolean","description":"Indicates that this pack contains Raytracing Enhanced or Physical Based Materials for rendering.","title":"Raytraced"}}}]},"dependencies":{"type":"array","title":"Dependencies","description":"Section containing definitions for any other packs or modules that are required in order for this manifest.json file to work.","items":{"oneOf":[{"additionalProperties":false,"type":"object","title":"Dependency","description":"Section containing definitions for any other packs that are required in order for this manifest.json file to work.","properties":{"uuid":{"type":"string","$ref":"#/definitions/B","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"Uuid"},"version":{"title":"Version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/F"}]}}},{"additionalProperties":false,"type":"object","title":"Dependency","description":"Section containing definitions for any other packs or modules that are required in order for this manifest.json file to work.","properties":{"module_name":{"type":"string","description":"This is the name of the module that this pack depends on.","title":"Module Name","examples":["@minecraft/server","@minecraft/server-editor","@minecraft/server-ui","@minecraft/server-gametest","@minecraft/server-admin","@minecraft/server-net"]},"version":{"title":"Version","description":"This is the specific version of the module that your pack depends on.","$ref":"#/definitions/D","default":"1.9.0","examples":["1.10.0-beta","1.10.0","1.9.0","1.8.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.2.0-beta","1.1.0","1.0.0"]}}}]}},"header":{"description":"Section containing information regarding the name of the pack, description, and other features that are public facing.","title":"Header","required":["description","name","uuid","version"],"properties":{"allow_random_seed":{"title":"Allow Random Seed","type":"boolean","description":"This option is required for any world templates. This will allow the player to use a random seed when creating a new world from your template."},"base_game_version":{"$ref":"#/definitions/C","title":"Base Game Version","description":"This is the version of the base game your world template requires, specified as [majorVersion, minorVersion, revision]. We use this to determine what version of the base game resource and behavior packs to apply when your content is used."},"description":{"title":"Description","type":"string","default":"","description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines."},"lock_template_options":{"title":"Lock Template Options","type":"boolean","description":"This option is required for any world templates. This will lock the player from modifying the options of the world."},"min_engine_version":{"title":"Minimum Engine Version","$ref":"#/definitions/C","description":"This is the minimum version of the game that this pack was written for. This is a required field for resource and behavior packs. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs"},"name":{"title":"Name","type":"string","description":"This is the name of the pack as it appears within Minecraft. This is a required field."},"pack_scope":{"title":"Pack Scope","type":"string","description":"This is the scope of the pack. This is only for resource packs","enum":["global","world","any"]},"uuid":{"title":"UUID","$ref":"#/definitions/B","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)"},"version":{"title":"Version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision].","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]}}},"modules":{"type":"array","title":"Modules","description":"Section containing information regarding the type of content that is being brought in.","items":{"type":"object","additionalProperties":false,"description":"Section containing information regarding the type of content that is being brought in.","title":"Module","required":["type","uuid","version"],"properties":{"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description"},"type":{"type":"string","enum":["resources","data","client_data","interface","world_template","javascript","script"],"description":"This is the type of the module.","title":"Type"},"language":{"type":"string","title":"Language","description":"The programming language to use.","enum":["javascript","Javascript"]},"uuid":{"$ref":"#/definitions/B","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"Uuid"},"version":{"title":"Version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision]. The version number is used when importing a pack that has been imported before. The new pack will replace the old one if the version is higher, and ignored if it's the same or lower","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]},"entry":{"type":"string","title":"Entry","description":"The javascript entry point for tests, only works if types has been set to `javascript`."}}}},"metadata":{"additionalProperties":false,"type":"object","description":"Section containing the metadata about the file such as authors and licensing information.","title":"Metadata","properties":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack.","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack."}},"generated_with":{"title":"Generated With","description":"A list of tools and their version that have modified this pack.","type":"object","propertyNames":{"pattern":"^[a-zA-Z0-9\\_\\-]+$","maxLength":32},"additionalProperties":{"type":"array","examples":[["1.0.0"]],"title":"Tool","description":"The tool and the version used to modified this pack.","items":{"title":"Version","$ref":"#/definitions/D"}}},"license":{"type":"string","title":"License","description":"The license of the pack."},"product_type":{"type":"string","title":"Product Type","description":"The type of product this pack is. This is used to determine how the pack is displayed in the store.","enum":["","addon"]},"url":{"type":"string","format":"uri","title":"Url","description":"The home website of your pack."}}},"subpacks":{"type":"array","title":"Subpacks","description":"A list of subpacks that are applied per memory tier.","items":{"type":"object","additionalProperties":false,"description":"A single definition of a subpack.","title":"Subpacks","required":["folder_name","name","memory_tier"],"example":[{"folder_name":"tier1","name":"low","memory_tier":1}],"properties":{"folder_name":{"type":"string","description":"This represents the folder name located in \"subpacks\" folder. When user select this resolution Minecraft loads the content inside the folder.","title":"Folder Name"},"name":{"type":"string","description":"This is the name of the pack resolution. This lets user know what resolution they are choosing.","title":"Name"},"memory_tier":{"type":"number","title":"Memory Tier","description":"This creates a requirement on the capacity of memory needed to select the resolution. Each tier increases memory requirement by 256 MB."}}}}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.manifest","type":"object","title":"Manifest Schema","description":"The minecraft manifest schema.","required":["format_version","header"],"examples":[{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"UUID2","min_engine_version":[1,20,40],"version":[1,0,0]},"modules":[{"type":"data","uuid":"UUID2","version":[1,0,0]}]}],"defaultSnippets":[{"label":"New Manifest","body":{"format_version":2,"header":{"description":"pack.description","name":"pack.name","uuid":"$UUID","min_engine_version":[1,20,10],"version":[1,0,0]},"modules":[{"type":"data","uuid":"$UUID","version":[1,0,0]}]}}],"allOf":[{"if":{"properties":{"format_version":{"const":1,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/A"}},{"if":{"properties":{"format_version":{"const":2,"type":"number","title":"Format Version"}}},"then":{"$ref":"#/definitions/E"}}],"definitions":{"B":{"description":"A valid UUID v4.","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","title":"A UUID Format V4","type":"string","defaultSnippets":[{"label":"new UUID v4","body":"$UUID"}]},"C":{"type":"array","title":"Version Numbering","description":"A version made of 3 numbers.","examples":[[1,0,0]],"items":[{"type":"number","minimum":1,"title":""},{"type":"number","minimum":0,"title":"Major"},{"type":"number","minimum":0,"title":"Minor"}]},"D":{"title":"Semantic Version","description":"A semver.org compliant version number.","type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$","minLength":5,"maxLength":256,"examples":["1.0.0","1.1.0-beta"]},"A":{"type":"object","title":"Manifest V1 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","additionalProperties":false,"required":["format_version","header"],"properties":{"format_version":{"type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to","title":"Format Version"},"header":{"required":["name","uuid","version"],"properties":{"name":{"type":"string","default":0,"description":"This is the name of the pack as it appears within Minecraft.","title":"Name"},"description":{"type":"string","default":0,"description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines.","title":"Description"},"uuid":{"type":"string","$ref":"#/definitions/B","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)","title":"UUID"},"version":{"title":"Version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision].","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]},"min_engine_version":{"type":"string","$ref":"#/definitions/C","description":"This is the minimum version of the game that this pack was written for. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs","title":"Minimum Engine Version"},"pack_scope":{"title":"Pack Scope","type":"string","description":"This is the scope of the pack. This is only for resource packs","enum":["global","world","any"]},"lock_template_options":{"type":"boolean","description":"UNDOCUMENTED: lock template options.","title":"Lock Template Options"},"base_game_version":{"$ref":"#/definitions/C","description":"UNDOCUMENTED: base game version.","title":"Base Game Version"}},"description":"UNDOCUMENTED: header.","title":"Header"},"modules":{"type":"array","title":"Modules","items":{"additionalProperties":false,"type":"object","description":"UNDOCUMENTED: modules.","title":"Modules","required":["type","uuid","version"],"properties":{"type":{"description":"This is the type of the module. Can be any of the following: resources, data, client_data, interface, world_template","type":"string","enum":["resources","data","client_data","interface","world_template","skin_pack"],"title":"Type"},"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description","default":""},"uuid":{"$ref":"#/definitions/B","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"UUID"},"version":{"title":"Version","description":"This is the version of the module in the same format as the pack's version in the header. This can be used to further identify changes in your pack","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]}}},"description":"UNDOCUMENTED: modules."},"dependencies":{"type":"array","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","items":{"additionalProperties":false,"type":"object","properties":{"uuid":{"type":"string","$ref":"#/definitions/B","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"UUID"},"version":{"title":"Version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]}},"description":"UNDOCUMENTED: dependencies.","title":"Dependencies"},"title":"Dependencies"},"capabilities":{"type":"object","title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","properties":{"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI.","title":"Experimental Custom Ui"},"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality.","title":"Chemistry"}}},"metadata":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack.","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack."}},"license":{"type":"string","description":"The license of the pack.","title":"License"},"url":{"type":"string","description":"The home website of your pack.","title":"Url"},"description":"UNDOCUMENTED: metadata.","product_type":{"type":"string","title":"Product Type","description":"The type of product this pack is. This is used to determine how the pack is displayed in the store.","enum":["","addon"]},"title":"Metadata"}}},"F":{"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","default":"1.20.81","examples":["1.20.81","1.20.40","1.19.0","1.12.0","1.10.0","1.8.0"],"defaultSnippets":[{"label":"New Format version","body":"1.${1|8,10,12,17,18,19,20|}.${3|2|0|}"}]},"E":{"type":"object","title":"Manifest V2 Schema","description":"The manifest file contains all the basic information about the pack that Minecraft needs to identify it. The tables below contain all the components of the manifest, their individual properties, and what they mean.","required":["format_version","header"],"additionalProperties":false,"properties":{"format_version":{"title":"Format Version","type":"number","description":"This defines the current version of the manifest. Don't change this unless you have a good reason to"},"capabilities":{"title":"Capabilities","description":"These are the different features that the pack makes use of that aren't necessarily enabled by default.","oneOf":[{"type":"array","minItems":1,"items":{"enum":["raytraced","pbr","script_eval","editorExtension","experimental_custom_ui","chemistry"]}},{"type":"object","properties":{"chemistry":{"type":"boolean","description":"Allows the pack to add, change or replace Chemistry functionality.","title":"Chemistry"},"editorExtension":{"type":"boolean","description":"Indicates that this pack contains extensions for editing.","title":"Editor Extension"},"experimental_custom_ui":{"type":"boolean","description":"Allows HTML files in the pack to be used for custom UI, and scripts in the pack to call and manipulate custom UI.","title":"Experimental Custom Ui"},"raytraced":{"type":"boolean","description":"Indicates that this pack contains Raytracing Enhanced or Physical Based Materials for rendering.","title":"Raytraced"}}}]},"dependencies":{"type":"array","title":"Dependencies","description":"Section containing definitions for any other packs or modules that are required in order for this manifest.json file to work.","items":{"oneOf":[{"additionalProperties":false,"type":"object","title":"Dependency","description":"Section containing definitions for any other packs that are required in order for this manifest.json file to work.","properties":{"uuid":{"type":"string","$ref":"#/definitions/B","description":"This is the unique identifier of the pack that this pack depends on. It needs to be the exact same UUID that the pack has defined in the header section of it's manifest file","title":"Uuid"},"version":{"title":"Version","description":"This is the specific version of the pack that your pack depends on. Should match the version the other pack has in its manifest file","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/F"}]}}},{"additionalProperties":false,"type":"object","title":"Dependency","description":"Section containing definitions for any other packs or modules that are required in order for this manifest.json file to work.","properties":{"module_name":{"type":"string","description":"This is the name of the module that this pack depends on.","title":"Module Name","examples":["@minecraft/server","@minecraft/server-editor","@minecraft/server-ui","@minecraft/server-gametest","@minecraft/server-admin","@minecraft/server-net"]},"version":{"title":"Version","description":"This is the specific version of the module that your pack depends on.","$ref":"#/definitions/D","default":"1.9.0","examples":["1.10.0-beta","1.10.0","1.9.0","1.8.0","1.7.0","1.6.0","1.5.0","1.4.0","1.3.0","1.2.0","1.2.0-beta","1.1.0","1.0.0"]}}}]}},"header":{"description":"Section containing information regarding the name of the pack, description, and other features that are public facing.","title":"Header","required":["description","name","uuid","version"],"properties":{"allow_random_seed":{"title":"Allow Random Seed","type":"boolean","description":"This option is required for any world templates. This will allow the player to use a random seed when creating a new world from your template."},"base_game_version":{"$ref":"#/definitions/C","title":"Base Game Version","description":"This is the version of the base game your world template requires, specified as [majorVersion, minorVersion, revision]. We use this to determine what version of the base game resource and behavior packs to apply when your content is used."},"description":{"title":"Description","type":"string","default":"","description":"This is a short description of the pack. It will appear in the game below the name of the pack. We recommend keeping it to 1-2 lines."},"lock_template_options":{"title":"Lock Template Options","type":"boolean","description":"This option is required for any world templates. This will lock the player from modifying the options of the world."},"min_engine_version":{"title":"Minimum Engine Version","$ref":"#/definitions/C","description":"This is the minimum version of the game that this pack was written for. This is a required field for resource and behavior packs. This helps the game identify whether any backwards compatibility is needed for your pack. You should always use the highest version currently available when creating packs"},"name":{"title":"Name","type":"string","description":"This is the name of the pack as it appears within Minecraft. This is a required field."},"pack_scope":{"title":"Pack Scope","type":"string","description":"This is the scope of the pack. This is only for resource packs","enum":["global","world","any"]},"uuid":{"title":"UUID","$ref":"#/definitions/B","description":"This is a special type of identifier that uniquely identifies this pack from any other pack. UUIDs are written in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx where each x is a hexadecimal value (0-9 or a-f). We recommend using an online service to generate this and guarantee their uniqueness (just bing UUID Generator to find some)"},"version":{"title":"Version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision].","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]}}},"modules":{"type":"array","title":"Modules","description":"Section containing information regarding the type of content that is being brought in.","items":{"type":"object","additionalProperties":false,"description":"Section containing information regarding the type of content that is being brought in.","title":"Module","required":["type","uuid","version"],"properties":{"description":{"type":"string","description":"This is a short description of the module. This is not user-facing at the moment but is a good place to remind yourself why the module is defined","title":"Description"},"type":{"type":"string","enum":["resources","data","client_data","interface","world_template","javascript","script"],"description":"This is the type of the module.","title":"Type"},"language":{"type":"string","title":"Language","description":"The programming language to use.","enum":["javascript","Javascript"]},"uuid":{"$ref":"#/definitions/B","description":"This is a unique identifier for the module in the same format as the pack's UUID in the header. This should be different from the pack's UUID, and different for every module","title":"Uuid"},"version":{"title":"Version","description":"This is the version of your pack in the format [majorVersion, minorVersion, revision]. The version number is used when importing a pack that has been imported before. The new pack will replace the old one if the version is higher, and ignored if it's the same or lower","oneOf":[{"$ref":"#/definitions/C"},{"$ref":"#/definitions/D"}]},"entry":{"type":"string","title":"Entry","description":"The javascript entry point for tests, only works if types has been set to `javascript`."}}}},"metadata":{"additionalProperties":false,"type":"object","description":"Section containing the metadata about the file such as authors and licensing information.","title":"Metadata","properties":{"authors":{"title":"Authors","description":"Name of the author(s) of the pack.","type":"array","items":{"type":"string","title":"Name","description":"Name of the author of the pack."}},"generated_with":{"title":"Generated With","description":"A list of tools and their version that have modified this pack.","type":"object","propertyNames":{"pattern":"^[a-zA-Z0-9\\_\\-]+$","maxLength":32},"additionalProperties":{"type":"array","examples":[["1.0.0"]],"title":"Tool","description":"The tool and the version used to modified this pack.","items":{"title":"Version","$ref":"#/definitions/D"}}},"license":{"type":"string","title":"License","description":"The license of the pack."},"product_type":{"type":"string","title":"Product Type","description":"The type of product this pack is. This is used to determine how the pack is displayed in the store.","enum":["","addon"]},"url":{"type":"string","format":"uri","title":"Url","description":"The home website of your pack."}}},"subpacks":{"type":"array","title":"Subpacks","description":"A list of subpacks that are applied per memory tier.","items":{"type":"object","additionalProperties":false,"description":"A single definition of a subpack.","title":"Subpacks","required":["folder_name","name","memory_tier"],"example":[{"folder_name":"tier1","name":"low","memory_tier":1}],"properties":{"folder_name":{"type":"string","description":"This represents the folder name located in \"subpacks\" folder. When user select this resolution Minecraft loads the content inside the folder.","title":"Folder Name"},"name":{"type":"string","description":"This is the name of the pack resolution. This lets user know what resolution they are choosing.","title":"Name"},"memory_tier":{"type":"number","title":"Memory Tier","description":"This creates a requirement on the capacity of memory needed to select the resolution. Each tier increases memory requirement by 256 MB."}}}}}}}} \ No newline at end of file diff --git a/resource/materials/materials.json b/resource/materials/materials.json index 3b4fe020..8f4765e5 100644 --- a/resource/materials/materials.json +++ b/resource/materials/materials.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.materials","type":"object","title":"Material","description":"A collection of material specifications for the render engine of minecraft.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":["materials"],"definitions":{"DefinesSpecification":{"type":"array","title":"Defines","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"string","title":"Definition","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","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":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Keep","Replace"]},"FaceSpecification":{"type":"object","title":"Face","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"stencilDepthFailOp":{"type":"string","title":"Stencil Depth Fail Operation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FailOperation"},"stencilFailOp":{"type":"string","title":"Stencil Fail Operation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FailOperation"},"stencilFunc":{"type":"string","title":"Stencil Function","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Always","Equal","NotEqual"]},"stencilPass":{"type":"string","title":"Stencil Pass","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Replace"]},"stencilPassOp":{"type":"string","title":"Stencil Depth Fail Operation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FailOperation"}}},"StatesSpecification":{"type":"array","title":"States","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"string","title":"State","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Blending","DisableAlphaWrite","DisableColorWrite","DisableCulling","DisableDepthTest","DisableDepthWrite","EnableAlphaToCoverage","EnableStencilTest","InvertCulling","StencilWrite"]}},"SamplerStatesSpecification":{"type":"array","title":"Sampler States","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Sample State","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"samplerIndex":{"type":"integer","title":"Sample State","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"textureFilter":{"type":"string","title":"Texture Filter","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Point","Bilinear","TexelAA"]},"textureWrap":{"type":"string","title":"Texture Wrap","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Repeat","Clamp"]}}}},"VertexFieldsSpecification":{"type":"array","title":"Vertex Fields","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Vertex Field","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"field":{"type":"string","title":"Vertex Field","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}}},"VariantSpecification":{"type":"array","title":"Variants","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variant","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","propertyNames":{"enum":["fading","fog","fog.underwater","lit","skinning","skinning_color","underlava","underwater"]},"additionalProperties":{"title":"Variant Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/VariantsItemSpecificaiton"}}},"VariantsItemSpecificaiton":{"type":"object","title":"Variant Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"+defines":{"title":"Defines","description":"UNDOCUMENTED, Add definitions???.","$ref":"#/definitions/DefinesSpecification"},"vertexFields":{"title":"Vertex Fields","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/VertexFieldsSpecification"},"states":{"title":"States","description":"UNDOCUMENTED, start states???.","$ref":"#/definitions/StatesSpecification"},"+states":{"title":"States","description":"UNDOCUMENTED, Add additional states???.","$ref":"#/definitions/StatesSpecification"},"-states":{"title":"States","description":"UNDOCUMENTED, remove additional states???.","$ref":"#/definitions/StatesSpecification"}}}},"properties":{"materials":{"type":"object","title":"Materials","description":"The collection of materials, each property key is the identification key of the material, and what it implements if : are used.","$comment":"UNDOCUMENTED","required":["version"],"properties":{"version":{"type":"string","const":"1.0.0","title":"Version","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"additionalProperties":{"title":"Material Definitions","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"type":"object","properties":{"alphaDst":{"type":"string","title":"Alpha Distance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["DestColor","OneMinusSrcAlpha"]},"backFace":{"title":"Back Face","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FaceSpecification"},"blendDst":{"type":"string","title":"Blend Distance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["SourceAlpha","OneMinusSrcAlpha","OneMinusSrcColor","SourceColor","Zero","One"]},"blendSrc":{"type":"string","title":"Blend Source","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["DestColor","One","OneMinusDestColor","SourceAlpha","SourceColor"]},"defines":{"title":"Defines","description":"UNDOCUMENTED, sets or starts definitions???.","$ref":"#/definitions/DefinesSpecification"},"+defines":{"title":"Defines","description":"UNDOCUMENTED, Add definitions???.","$ref":"#/definitions/DefinesSpecification"},"-defines":{"title":"Defines","description":"UNDOCUMENTED, removes definitions???.","$ref":"#/definitions/DefinesSpecification"},"depthBias":{"type":"number","title":"Depth Bias","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"depthBiasOGL":{"type":"number","title":"Depth Bias OGL","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"depthFunc":{"type":"string","title":"Depth Function","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["LessEqual","Always","Equal"]},"fragmentShader":{"type":"string","title":"Fragment Shader","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^shaders/.*\\.fragment$"},"frontFace":{"title":"Front Face","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FaceSpecification"},"isAnimatedTexture":{"type":"integer","title":"Is Animated Texture","description":"UNDOCUMENTED, think its a boolean value as a number, so 1 and 0????."},"msaaSupport":{"type":"string","title":"MSAA Support","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Both","MSAA"]},"primitiveMode":{"type":"string","title":"Primitive Mode","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Line"]},"samplerStates":{"title":"Sampler States","description":"UNDOCUMENTED, set or start samplerStates???.","$ref":"#/definitions/SamplerStatesSpecification"},"+samplerStates":{"title":"Sampler States","description":"UNDOCUMENTED, Add samplerStates???.","$ref":"#/definitions/SamplerStatesSpecification"},"slopeScaledDepthBias":{"type":"number","title":"Slope Scaled Depth Bias","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"slopeScaledDepthBiasOGL":{"type":"number","title":"Slope Scaled Depth Bias OGL","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"states":{"title":"States","description":"UNDOCUMENTED, start states???.","$ref":"#/definitions/StatesSpecification"},"+states":{"title":"States","description":"UNDOCUMENTED, Add additional states???.","$ref":"#/definitions/StatesSpecification"},"-states":{"title":"States","description":"UNDOCUMENTED, remove additional states???.","$ref":"#/definitions/StatesSpecification"},"stencilRef":{"type":"integer","title":"Stencil Ref","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"stencilRefOverride":{"type":"integer","title":"Stencil Ref Override","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"stencilReadMask":{"type":"integer","title":"Stencil Read Mask","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"stencilWriteMask":{"type":"integer","title":"Stencil Write Mask","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"variants":{"title":"Variants","description":"UNDOCUMENTED, sets the variants?.","$ref":"#/definitions/VariantSpecification"},"+variants":{"title":"Variants","description":"UNDOCUMENTED, adds variants?.","$ref":"#/definitions/VariantSpecification"},"vertexFields":{"title":"Vertex Fields","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/VertexFieldsSpecification"},"vertexShader":{"type":"string","title":"Vertex Shader","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^shaders/.*\\.vertex$"},"vrGeometryShader":{"type":"string","title":"VR Geometry Shader","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^shaders/.*\\.geometry$"}}}}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.materials","type":"object","title":"Material","description":"A collection of material specifications for the render engine of minecraft.","$comment":"UNDOCUMENTED","additionalProperties":false,"required":["materials"],"definitions":{"DefinesSpecification":{"type":"array","title":"Defines","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"string","title":"Definition","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","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","FANCY","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":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Keep","Replace"]},"FaceSpecification":{"type":"object","title":"Face","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"stencilDepthFailOp":{"type":"string","title":"Stencil Depth Fail Operation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FailOperation"},"stencilFailOp":{"type":"string","title":"Stencil Fail Operation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FailOperation"},"stencilFunc":{"type":"string","title":"Stencil Function","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Always","Equal","NotEqual"]},"stencilPass":{"type":"string","title":"Stencil Pass","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Replace"]},"stencilPassOp":{"type":"string","title":"Stencil Depth Fail Operation","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FailOperation"}}},"StatesSpecification":{"type":"array","title":"States","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"string","title":"State","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Blending","DisableAlphaWrite","DisableColorWrite","DisableCulling","DisableDepthTest","DisableDepthWrite","EnableAlphaToCoverage","EnableStencilTest","InvertCulling","StencilWrite"]}},"SamplerStatesSpecification":{"type":"array","title":"Sampler States","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Sample State","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"samplerIndex":{"type":"integer","title":"Sample State","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"textureFilter":{"type":"string","title":"Texture Filter","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Point","Bilinear","TexelAA"]},"textureWrap":{"type":"string","title":"Texture Wrap","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Repeat","Clamp"]}}}},"VertexFieldsSpecification":{"type":"array","title":"Vertex Fields","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Vertex Field","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"field":{"type":"string","title":"Vertex Field","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}}},"VariantSpecification":{"type":"array","title":"Variants","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variant","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","propertyNames":{"enum":["fading","fog","fog.underwater","lit","skinning","skinning_color","underlava","underwater"]},"additionalProperties":{"title":"Variant Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/VariantsItemSpecificaiton"}}},"VariantsItemSpecificaiton":{"type":"object","title":"Variant Item","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"properties":{"+defines":{"title":"Defines","description":"UNDOCUMENTED, Add definitions???.","$ref":"#/definitions/DefinesSpecification"},"vertexFields":{"title":"Vertex Fields","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/VertexFieldsSpecification"},"states":{"title":"States","description":"UNDOCUMENTED, start states???.","$ref":"#/definitions/StatesSpecification"},"+states":{"title":"States","description":"UNDOCUMENTED, Add additional states???.","$ref":"#/definitions/StatesSpecification"},"-states":{"title":"States","description":"UNDOCUMENTED, remove additional states???.","$ref":"#/definitions/StatesSpecification"}}}},"properties":{"materials":{"type":"object","title":"Materials","description":"The collection of materials, each property key is the identification key of the material, and what it implements if : are used.","$comment":"UNDOCUMENTED","required":["version"],"properties":{"version":{"type":"string","const":"1.0.0","title":"Version","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}},"additionalProperties":{"title":"Material Definitions","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","additionalProperties":false,"type":"object","properties":{"alphaDst":{"type":"string","title":"Alpha Distance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["DestColor","OneMinusSrcAlpha"]},"backFace":{"title":"Back Face","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FaceSpecification"},"blendDst":{"type":"string","title":"Blend Distance","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["SourceAlpha","OneMinusSrcAlpha","OneMinusSrcColor","SourceColor","Zero","One"]},"blendSrc":{"type":"string","title":"Blend Source","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["DestColor","One","OneMinusDestColor","SourceAlpha","SourceColor"]},"defines":{"title":"Defines","description":"UNDOCUMENTED, sets or starts definitions???.","$ref":"#/definitions/DefinesSpecification"},"+defines":{"title":"Defines","description":"UNDOCUMENTED, Add definitions???.","$ref":"#/definitions/DefinesSpecification"},"-defines":{"title":"Defines","description":"UNDOCUMENTED, removes definitions???.","$ref":"#/definitions/DefinesSpecification"},"depthBias":{"type":"number","title":"Depth Bias","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"depthBiasOGL":{"type":"number","title":"Depth Bias OGL","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"depthFunc":{"type":"string","title":"Depth Function","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["LessEqual","Always","Equal"]},"fragmentShader":{"type":"string","title":"Fragment Shader","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^shaders/.*\\.fragment$"},"frontFace":{"title":"Front Face","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/FaceSpecification"},"isAnimatedTexture":{"type":"integer","title":"Is Animated Texture","description":"UNDOCUMENTED, think its a boolean value as a number, so 1 and 0????."},"msaaSupport":{"type":"string","title":"MSAA Support","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Both","MSAA"]},"primitiveMode":{"type":"string","title":"Primitive Mode","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","enum":["Line"]},"samplerStates":{"title":"Sampler States","description":"UNDOCUMENTED, set or start samplerStates???.","$ref":"#/definitions/SamplerStatesSpecification"},"+samplerStates":{"title":"Sampler States","description":"UNDOCUMENTED, Add samplerStates???.","$ref":"#/definitions/SamplerStatesSpecification"},"slopeScaledDepthBias":{"type":"number","title":"Slope Scaled Depth Bias","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"slopeScaledDepthBiasOGL":{"type":"number","title":"Slope Scaled Depth Bias OGL","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"states":{"title":"States","description":"UNDOCUMENTED, start states???.","$ref":"#/definitions/StatesSpecification"},"+states":{"title":"States","description":"UNDOCUMENTED, Add additional states???.","$ref":"#/definitions/StatesSpecification"},"-states":{"title":"States","description":"UNDOCUMENTED, remove additional states???.","$ref":"#/definitions/StatesSpecification"},"stencilRef":{"type":"integer","title":"Stencil Ref","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"stencilRefOverride":{"type":"integer","title":"Stencil Ref Override","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"stencilReadMask":{"type":"integer","title":"Stencil Read Mask","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"stencilWriteMask":{"type":"integer","title":"Stencil Write Mask","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"variants":{"title":"Variants","description":"UNDOCUMENTED, sets the variants?.","$ref":"#/definitions/VariantSpecification"},"+variants":{"title":"Variants","description":"UNDOCUMENTED, adds variants?.","$ref":"#/definitions/VariantSpecification"},"vertexFields":{"title":"Vertex Fields","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","$ref":"#/definitions/VertexFieldsSpecification"},"vertexShader":{"type":"string","title":"Vertex Shader","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^shaders/.*\\.vertex$"},"vrGeometryShader":{"type":"string","title":"VR Geometry Shader","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^shaders/.*\\.geometry$"}}}}}} \ No newline at end of file diff --git a/resource/textures/flipbook_textures.json b/resource/textures/flipbook_textures.json index a12a1aae..610cd49f 100644 --- a/resource/textures/flipbook_textures.json +++ b/resource/textures/flipbook_textures.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.flipbook","additionalProperties":false,"description":"The file that specifies animated textures.","title":"Flipbook Texture File","type":"array","items":{"additionalProperties":false,"description":"A single flipbook texture.","title":"Flipbook Texture","type":"object","properties":{"atlas_index":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"atlas_tile":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^[a-z0-9_\\-]*$","title":"Atlas Index","type":"string"},"atlas_tile_variant":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"blend_frames":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"boolean"},"flipbook_texture":{"description":"A texture file.","pattern":"^textures/.+$","title":"Flipbook Texture","type":"string"},"frames":{"title":"Frames","description":"The collection of frame index to display.","items":{"description":"The index of the frame.","minimum":0,"title":"Frame Index","type":"integer"},"type":"array"},"replicate":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"ticks_per_frame":{"description":"The amount of ticks to wait between frames.","title":"Ticks Per Frame","type":"integer"}}},"definitions":{}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.flipbook","additionalProperties":false,"description":"The file that specifies animated textures.","title":"Flipbook Texture File","type":"array","items":{"additionalProperties":false,"description":"A single flipbook texture.","title":"Flipbook Texture","type":"object","properties":{"atlas_index":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"atlas_tile":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","pattern":"^[a-z0-9_:\\-]*$","title":"Atlas Index","type":"string"},"atlas_tile_variant":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"blend_frames":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"boolean"},"flipbook_texture":{"description":"A texture file.","pattern":"^textures/.+$","title":"Flipbook Texture","type":"string"},"frames":{"title":"Frames","description":"The collection of frame index to display.","items":{"description":"The index of the frame.","minimum":0,"title":"Frame Index","type":"integer"},"type":"array"},"replicate":{"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Atlas Index","type":"integer"},"ticks_per_frame":{"description":"The amount of ticks to wait between frames.","title":"Ticks Per Frame","type":"integer"}}},"definitions":{}} \ No newline at end of file diff --git a/resource/textures/item_texture.json b/resource/textures/item_texture.json index 8f6524ea..26b86a38 100644 --- a/resource/textures/item_texture.json +++ b/resource/textures/item_texture.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.item_texture","additionalProperties":false,"type":"object","title":"Item Texture File","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","definitions":{"texture":{"oneOf":[{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Texture"},{"type":"object","additionalProperties":false,"description":"A collection of texture files.","title":"Texture","properties":{"overlay_color":{"description":"The color to apply to the texture.","title":"Overlay Color","format":"color-hex","examples":["#FFFFFF"]},"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","format":"color-hex","examples":["#FFFFFF"],"type":"string"},"variations":{"type":"array","title":"Variantions","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variantion","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","required":["path"],"properties":{"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}}}}}]}},"properties":{"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"texture_data":{"title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"description":"A collection of textures.","title":"Texture Data","type":"array","items":{"$ref":"#/definitions/texture"}}]}}}},"texture_name":{"title":"Texture Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.item_texture","additionalProperties":false,"type":"object","title":"Item Texture File","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","definitions":{"texture":{"oneOf":[{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Texture"},{"type":"object","additionalProperties":false,"description":"A collection of texture files.","title":"Texture","properties":{"overlay_color":{"description":"The color to apply to the texture.","title":"Overlay Color","format":"color-hex","examples":["#FFFFFF"]},"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","format":"color-hex","examples":["#FFFFFF"],"type":"string"},"variations":{"type":"array","title":"Variantions","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variantion","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","required":["path"],"properties":{"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"}}}}}}]}},"properties":{"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"texture_data":{"title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","propertyNames":{"pattern":"^[a-z0-9_:\\-]*$"},"additionalProperties":{"title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"object","additionalProperties":false,"properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"description":"A collection of textures.","title":"Texture Data","type":"array","items":{"$ref":"#/definitions/texture"}}]}}}},"texture_name":{"title":"Texture Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","type":"string"}}} \ No newline at end of file diff --git a/resource/textures/terrain_texture.json b/resource/textures/terrain_texture.json index 1002bdf5..ed8a2016 100644 --- a/resource/textures/terrain_texture.json +++ b/resource/textures/terrain_texture.json @@ -1 +1 @@ -{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.terrain_texture","additionalProperties":false,"type":"object","title":"Terrain Texture File","description":"An collection of texture definitions.","$comment":"UNDOCUMENTED","definitions":{"texture":{"oneOf":[{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Texture"},{"type":"object","additionalProperties":false,"description":"A collection of texture files.","title":"Texture","properties":{"overlay_color":{"description":"The color to apply to the texture.","title":"Overlay Color","format":"color-hex","examples":["#FFFFFF"]},"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"The tint color to be applied to the texture.","$comment":"UNDOCUMENTED","format":"color-hex","examples":["#FFFFFF"],"type":"string"},"variations":{"type":"array","title":"Variantions","description":"The possible variations to use for this texture.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variantion","description":"One of the variantions, specified along with a possible weight.","$comment":"UNDOCUMENTED","required":["path"],"properties":{"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"The weight of the texture.","$comment":"UNDOCUMENTED"}}}}}}]}},"properties":{"num_mip_levels":{"type":"integer","title":"Num Mip Levels","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"padding":{"type":"integer","title":"Padding","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[\\w_\\-\\.]+$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Texture Data"},"texture_name":{"type":"string","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Texture Name"}}} \ No newline at end of file +{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.resource.texture.terrain_texture","additionalProperties":false,"type":"object","title":"Terrain Texture File","description":"An collection of texture definitions.","$comment":"UNDOCUMENTED","definitions":{"texture":{"oneOf":[{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Texture"},{"type":"object","additionalProperties":false,"description":"A collection of texture files.","title":"Texture","properties":{"overlay_color":{"description":"The color to apply to the texture.","title":"Overlay Color","format":"color-hex","examples":["#FFFFFF"]},"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"tint_color":{"title":"Tint Color","description":"The tint color to be applied to the texture.","$comment":"UNDOCUMENTED","format":"color-hex","examples":["#FFFFFF"],"type":"string"},"variations":{"type":"array","title":"Variantions","description":"The possible variations to use for this texture.","$comment":"UNDOCUMENTED","items":{"type":"object","title":"Variantion","description":"One of the variantions, specified along with a possible weight.","$comment":"UNDOCUMENTED","required":["path"],"properties":{"path":{"description":"A texture file.","type":"string","pattern":"^textures/.+$","title":"Path"},"weight":{"type":"integer","title":"Weight","description":"The weight of the texture.","$comment":"UNDOCUMENTED"}}}}}}]}},"properties":{"num_mip_levels":{"type":"integer","title":"Num Mip Levels","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"padding":{"type":"integer","title":"Padding","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"resource_pack_name":{"type":"string","title":"Resource Pack Name","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED"},"texture_data":{"type":"object","propertyNames":{"pattern":"^[a-z0-9_:\\-]*$"},"additionalProperties":{"type":"object","title":"Texture Data","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","properties":{"textures":{"oneOf":[{"$ref":"#/definitions/texture"},{"type":"array","items":{"$ref":"#/definitions/texture"}}]}}},"description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Texture Data"},"texture_name":{"type":"string","description":"UNDOCUMENTED.","$comment":"UNDOCUMENTED","title":"Texture Name"}}} \ No newline at end of file