@minecraft/server 2.8.0-rc.1.26.30-preview.26 → 2.8.0-rc.1.26.30-preview.27

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 +14 -5
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -3675,14 +3675,12 @@ export class BiomeType {
3675
3675
  */
3676
3676
  readonly id: string;
3677
3677
  /**
3678
- * @rc
3679
3678
  * @remarks
3680
3679
  * Returns a list of the biome's tags.
3681
3680
  *
3682
3681
  */
3683
3682
  getTags(): string[];
3684
3683
  /**
3685
- * @rc
3686
3684
  * @remarks
3687
3685
  * Checks if the biome has all of the provided tags.
3688
3686
  *
@@ -3693,7 +3691,6 @@ export class BiomeType {
3693
3691
  }
3694
3692
 
3695
3693
  /**
3696
- * @rc
3697
3694
  * Supports a catalog of available biome types registered
3698
3695
  * within Minecraft.
3699
3696
  */
@@ -5286,6 +5283,20 @@ export class BlockPrecipitationInteractionsComponent extends BlockComponent {
5286
5283
  * {@link LocationOutOfWorldBoundariesError}
5287
5284
  */
5288
5285
  accumulatesSnow(): boolean;
5286
+ /**
5287
+ * @rc
5288
+ * @remarks
5289
+ * Returns `true` if this block can have snow within it, like a
5290
+ * flower submerged in snow. Returns `false` if this block
5291
+ * cannot have snow within it.
5292
+ *
5293
+ * @throws This function can throw errors.
5294
+ *
5295
+ * {@link LocationInUnloadedChunkError}
5296
+ *
5297
+ * {@link LocationOutOfWorldBoundariesError}
5298
+ */
5299
+ isSnowLoggable(): boolean;
5289
5300
  /**
5290
5301
  * @remarks
5291
5302
  * Returns `true` if rain will not go through the block.
@@ -8543,7 +8554,6 @@ export class Entity {
8543
8554
  */
8544
8555
  addEffect(effectType: EffectType | string, duration: number, options?: EntityEffectOptions): Effect | undefined;
8545
8556
  /**
8546
- * @rc
8547
8557
  * @remarks
8548
8558
  * Adds an item to the entity's inventory.
8549
8559
  *
@@ -24471,7 +24481,6 @@ export class InvalidContainerSlotError extends Error {
24471
24481
  }
24472
24482
 
24473
24483
  /**
24474
- * @rc
24475
24484
  * This error can occur when accessing components on an entity
24476
24485
  * that doesn't have them.
24477
24486
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.8.0-rc.1.26.30-preview.26",
3
+ "version": "2.8.0-rc.1.26.30-preview.27",
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.30-preview.26"
17
+ "@minecraft/vanilla-data": ">=1.20.70 || 1.26.30-preview.27"
18
18
  },
19
19
  "license": "MIT"
20
20
  }