@spyglassmc/java-edition 0.3.37 → 0.3.38
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as core from '@spyglassmc/core';
|
|
2
2
|
import type { PackMcmeta, VersionInfo } from './common.js';
|
|
3
3
|
import { ReleaseVersion } from './common.js';
|
|
4
|
-
export declare const NEXT_RELEASE_VERSION = "1.21.
|
|
4
|
+
export declare const NEXT_RELEASE_VERSION = "1.21.6";
|
|
5
5
|
/**
|
|
6
6
|
* @param inputVersion {@link core.Config.env.gameVersion}
|
|
7
7
|
*/
|
package/lib/dependency/mcmeta.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as core from '@spyglassmc/core';
|
|
2
2
|
import { ReleaseVersion } from './common.js';
|
|
3
3
|
// DOCS: Update this when a new snapshot cycle begins
|
|
4
|
-
export const NEXT_RELEASE_VERSION = '1.21.
|
|
4
|
+
export const NEXT_RELEASE_VERSION = '1.21.6';
|
|
5
5
|
/**
|
|
6
6
|
* @param inputVersion {@link core.Config.env.gameVersion}
|
|
7
7
|
*/
|
|
@@ -164,6 +164,18 @@ export function getPatch(release) {
|
|
|
164
164
|
}),
|
|
165
165
|
},
|
|
166
166
|
},
|
|
167
|
+
datapack: {
|
|
168
|
+
children: {
|
|
169
|
+
...(ReleaseVersion.cmp(release, '1.21.6') >= 0
|
|
170
|
+
? {
|
|
171
|
+
// Added in 21w15a (1.21.6, pack format 72)
|
|
172
|
+
create: {
|
|
173
|
+
permission: 4,
|
|
174
|
+
},
|
|
175
|
+
}
|
|
176
|
+
: {}),
|
|
177
|
+
},
|
|
178
|
+
},
|
|
167
179
|
debug: {
|
|
168
180
|
permission: 3,
|
|
169
181
|
},
|