@minecraft/server 2.0.0-beta.1.21.70-preview.25 → 2.0.0-beta.1.21.70-stable

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 +0 -41
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -133,7 +133,6 @@ export enum BlockVolumeIntersection {
133
133
  }
134
134
 
135
135
  /**
136
- * @rc
137
136
  * The state of a button on a keyboard, controller, or touch
138
137
  * interface.
139
138
  */
@@ -1648,7 +1647,6 @@ export enum HudVisibility {
1648
1647
  }
1649
1648
 
1650
1649
  /**
1651
- * @rc
1652
1650
  * All the different input buttons that are supported. Use with
1653
1651
  * {@link InputInfo.getButtonState} via {@link
1654
1652
  * Player.inputInfo} or {@link PlayerButtonInputAfterEvent} via
@@ -1856,7 +1854,6 @@ export enum ItemLockMode {
1856
1854
  }
1857
1855
 
1858
1856
  /**
1859
- * @rc
1860
1857
  * Represents the type of liquid that can be placed on a block
1861
1858
  * or flow dynamically in the world.
1862
1859
  */
@@ -1969,7 +1966,6 @@ export enum MoonPhase {
1969
1966
  }
1970
1967
 
1971
1968
  /**
1972
- * @rc
1973
1969
  * An enumeration describing the reason for the namespace name
1974
1970
  * error being thrown
1975
1971
  */
@@ -2434,16 +2430,10 @@ export enum WeatherType {
2434
2430
  Thunder = 'Thunder',
2435
2431
  }
2436
2432
 
2437
- /**
2438
- * @rc
2439
- */
2440
2433
  export type BlockComponentReturnType<T extends string> = T extends keyof BlockComponentTypeMap
2441
2434
  ? BlockComponentTypeMap[T]
2442
2435
  : BlockComponent;
2443
2436
 
