@minecraft/server 2.2.0-rc.1.21.120-preview.21 → 2.2.0-rc.1.21.120-preview.23

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 +9 -5
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -5591,7 +5591,8 @@ export class ContainerSlot {
5591
5591
  * @param identifier
5592
5592
  * The property identifier.
5593
5593
  * @param value
5594
- * Data value of the property to set.
5594
+ * Data value of the property to set. If the value is null, it
5595
+ * will remove the property instead.
5595
5596
  * @throws
5596
5597
  * Throws if the slot's container is invalid.
5597
5598
  *
@@ -7710,7 +7711,8 @@ export class Entity {
7710
7711
  * @param identifier
7711
7712
  * The property identifier.
7712
7713
  * @param value
7713
- * Data value of the property to set.
7714
+ * Data value of the property to set. If the value is null, it
7715
+ * will remove the property instead.
7714
7716
  * @throws This function can throw errors.
7715
7717
  *
7716
7718
  * {@link minecraftcommon.ArgumentOutOfBoundsError}
@@ -12384,7 +12386,8 @@ export class ItemStack {
12384
12386
  * @param identifier
12385
12387
  * The property identifier.
12386
12388
  * @param value
12387
- * Data value of the property to set.
12389
+ * Data value of the property to set. If the value is null, it
12390
+ * will remove the property instead.
12388
12391
  * @throws
12389
12392
  * Throws if the item stack is stackable.
12390
12393
  *
@@ -13438,7 +13441,7 @@ export class Player extends Entity {
13438
13441
  * The Entity whose Entity Property overrides are being
13439
13442
  * cleared.
13440
13443
  * @throws
13441
- * Throws if the entity is invalid.
13444
+ * Throws if the Entity is invalid.
13442
13445
  */
13443
13446
  clearPropertyOverridesForEntity(targetEntity: Entity): void;
13444
13447
  /**
@@ -17454,7 +17457,8 @@ export class World {
17454
17457
  * @param identifier
17455
17458
  * The property identifier.
17456
17459
  * @param value
17457
- * Data value of the property to set.
17460
+ * Data value of the property to set. If the value is null, it
17461
+ * will remove the property instead.
17458
17462
  * @throws
17459
17463
  * Throws if the given dynamic property identifier is not
17460
17464
  * defined.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.2.0-rc.1.21.120-preview.21",
3
+ "version": "2.2.0-rc.1.21.120-preview.23",
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.21.120-preview.21"
17
+ "@minecraft/vanilla-data": ">=1.20.70 || 1.21.120-preview.23"
18
18
  },
19
19
  "license": "MIT"
20
20
  }