Updated pattersn to fix #54

This commit is contained in:
DaanV2
2021-05-18 16:43:25 +02:00
parent c0b581cb2b
commit 6963d4eaab

View File

@@ -1,24 +1,24 @@
{ {
"json.schemas": [ "json.schemas": [
{ {
"fileMatch": ["*/skin_pack/skins.json"], "fileMatch": "skin_pack/skins.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/skinpacks/skins.json" "url": "./minecraft-bedrock-schemas/skinpacks/skins.json"
}, },
{ {
"fileMatch": ["language_names.json"], "fileMatch": "language_names.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/language/language_names.json" "url": "./minecraft-bedrock-schemas/language/language_names.json"
}, },
{ {
"fileMatch": ["languages.json"], "fileMatch": "languages.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/language/languages.json" "url": "./minecraft-bedrock-schemas/language/languages.json"
}, },
{ {
"fileMatch": ["manifest.json"], "fileMatch": "manifest.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/general/manifest.json" "url": "./minecraft-bedrock-schemas/general/manifest.json"
}, },
{ {
"fileMatch": ["world_behavior_packs.json", "world_resource_packs.json"], "fileMatch": ["world_behavior_packs.json", "world_resource_packs.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/general/world_x_packs.json" "url": "./minecraft-bedrock-schemas/general/world_x_packs.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
@@ -26,9 +26,14 @@
"*resource*pack*/animation_controllers/*.json", "*resource*pack*/animation_controllers/*.json",
"*Resource*Pack*/animation_controllers/*.json", "*Resource*Pack*/animation_controllers/*.json",
"*RP*/animation_controllers/*.json", "*RP*/animation_controllers/*.json",
"*rp*/animation_controllers/*.json" "*rp*/animation_controllers/*.json",
"resource_packs/*/animation_controllers/**/*.json",
"*resource*pack*/animation_controllers/**/*.json",
"*Resource*Pack*/animation_controllers/**/*.json",
"*RP*/animation_controllers/**/*.json",
"*rp*/animation_controllers/**/*.json"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/animation_controllers/animation_controller.json" "url": "./minecraft-bedrock-schemas/resource/animation_controllers/animation_controller.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
@@ -36,77 +41,93 @@
"*resource*pack*/animations/*.json", "*resource*pack*/animations/*.json",
"*Resource*Pack*/animations/*.json", "*Resource*Pack*/animations/*.json",
"*RP*/animations/*.json", "*RP*/animations/*.json",
"*rp*/animations/*.json" "*rp*/animations/*.json",
"resource_packs/*/animations/**/*.json",
"*resource*pack*/animations/**/*.json",
"*Resource*Pack*/animations/**/*.json",
"*RP*/animations/**/*.json",
"*rp*/animations/**/*.json"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/animations/actor_animation.json" "url": "./minecraft-bedrock-schemas/resource/animations/actor_animation.json"
}, },
{ {
"fileMatch": ["attachables/*.json"], "fileMatch": ["attachables/*.json", "attachables/**/*.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/attachables/attachables.json" "url": "./minecraft-bedrock-schemas/resource/attachables/attachables.json"
}, },
{ {
"fileMatch": ["biomes_client.json"], "fileMatch": "biomes_client.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/biomes_client.json" "url": "./minecraft-bedrock-schemas/resource/biomes_client.json"
}, },
{ {
"fileMatch": ["blocks.json"], "fileMatch": "blocks.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/blocks.json" "url": "./minecraft-bedrock-schemas/resource/blocks.json"
}, },
{ {
"fileMatch": ["entity/*entity.json"], "fileMatch": ["entity/*.json", "entity/**/*.json", "!models/entity"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/entity/entity.json" "url": "./minecraft-bedrock-schemas/resource/entity/entity.json"
}, },
{ {
"fileMatch": ["fogs/*.json"], "fileMatch": ["fogs/*.json", "fogs/**/*.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/fog/fog.json" "url": "./minecraft-bedrock-schemas/resource/fog/fog.json"
}, },
{ {
"fileMatch": ["flipbook_textures.json"], "fileMatch": "flipbook_textures.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/flipbook_textures.json" "url": "./minecraft-bedrock-schemas/resource/textures/flipbook_textures.json"
}, },
{ {
"fileMatch": ["item_texture.json"], "fileMatch": "item_texture.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/item_texture.json" "url": "./minecraft-bedrock-schemas/resource/textures/item_texture.json"
}, },
{ {
"fileMatch": ["texture_list.json"], "fileMatch": "texture_list.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/texture_list.json" "url": "./minecraft-bedrock-schemas/resource/textures/texture_list.json"
}, },
{ {
"fileMatch": ["resource_packs/*/items/*.json", "*resource*pack*/items/*.json", "*Resource*Pack*/items/*.json", "*RP*/items/*.json", "*rp*/items/*.json"], "fileMatch": [
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/items/items.json" "resource_packs/*/items/*.json",
"*resource*pack*/items/*.json",
"*Resource*Pack*/items/*.json",
"*RP*/items/*.json",
"*rp*/items/*.json",
"resource_packs/*/items/**/*.json",
"*resource*pack*/items/**/*.json",
"*Resource*Pack*/items/**/*.json",
"*RP*/items/**/*.json",
"*rp*/items/**/*.json"
],
"url": "./minecraft-bedrock-schemas/resource/items/items.json"
}, },
{ {
"fileMatch": ["*.geo.json", "*.geometry.json"], "fileMatch": ["models/entity/*.json", "models/entity/**/*.json", "*.geo.json", "*.geometry.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/models/entity/model_entity.json" "url": "./minecraft-bedrock-schemas/resource/models/entity/model_entity.json"
}, },
{ {
"fileMatch": ["*.material"], "fileMatch": ["materials/*.material"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/materials/materials.json" "url": "./minecraft-bedrock-schemas/resource/materials/materials.json"
}, },
{ {
"fileMatch": ["music_definitions.json"], "fileMatch": "music_definitions.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/sounds/music_definitions.json" "url": "./minecraft-bedrock-schemas/resource/sounds/music_definitions.json"
}, },
{ {
"fileMatch": ["particles/*.json", "*.particle.json"], "fileMatch": ["particles/*.json", "particles/**/*.json", "*.particle.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/particles/particles.json" "url": "./minecraft-bedrock-schemas/resource/particles/particles.json"
}, },
{ {
"fileMatch": ["render_controllers/*.json"], "fileMatch": ["render_controllers/*.json", "render_controllers/**/*.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/render_controllers/render_controllers.json" "url": "./minecraft-bedrock-schemas/resource/render_controllers/render_controllers.json"
}, },
{ {
"fileMatch": ["sound_definitions.json"], "fileMatch": "sound_definitions.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/sounds/sound_definitions.json" "url": "./minecraft-bedrock-schemas/resource/sounds/sound_definitions.json"
}, },
{ {
"fileMatch": ["sounds.json"], "fileMatch": "sounds.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/sounds.json" "url": "./minecraft-bedrock-schemas/resource/sounds.json"
}, },
{ {
"fileMatch": ["terrain_texture.json"], "fileMatch": "terrain_texture.json",
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/resource/textures/terrain_texture.json" "url": "./minecraft-bedrock-schemas/resource/textures/terrain_texture.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
@@ -114,9 +135,14 @@
"*behavior*pack*/animation_controllers/*.json", "*behavior*pack*/animation_controllers/*.json",
"*Behavior*Pack*/animation_controllers/*.json", "*Behavior*Pack*/animation_controllers/*.json",
"*BP*/animation_controllers/*.json", "*BP*/animation_controllers/*.json",
"*bp*/animation_controllers/*.json" "*bp*/animation_controllers/*.json",
"behavior_packs/*/animation_controllers/**/*.json",
"*behavior*pack*/animation_controllers/**/*.json",
"*Behavior*Pack*/animation_controllers/**/*.json",
"*BP*/animation_controllers/**/*.json",
"*bp*/animation_controllers/**/*.json"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/animation_controllers/animation_controller.json" "url": "./minecraft-bedrock-schemas/behavior/animation_controllers/animation_controller.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
@@ -124,13 +150,29 @@
"*behavior*pack*/animations/*.json", "*behavior*pack*/animations/*.json",
"*Behavior*Pack*/animations/*.json", "*Behavior*Pack*/animations/*.json",
"*BP*/animations/*.json", "*BP*/animations/*.json",
"*bp*/animations/*.json" "*bp*/animations/*.json",
"behavior_packs/*/animations/**/*.json",
"*behavior*pack*/animations/**/*.json",
"*Behavior*Pack*/animations/**/*.json",
"*BP*/animations/**/*.json",
"*bp*/animations/**/*.json"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/animations/animations.json" "url": "./minecraft-bedrock-schemas/behavior/animations/animations.json"
}, },
{ {
"fileMatch": ["behavior_packs/*/biomes/*.json", "*behavior*pack*/biomes/*.json", "*Behavior*Pack*/biomes/*.json", "*BP*/biomes/*.json", "*bp*/biomes/*.json"], "fileMatch": [
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/biomes/biomes.json" "behavior_packs/*/biomes/*.json",
"*behavior*pack*/biomes/*.json",
"*Behavior*Pack*/biomes/*.json",
"*BP*/biomes/*.json",
"*bp*/biomes/*.json",
"behavior_packs/*/biomes/**/*.json",
"*behavior*pack*/biomes/**/*.json",
"*Behavior*Pack*/biomes/**/*.json",
"*BP*/biomes/**/*.json",
"*bp*/biomes/**/*.json"
],
"url": "./minecraft-bedrock-schemas/behavior/biomes/biomes.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
@@ -139,40 +181,68 @@
"*Behavior*Pack*/loot_tables/*.json", "*Behavior*Pack*/loot_tables/*.json",
"*BP*/loot_tables/*.json", "*BP*/loot_tables/*.json",
"*bp*/loot_tables/*.json", "*bp*/loot_tables/*.json",
"behavior_packs/*/loot_tables/**/*.json",
"*behavior*pack*/loot_tables/**/*.json",
"*Behavior*Pack*/loot_tables/**/*.json",
"*BP*/loot_tables/**/*.json",
"*bp*/loot_tables/**/*.json",
"*.loot.json" "*.loot.json"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/loot_tables/loot_tables.json" "url": "./minecraft-bedrock-schemas/behavior/loot_tables/loot_tables.json"
}, },
{ {
"fileMatch": ["behavior_packs/*/blocks/*.json", "*behavior*pack*/blocks/*.json", "*Behavior*Pack*/blocks/*.json", "*BP*/blocks/*.json", "*bp*/blocks/*.json"], "fileMatch": [
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/blocks/blocks.json" "behavior_packs/*/blocks/*.json",
"*behavior*pack*/blocks/*.json",
"*Behavior*Pack*/blocks/*.json",
"*BP*/blocks/*.json",
"*bp*/blocks/*.json",
"behavior_packs/*/blocks/**/*.json",
"*behavior*pack*/blocks/**/*.json",
"*Behavior*Pack*/blocks/**/*.json",
"*BP*/blocks/**/*.json",
"*bp*/blocks/**/*.json"
],
"url": "./minecraft-bedrock-schemas/behavior/blocks/blocks.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
"behavior_packs/*/entities/*.json", "behavior_packs/*/entities/*.json",
"behavior_packs/*/entities/**/*.json",
"*behavior*pack*/entities/*.json", "*behavior*pack*/entities/*.json",
"*behavior*pack*/entities/**/*.json",
"*Behavior*Pack*/entities/*.json", "*Behavior*Pack*/entities/*.json",
"*Behavior*Pack*/entities/**/*.json",
"*BP*/entities/*.json", "*BP*/entities/*.json",
"*BP*/entities/**/*.json",
"*bp*/entities/*.json", "*bp*/entities/*.json",
"*bp*/entities/**/*.json" "behavior_packs/*/entities/**/*.json",
"*behavior*pack*/entities/**/*.json",
"*Behavior*Pack*/entities/**/*.json",
"*BP*/entities/**/*.json",
"*bp*/entities/**/*.json",
"!*loot_tables*"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/entities/entities.json" "url": "./minecraft-bedrock-schemas/behavior/entities/entities.json"
}, },
{ {
"fileMatch": ["behavior_packs/*/items/*.json", "*behavior*pack*/items/*.json", "*Behavior*Pack*/items/*.json", "*BP*/items/*.json", "*bp*/items/*.json"], "fileMatch": [
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/items/items.json" "behavior_packs/*/items/*.json",
"*behavior*pack*/items/*.json",
"*Behavior*Pack*/items/*.json",
"*BP*/items/*.json",
"*bp*/items/*.json",
"behavior_packs/*/items/**/*.json",
"*behavior*pack*/items/**/*.json",
"*Behavior*Pack*/items/**/*.json",
"*BP*/items/**/*.json",
"*bp*/items/**/*.json"
],
"url": "./minecraft-bedrock-schemas/behavior/items/items.json"
}, },
{ {
"fileMatch": ["recipes/*.json"], "fileMatch": ["recipes/*.json", "recipes/**/*.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/recipes/recipes.json" "url": "./minecraft-bedrock-schemas/behavior/recipes/recipes.json"
}, },
{ {
"fileMatch": ["spawn_rules/*.json"], "fileMatch": ["spawn_rules/*.json", "spawn_rules/**/*.json"],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/spawn_rules/spawn_rules.json" "url": "./minecraft-bedrock-schemas/behavior/spawn_rules/spawn_rules.json"
}, },
{ {
"fileMatch": [ "fileMatch": [
@@ -181,9 +251,14 @@
"*Behavior*Pack*/trading/*.json", "*Behavior*Pack*/trading/*.json",
"*BP*/trading/*.json", "*BP*/trading/*.json",
"*bp*/trading/*.json", "*bp*/trading/*.json",
"behavior_packs/*/trading/**/*.json",
"*behavior*pack*/trading/**/*.json",
"*Behavior*Pack*/trading/**/*.json",
"*BP*/trading/**/*.json",
"*bp*/trading/**/*.json",
"*.trade.json" "*.trade.json"
], ],
"url": "https://raw.githubusercontent.com/Blockception/Minecraft-bedrock-json-schemas/main/behavior/trading/trading.json" "url": "./minecraft-bedrock-schemas/behavior/trading/trading.json"
} }
] ]
} }