Improve texture set schema (#339)

* Added `metalness_emissive_roughness_subsurface` parameter

* Prevent incompatible parameters from being specified at the same time

* Corrected color array schema

* Improved color schemas

* Require `format_version` to be a supported value

* Require `format_version` and `minecraft:texture_set` to be included

* Sorted parameter definitions

* Prevent UI texture definition schema from being applied to texture sets

* Corrected `format_version` schema
This commit is contained in:
QuazChick
2025-03-23 16:39:12 +00:00
committed by GitHub
parent c35566e0f4
commit 30a9de7a9b
2 changed files with 108 additions and 72 deletions

View File

@@ -560,16 +560,16 @@
},
{
"fileMatch": [
"resource_packs/*/textures/*/*.{json,jsonc,json5}",
"*resource*pack*/textures/*/*.{json,jsonc,json5}",
"*Resource*Pack*/textures/*/*.{json,jsonc,json5}",
"*RP*/textures/*/*.{json,jsonc,json5}",
"*rp*/textures/*/*.{json,jsonc,json5}",
"resource_packs/*/textures/*/**/*.{json,jsonc,json5}",
"*resource*pack*/textures/*/**/*.{json,jsonc,json5}",
"*Resource*Pack*/textures/*/**/*.{json,jsonc,json5}",
"*RP*/textures/*/**/*.{json,jsonc,json5}",
"*rp*/textures/*/**/*.{json,jsonc,json5}"
"resource_packs/*/textures/*/!(*.texture_set).{json,jsonc,json5}",
"*resource*pack*/textures/*/!(*.texture_set).{json,jsonc,json5}",
"*Resource*Pack*/textures/*/!(*.texture_set).{json,jsonc,json5}",
"*RP*/textures/*/!(*.texture_set).{json,jsonc,json5}",
"*rp*/textures/*/!(*.texture_set).{json,jsonc,json5}",
"resource_packs/*/textures/*/**/!(*.texture_set).{json,jsonc,json5}",
"*resource*pack*/textures/*/**/!(*.texture_set).{json,jsonc,json5}",
"*Resource*Pack*/textures/*/**/!(*.texture_set).{json,jsonc,json5}",
"*RP*/textures/*/**/!(*.texture_set).{json,jsonc,json5}",
"*rp*/textures/*/**/!(*.texture_set).{json,jsonc,json5}"
],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/ui_texture_definition.json"
},