2444
- /**
2445
- * @rc
2446
- */
2447
2437
  export type BlockComponentTypeMap = {
2448
2438
  destruction_particles: BlockDestructionParticlesComponent;
2449
2439
  fluid_container: BlockFluidContainerComponent;
@@ -2462,7 +2452,6 @@ export type BlockComponentTypeMap = {
2462
2452
  };
2463
2453
 
2464
2454
  /**
2465
- * @rc
2466
2455
  * Type alias used by the {@link BlockPermutation} matches and
2467
2456
  * resolve functions to narrow block state argument types to
2468
2457
  * those mapped by {@link
@@ -2474,16 +2463,10 @@ export type BlockStateArg<T> = T extends `${minecraftvanilladata.MinecraftBlockT
2474
2463
  : never
2475
2464
  : Record<string, boolean | number | string>;
2476
2465
 
2477
- /**
2478
- * @rc
2479
- */
2480
2466
  export type EntityComponentReturnType<T extends string> = T extends keyof EntityComponentTypeMap
2481
2467
  ? EntityComponentTypeMap[T]
2482
2468
  : EntityComponent;
2483
2469
 
2484
- /**
2485
- * @rc
2486
- */
2487
2470
  export type EntityComponentTypeMap = {
2488
2471
  addrider: EntityAddRiderComponent;
2489
2472
  ageable: EntityAgeableComponent;
@@ -2619,16 +2602,10 @@ export type EntityComponentTypeMap = {
2619
2602
  wants_jockey: EntityWantsJockeyComponent;
2620
2603
  };
2621
2604
 
2622
- /**
2623
- * @rc
2624
- */
2625
2605
  export type ItemComponentReturnType<T extends string> = T extends keyof ItemComponentTypeMap
2626
2606
  ? ItemComponentTypeMap[T]
2627
2607
  : ItemComponent;
2628
2608
 
2629
- /**
2630
- * @rc
2631
- */
2632
2609
  export type ItemComponentTypeMap = {
2633
2610
  compostable: ItemCompostableComponent;
2634
2611
  cooldown: ItemCooldownComponent;
@@ -3271,7 +3248,6 @@ export class Block {
3271
3248
  */
3272
3249
  bottomCenter(): Vector3;
3273
3250
  /**
3274
- * @rc
3275
3251
  * @remarks
3276
3252
  * Returns whether this block is removed when touched by
3277
3253
  * liquid.
@@ -3290,7 +3266,6 @@ export class Block {
3290
3266
  */
3291
3267
  canBeDestroyedByLiquidSpread(liquidType: LiquidType): boolean;
3292
3268
  /**
3293
- * @rc
3294
3269
  * @remarks
3295
3270
  * Returns whether this block can have a liquid placed over it,
3296
3271
  * i.e. be waterlogged.
@@ -3465,7 +3440,6 @@ export class Block {
3465
3440
  */
3466
3441
  hasTag(tag: string): boolean;
3467
3442
  /**
3468
- * @rc
3469
3443
  * @remarks
3470
3444
  * Returns whether this block stops liquid from flowing.
3471
3445
  *
@@ -3483,7 +3457,6 @@ export class Block {
3483
3457
  */
3484
3458
  isLiquidBlocking(liquidType: LiquidType): boolean;
3485
3459
  /**
3486
- * @rc
3487
3460
  * @remarks
3488
3461
  * Returns whether liquid can flow into the block from the
3489
3462
  * provided direction, or flow out from the provided direction
@@ -3505,7 +3478,6 @@ export class Block {
3505
3478
  */
3506
3479
  liquidCanFlowFromDirection(liquidType: LiquidType, flowDirection: Direction): boolean;
3507
3480
  /**
3508
- * @rc
3509
3481
  * @remarks
3510
3482
  * Returns whether this block is removed and spawns its item
3511
3483
  * when touched by liquid.
@@ -4225,7 +4197,6 @@ export class BlockPermutation {
4225
4197
  */
4226
4198
  readonly 'type': BlockType;
4227
4199
  /**
4228
- * @rc
4229
4200
  * @remarks
4230
4201
  * Returns whether this block is removed when touched by
4231
4202
  * liquid.
@@ -4240,7 +4211,6 @@ export class BlockPermutation {
4240
4211
  */
4241
4212
  canBeDestroyedByLiquidSpread(liquidType: LiquidType): boolean;
4242
4213
  /**
4243
- * @rc
4244
4214
  * @remarks
4245
4215
  * Returns whether this block can have a liquid placed over it,
4246
4216
  * i.e. be waterlogged.
@@ -4319,7 +4289,6 @@ export class BlockPermutation {
4319
4289
  */
4320
4290
  hasTag(tag: string): boolean;
4321
4291
  /**
4322
- * @rc
4323
4292
  * @remarks
4324
4293
  * Returns whether this block stops liquid from flowing.
4325
4294
  *
@@ -4333,7 +4302,6 @@ export class BlockPermutation {
4333
4302
  */
4334
4303
  isLiquidBlocking(liquidType: LiquidType): boolean;
4335
4304
  /**
4336
- * @rc
4337
4305
  * @remarks
4338
4306
  * Returns whether this block is removed and spawns its item
4339
4307
  * when touched by liquid.
@@ -11611,7 +11579,6 @@ export class InputInfo {
11611
11579
  */
11612
11580
  readonly touchOnlyAffectsHotbar: boolean;
11613
11581
  /**
11614
- * @rc
11615
11582
  * @throws This function can throw errors.
11616
11583
  *
11617
11584
  * {@link minecraftcommon.EngineError}
@@ -11620,7 +11587,6 @@ export class InputInfo {
11620
11587
  */
11621
11588
  getButtonState(button: InputButton): ButtonState;
11622
11589
  /**
11623
- * @rc
11624
11590
  * @throws This function can throw errors.
11625
11591
  *
11626
11592
  * {@link InvalidEntityError}
@@ -14153,7 +14119,6 @@ export class Player extends Entity {
14153
14119
  */
14154
14120
  setSpawnPoint(spawnPoint?: DimensionLocation): void;
14155
14121
  /**
14156
- * @rc
14157
14122
  * @remarks
14158
14123
  * Creates a new particle emitter at a specified location in
14159
14124
  * the world. Only visible to the target player.
@@ -14397,7 +14362,6 @@ export class PlayerBreakBlockBeforeEventSignal {
14397
14362
  }
14398
14363
 
14399
14364
  /**
14400
- * @rc
14401
14365
  * Event data for when a player presses a button.
14402
14366
  */
14403
14367
  export class PlayerButtonInputAfterEvent {
@@ -14423,7 +14387,6 @@ export class PlayerButtonInputAfterEvent {
14423
14387
  }
14424
14388
 
14425
14389
  /**
14426
- * @rc
14427
14390
  * Manages callbacks that are connected to player inputs.
14428
14391
  */
14429
14392
  export class PlayerButtonInputAfterEventSignal {
@@ -17154,7 +17117,6 @@ export class System {
17154
17117
  */
17155
17118
  runTimeout(callback: () => void, tickDelay?: number): number;
17156
17119
  /**
17157
- * @rc
17158
17120
  * @remarks
17159
17121
  * Causes an event to fire within script with the specified
17160
17122
  * message ID and payload.
@@ -18385,7 +18347,6 @@ export class WorldAfterEvents {
18385
18347
  */
18386
18348
  readonly playerBreakBlock: PlayerBreakBlockAfterEventSignal;
18387
18349
  /**
18388
- * @rc
18389
18350
  * @remarks
18390
18351
  * This event fires when an {@link InputButton} state is
18391
18352
  * changed.
@@ -19941,7 +19902,6 @@ export interface GreaterThanOrEqualsComparison {
19941
19902
  }
19942
19903
 
19943
19904
  /**
19944
- * @rc
19945
19905
  * An interface that is passed into {@link
19946
19906
  * @minecraft/Server.PlayerButtonInputAfterEventSignal.subscribe}
19947
19907
  * that filters out which events are passed to the provided
@@ -20983,7 +20943,6 @@ export class LocationOutOfWorldBoundariesError extends Error {
20983
20943
  }
20984
20944
 
20985
20945
  /**
20986
- * @rc
20987
20946
  * Thrown when a name requires a namespace and an error occurs
20988
20947
  * when validating that namespace
20989
20948
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "2.0.0-beta.1.21.70-preview.25",
3
+ "version": "2.0.0-beta.1.21.70-stable",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {