@minecraft/server 1.8.0-beta.1.20.50-preview.20 → 1.8.0-beta.1.20.50-preview.21

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -23
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -16,7 +16,7 @@
16
16
  * ```json
17
17
  * {
18
18
  * "module_name": "@minecraft/server",
19
- * "version": "1.8.0-internal.1.20.50-preview.20"
19
+ * "version": "1.8.0-internal.1.20.50-preview.21"
20
20
  * }
21
21
  * ```
22
22
  *
@@ -3923,7 +3923,7 @@ export class Dimension {
3923
3923
  *
3924
3924
  * @throws This property can throw when used.
3925
3925
  */
3926
- readonly heightRange: NumberRange;
3926
+ readonly heightRange: minecraftcommon.NumberRange;
3927
3927
  /**
3928
3928
  * @remarks
3929
3929
  * Identifier of the dimension.
@@ -8471,7 +8471,7 @@ export class ItemDurabilityComponent extends ItemComponent {
8471
8471
  *
8472
8472
  * @throws This function can throw errors.
8473
8473
  */
8474
- getDamageRange(): NumberRange;
8474
+ getDamageRange(): minecraftcommon.NumberRange;
8475
8475
  }
8476
8476
 
8477
8477
  /**
@@ -13904,26 +13904,6 @@ export interface MusicOptions {
13904
13904
  volume?: number;
13905
13905
  }
13906
13906
 
13907
- /**
13908
- * @beta
13909
- * Represents a min/max structure for expressing a potential
13910
- * range of numbers.
13911
- */
13912
- export interface NumberRange {
13913
- /**
13914
- * @remarks
13915
- * Maximum value within a range.
13916
- *
13917
- */
13918
- max: number;
13919
- /**
13920
- * @remarks
13921
- * Minimum value within a range.
13922
- *
13923
- */
13924
- min: number;
13925
- }
13926
-
13927
13907
  /**
13928
13908
  * @beta
13929
13909
  * Contains additional options for how an animation is played.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.8.0-beta.1.20.50-preview.20",
3
+ "version": "1.8.0-beta.1.20.50-preview.21",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {
@@ -13,7 +13,7 @@
13
13
  }
14
14
  ],
15
15
  "dependencies": {
16
- "@minecraft/common": "^1.0.0-rc.1.20.50-preview.20"
16
+ "@minecraft/common": "^1.1.0-rc.1.20.50-preview.21"
17
17
  },
18
18
  "license": "MIT"
19
19
  }