@minecraft/server 2.7.0-beta.1.26.10-preview.22 → 2.7.0-beta.1.26.10-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 +20 -18
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -57,14 +57,12 @@ export enum BlockComponentTypes {
57
57
  */
58
58
  Inventory = 'minecraft:inventory',
59
59
  /**
60
- * @rc
61
60
  * @remarks
62
61
  * Represents the color of a block when displayed on a map.
63
62
  *
64
63
  */
65
64
  MapColor = 'minecraft:map_color',
66
65
  /**
67
- * @rc
68
66
  * @remarks
69
67
  * Represents a block that can move (such as a piston).
70
68
  *
@@ -78,7 +76,6 @@ export enum BlockComponentTypes {
78
76
  */
79
77
  Piston = 'minecraft:piston',
80
78
  /**
81
- * @rc
82
79
  * @remarks
83
80
  * Represents a how a block interacts with precipitation (such
84
81
  * as rain or snow).
@@ -92,7 +89,6 @@ export enum BlockComponentTypes {
92
89
  */
93
90
  RecordPlayer = 'minecraft:record_player',
94
91
  /**
95
- * @rc
96
92
  * @remarks
97
93
  * Represents a block that can output a redstone signal.
98
94
  *
@@ -1544,7 +1540,6 @@ export enum EntityInitializationCause {
1544
1540
  }
1545
1541
 
1546
1542
  /**
1547
- * @rc
1548
1543
  * Enumerator describing the source of an Entity swing. Sent as
1549
1544
  * part of {@link PlayerSwingStartAfterEvent}
1550
1545
  */
@@ -2038,7 +2033,6 @@ export enum GraphicsMode {
2038
2033
  }
2039
2034
 
2040
2035
  /**
2041
- * @rc
2042
2036
  * Specifies options related to the item currently being held
2043
2037
  * by an entity.
2044
2038
  */
@@ -10680,9 +10674,15 @@ export class EntityDefinitionFeedItem {
10680
10674
  */
10681
10675
  readonly item: string;
10682
10676
  /**
10683
- * @beta
10677
+ * @rc
10678
+ * @remarks
10679
+ * Type ID of the resulting item after feeding has occurred.
10680
+ * This will usually be empty but is used for scenarios such as
10681
+ * feeding a Nautilus with a bucket of fish, where the result
10682
+ * item will be an empty bucket.
10683
+ *
10684
10684
  */
10685
- readonly resultItem: string;
10685
+ readonly resultItem?: string;
10686
10686
  }
10687
10687
 
10688
10688
  /**
@@ -11671,7 +11671,7 @@ export class EntityItemComponent extends EntityComponent {
11671
11671
  }
11672
11672
 
11673
11673
  /**
11674
- * @beta
11674
+ * @rc
11675
11675
  * Contains information related to an entity having dropped
11676
11676
  * items.
11677
11677
  */
@@ -11692,7 +11692,7 @@ export class EntityItemDropAfterEvent {
11692
11692
  }
11693
11693
 
11694
11694
  /**
11695
- * @beta
11695
+ * @rc
11696
11696
  * Manages callbacks that are connected to when an entity has
11697
11697
  * dropped items.
11698
11698
  */
@@ -13493,9 +13493,15 @@ export class FeedItem {
13493
13493
  */
13494
13494
  readonly item: string;
13495
13495
  /**
13496
- * @beta
13496
+ * @rc
13497
+ * @remarks
13498
+ * Type ID of the resulting item after feeding has occurred.
13499
+ * This will usually be empty but is used for scenarios such as
13500
+ * feeding a Nautilus with a bucket of fish, where the result
13501
+ * item will be an empty bucket.
13502
+ *
13497
13503
  */
13498
- readonly resultItem: string;
13504
+ readonly resultItem?: string;
13499
13505
  /**
13500
13506
  * @remarks
13501
13507
  * As part of the Healable component, an optional collection of
@@ -18773,7 +18779,6 @@ export class PlayerSpawnAfterEventSignal {
18773
18779
  }
18774
18780
 
18775
18781
  /**
18776
- * @rc
18777
18782
  * Contains information regarding a player starting to swing
18778
18783
  * their arm.
18779
18784
  */
@@ -18802,7 +18807,6 @@ export class PlayerSwingStartAfterEvent {
18802
18807
  }
18803
18808
 
18804
18809
  /**
18805
- * @rc
18806
18810
  * Manages callbacks that are connected to when a player starts
18807
18811
  * to swing their arm (e.g. attacking, using an item,
18808
18812
  * interacting).
@@ -22253,7 +22257,7 @@ export class WorldAfterEvents {
22253
22257
  */
22254
22258
  readonly entityHurt: EntityHurtAfterEventSignal;
22255
22259
  /**
22256
- * @beta
22260
+ * @rc
22257
22261
  * @remarks
22258
22262
  * This event fires when an entity drops items.
22259
22263
  *
@@ -22534,7 +22538,6 @@ export class WorldAfterEvents {
22534
22538
  */
22535
22539
  readonly playerSpawn: PlayerSpawnAfterEventSignal;
22536
22540
  /**
22537
- * @rc
22538
22541
  * @remarks
22539
22542
  * This property can be read in early-execution mode.
22540
22543
  *
@@ -23901,7 +23904,7 @@ export interface EntityHurtBeforeEventOptions {
23901
23904
  }
23902
23905
 
23903
23906
  /**
23904
- * @beta
23907
+ * @rc
23905
23908
  * An interface that is passed into {@link
23906
23909
  * @minecraft/Server.EntityItemDropAfterEventSignal.subscribe}
23907
23910
  * that filters out which events are passed to the provided
@@ -24783,7 +24786,6 @@ export interface PlayerSoundOptions {
24783
24786
  }
24784
24787
 
24785
24788
  /**
24786
- * @rc
24787
24789
  * An interface that is passed into {@link
24788
24790
  * @minecraft/Server.PlayerSwingStartAfterEvent.subscribe} that
24789
24791
  * filters out which events are passed to the provided
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.7.0-beta.1.26.10-preview.22",
3
+ "version": "2.7.0-beta.1.26.10-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.26.10-preview.22"
17
+ "@minecraft/vanilla-data": ">=1.20.70 || 1.26.10-preview.23"
18
18
  },
19
19
  "license": "MIT"
20
20
  }