From d6f46144c08315591a7d043228c44cf22311f132 Mon Sep 17 00:00:00 2001 From: QuazChick <79767058+QuazChick@users.noreply.github.com> Date: Wed, 3 Apr 2024 19:07:53 +0100 Subject: [PATCH] Corrected name of "textures_list.json" (#273) --- source/compress_specification.json | 2 +- source/resource/textures/texture_list.json | 7 ------- source/resource/textures/textures_list.json | 12 ++++++++++++ vscode-settings.json | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 source/resource/textures/texture_list.json create mode 100644 source/resource/textures/textures_list.json diff --git a/source/compress_specification.json b/source/compress_specification.json index a2d4d851d..b8bbd6d81 100644 --- a/source/compress_specification.json +++ b/source/compress_specification.json @@ -16,7 +16,7 @@ { "Source": "./resource/fog/fog.json", "Destination": "../resource/fog/fog.json" }, { "Source": "./resource/textures/flipbook_textures.json", "Destination": "../resource/textures/flipbook_textures.json" }, { "Source": "./resource/textures/item_texture.json", "Destination": "../resource/textures/item_texture.json" }, - { "Source": "./resource/textures/texture_list.json", "Destination": "../resource/textures/texture_list.json" }, + { "Source": "./resource/textures/textures_list.json", "Destination": "../resource/textures/textures_list.json" }, { "Source": "./resource/textures/texture_set.json", "Destination": "../resource/textures/texture_set.json" }, { "Source": "./resource/items/items.json", "Destination": "../resource/items/items.json" }, { "Source": "./resource/models/entity/model_entity.json", "Destination": "../resource/models/entity/model_entity.json" }, diff --git a/source/resource/textures/texture_list.json b/source/resource/textures/texture_list.json deleted file mode 100644 index 626b94334..000000000 --- a/source/resource/textures/texture_list.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema", - "title": "Texture List", - "description": "A list of texture to load in.", - "type": "array", - "items": { "title": "Filepath", "type": "string", "pattern": "^textures/", "examples": ["textures/blocks/"] } -} diff --git a/source/resource/textures/textures_list.json b/source/resource/textures/textures_list.json new file mode 100644 index 000000000..d0b7b4f7e --- /dev/null +++ b/source/resource/textures/textures_list.json @@ -0,0 +1,12 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "title": "Textures List", + "description": "List texture files included in this pack to reduce loading times.", + "type": "array", + "items": { + "title": "Filepath", + "type": "string", + "pattern": "^textures/", + "examples": ["textures/blocks/"] + } +} diff --git a/vscode-settings.json b/vscode-settings.json index 306825369..aacde28ea 100644 --- a/vscode-settings.json +++ b/vscode-settings.json @@ -91,8 +91,8 @@ "url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/item_texture.json" }, { - "fileMatch": ["texture_list.{json,jsonc,json5}"], - "url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/texture_list.json" + "fileMatch": ["textures_list.{json,jsonc,json5}"], + "url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/textures_list.json" }, { "fileMatch": ["*.texture_set.{json,jsonc,json5}"],