@minecraft/server 2.7.0-rc.1.26.20-preview.23 → 2.7.0-rc.1.26.20-preview.26
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/index.d.ts +9 -4
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -7808,26 +7808,30 @@ export class Dimension {
|
|
|
7808
7808
|
}
|
|
7809
7809
|
|
|
7810
7810
|
/**
|
|
7811
|
-
* Represents a type of dimension.
|
|
7811
|
+
* Represents a type of dimension. Currently only works with
|
|
7812
|
+
* Vanilla dimensions.
|
|
7812
7813
|
*/
|
|
7813
7814
|
export class DimensionType {
|
|
7814
7815
|
private constructor();
|
|
7815
7816
|
/**
|
|
7816
7817
|
* @remarks
|
|
7817
|
-
* Identifier of the dimension type.
|
|
7818
|
+
* Identifier of the dimension type. Currently only works with
|
|
7819
|
+
* Vanilla dimensions.
|
|
7818
7820
|
*
|
|
7819
7821
|
*/
|
|
7820
7822
|
readonly typeId: string;
|
|
7821
7823
|
}
|
|
7822
7824
|
|
|
7823
7825
|
/**
|
|
7824
|
-
* Used for accessing all available dimension types.
|
|
7826
|
+
* Used for accessing all available dimension types. Currently
|
|
7827
|
+
* only works with Vanilla dimensions.
|
|
7825
7828
|
*/
|
|
7826
7829
|
export class DimensionTypes {
|
|
7827
7830
|
private constructor();
|
|
7828
7831
|
/**
|
|
7829
7832
|
* @remarks
|
|
7830
7833
|
* Retrieves a dimension type using a string-based identifier.
|
|
7834
|
+
* Currently only works with Vanilla dimensions.
|
|
7831
7835
|
*
|
|
7832
7836
|
* This function can be called in early-execution mode.
|
|
7833
7837
|
*
|
|
@@ -7835,7 +7839,8 @@ export class DimensionTypes {
|
|
|
7835
7839
|
static get(dimensionTypeId: string): DimensionType | undefined;
|
|
7836
7840
|
/**
|
|
7837
7841
|
* @remarks
|
|
7838
|
-
* Retrieves an array of all dimension types.
|
|
7842
|
+
* Retrieves an array of all dimension types. Currently only
|
|
7843
|
+
* works with Vanilla dimensions.
|
|
7839
7844
|
*
|
|
7840
7845
|
* This function can be called in early-execution mode.
|
|
7841
7846
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.7.0-rc.1.26.20-preview.
|
|
3
|
+
"version": "2.7.0-rc.1.26.20-preview.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@minecraft/common": "^1.2.0",
|
|
17
|
-
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.20-preview.
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.20-preview.26"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|