Skip to content

Commit ea39214

Browse files
committed
Jigsaw structures directory hotfix
1 parent a2d39d1 commit ea39214

3 files changed

Lines changed: 38 additions & 16 deletions

File tree

dist/minecraftBedrock/fileDefinitions.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/minecraftBedrock/fileDefinition/jigsawStructure.json

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
"icon": "mdi-puzzle",
44
"detect": {
55
"packType": "behaviorPack",
6-
"scope": ["worldgen/jigsaw_structures/"],
6+
"scope": [
7+
"worldgen/structures/"
8+
],
79
"matcher": [
8-
"worldgen/jigsaw_structures/**/*",
9-
"worldgen/jigsaw_structures/*"
10+
"worldgen/structures/**/*",
11+
"worldgen/structures/*"
12+
],
13+
"fileContent": [
14+
"minecraft:jigsaw"
1015
],
11-
"fileContent": ["minecraft:jigsaw"],
12-
"fileExtensions": [".json"]
16+
"fileExtensions": [
17+
".json"
18+
]
1319
},
1420
"schema": "file:///data/packages/minecraftBedrock/schema/jigsawStructure/main.json",
1521
"lightningCache": "jigsawStructure.json",
@@ -18,7 +24,11 @@
1824
"supportsQuerying": false
1925
},
2026
"highlighterConfiguration": {
21-
"variables": ["description"],
22-
"typeIdentifiers": ["format_version"]
27+
"variables": [
28+
"description"
29+
],
30+
"typeIdentifiers": [
31+
"format_version"
32+
]
2333
}
24-
}
34+
}

packages/minecraftBedrock/preset/simpleFile/jigsawStructure/manifest.json

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,41 @@
44
"description": "Creates a blank jigsaw structure.",
55
"category": "fileType.simpleFile",
66
"requires": {
7-
"packTypes": ["behaviorPack"],
8-
"experimentalGameplay": ["dataDrivenJigsawStructures"]
7+
"packTypes": [
8+
"behaviorPack"
9+
],
10+
"experimentalGameplay": [
11+
"dataDrivenJigsawStructures"
12+
]
913
},
1014
"additionalModels": {
11-
"PRESET_PATH": "worldgen/jigsaw_structures/"
15+
"PRESET_PATH": "worldgen/structures/"
1216
},
1317
"fields": [
1418
[
1519
"File Name",
1620
"FILE_NAME",
17-
{ "validate": ["required", "alphanumeric", "lowercase"] }
21+
{
22+
"validate": [
23+
"required",
24+
"alphanumeric",
25+
"lowercase"
26+
]
27+
}
1828
]
1929
],
20-
2130
"createFiles": [
2231
[
2332
"jigsawStructure.json",
2433
"{{PRESET_PATH}}{{FILE_NAME}}.json",
2534
{
26-
"inject": ["FILE_NAME", "PRESET_PATH"],
35+
"inject": [
36+
"FILE_NAME",
37+
"PRESET_PATH"
38+
],
2739
"openFile": true,
2840
"packPath": "behaviorPack"
2941
}
3042
]
3143
]
32-
}
44+
}

0 commit comments

Comments
 (0)