@spyglassmc/java-edition 0.3.16 → 0.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/dependency/mcmeta.js
CHANGED
|
@@ -17,7 +17,7 @@ export async function resolveConfiguredVersion(inputVersion, versions, getPackMc
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
// DOCS: Update this when a new snapshot cycle begins
|
|
20
|
-
return '1.21.
|
|
20
|
+
return '1.21.4';
|
|
21
21
|
}
|
|
22
22
|
function toVersionInfo(version) {
|
|
23
23
|
version = version ?? versions[0];
|
package/lib/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export const initialize = async (ctx) => {
|
|
|
31
31
|
const searched = new Set();
|
|
32
32
|
for (let depth = 0; depth <= 2; depth += 1) {
|
|
33
33
|
for (const projectRoot of projectRoots) {
|
|
34
|
-
const files = await
|
|
34
|
+
const files = await core.fileUtil.getAllFiles(externals, projectRoot, depth + 1);
|
|
35
35
|
for (const uri of files.filter(uri => uri.endsWith('/pack.mcmeta'))) {
|
|
36
36
|
if (searched.has(uri)) {
|
|
37
37
|
continue;
|
|
@@ -76,9 +76,7 @@ export const HeightmapValues = [
|
|
|
76
76
|
'motion_blocking',
|
|
77
77
|
'motion_blocking_no_leaves',
|
|
78
78
|
'ocean_floor',
|
|
79
|
-
'ocean_floor_wg',
|
|
80
79
|
'world_surface',
|
|
81
|
-
'world_surface_wg',
|
|
82
80
|
];
|
|
83
81
|
export const RotationValues = ['none', 'clockwise_90', '180', 'counterclockwise_90'];
|
|
84
82
|
export const MirrorValues = ['none', 'left_right', 'front_back'];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spyglassmc/java-edition",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"release:dry": "npm publish --dry-run"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@spyglassmc/core": "0.4.
|
|
21
|
-
"@spyglassmc/json": "0.3.
|
|
20
|
+
"@spyglassmc/core": "0.4.14",
|
|
21
|
+
"@spyglassmc/json": "0.3.16",
|
|
22
22
|
"@spyglassmc/locales": "0.3.8",
|
|
23
|
-
"@spyglassmc/mcfunction": "0.2.
|
|
24
|
-
"@spyglassmc/mcdoc": "0.3.
|
|
25
|
-
"@spyglassmc/nbt": "0.3.
|
|
23
|
+
"@spyglassmc/mcfunction": "0.2.16",
|
|
24
|
+
"@spyglassmc/mcdoc": "0.3.17",
|
|
25
|
+
"@spyglassmc/nbt": "0.3.17"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"fast-glob": "^3.2.5"
|