@minecraft/server 1.10.0-beta.1.20.70-preview.25 → 1.10.0-beta.1.20.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 +1 -65
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  * ```json
16
16
  * {
17
17
  * "module_name": "@minecraft/server",
18
- * "version": "1.8.0"
18
+ * "version": "1.9.0"
19
19
  * }
20
20
  * ```
21
21
  *
@@ -36,33 +36,28 @@ export enum BlockComponentTypes {
36
36
  }
37
37
 
38
38
  /**
39
- * @beta
40
39
  * An enumeration describing the state of a block piston.
41
40
  */
42
41
  export enum BlockPistonState {
43
42
  /**
44
- * @beta
45
43
  * @remarks
46
44
  * Whether the piston is fully expanded.
47
45
  *
48
46
  */
49
47
  Expanded = 'Expanded',
50
48
  /**
51
- * @beta
52
49
  * @remarks
53
50
  * Whether the piston is in the process of expanding.
54
51
  *
55
52
  */
56
53
  Expanding = 'Expanding',
57
54
  /**
58
- * @beta
59
55
  * @remarks
60
56
  * Whether the piston is fully retracted.
61
57
  *
62
58
  */
63
59
  Retracted = 'Retracted',
64
60
  /**
65
- * @beta
66
61
  * @remarks
67
62
  * Whether the piston is in the process of retracting.
68
63
  *
@@ -255,117 +250,100 @@ export enum DisplaySlotId {
255
250
  }
256
251
 
257
252
  /**
258
- * @beta
259
253
  * Specifies different colors for use as dye.
260
254
  */
261
255
  export enum DyeColor {
262
256
  /**
263
- * @beta
264
257
  * @remarks
265
258
  * Black dye color.
266
259
  *
267
260
  */
268
261
  Black = 'Black',
269
262
  /**
270
- * @beta
271
263
  * @remarks
272
264
  * Blue dye color.
273
265
  *
274
266
  */
275
267
  Blue = 'Blue',
276
268
  /**
277
- * @beta
278
269
  * @remarks
279
270
  * Brown dye color.
280
271
  *
281
272
  */
282
273
  Brown = 'Brown',
283
274
  /**
284
- * @beta
285
275
  * @remarks
286
276
  * Cyan dye color.
287
277
  *
288
278
  */
289
279
  Cyan = 'Cyan',
290
280
  /**
291
- * @beta
292
281
  * @remarks
293
282
  * Gray dye color.
294
283
  *
295
284
  */
296
285
  Gray = 'Gray',
297
286
  /**
298
- * @beta
299
287
  * @remarks
300
288
  * Green dye color.
301
289
  *
302
290
  */
303
291
  Green = 'Green',
304
292
  /**
305
- * @beta
306
293
  * @remarks
307
294
  * Light blue dye color.
308
295
  *
309
296
  */
310
297
  LightBlue = 'LightBlue',
311
298
  /**
312
- * @beta
313
299
  * @remarks
314
300
  * Lime dye color.
315
301
  *
316
302
  */
317
303
  Lime = 'Lime',
318
304
  /**
319
- * @beta
320
305
  * @remarks
321
306
  * Magenta dye color.
322
307
  *
323
308
  */
324
309
  Magenta = 'Magenta',
325
310
  /**
326
- * @beta
327
311
  * @remarks
328
312
  * Orange dye color.
329
313
  *
330
314
  */
331
315
  Orange = 'Orange',
332
316
  /**
333
- * @beta
334
317
  * @remarks
335
318
  * Pink dye color.
336
319
  *
337
320
  */
338
321
  Pink = 'Pink',
339
322
  /**
340
- * @beta
341
323
  * @remarks
342
324
  * Purple dye color.
343
325
  *
344
326
  */
345
327
  Purple = 'Purple',
346
328
  /**
347
- * @beta
348
329
  * @remarks
349
330
  * Red dye color.
350
331
  *
351
332
  */
352
333
  Red = 'Red',
353
334
  /**
354
- * @beta
355
335
  * @remarks
356
336
  * Silver dye color.
357
337
  *
358
338
  */
359
339
  Silver = 'Silver',
360
340
  /**
361
- * @beta
362
341
  * @remarks
363
342
  * White dye color.
364
343
  *
365
344
  */
366
345
  White = 'White',
367
346
  /**
368
- * @beta
369
347
  * @remarks
370
348
  * Yellow dye color.
371
349
  *
@@ -1388,19 +1366,16 @@ export enum ScriptEventSource {
1388
1366
  }
1389
1367
 
1390
1368
  /**
1391
- * @beta
1392
1369
  * Represents a side of a sign.
1393
1370
  */
1394
1371
  export enum SignSide {
1395
1372
  /**
1396
- * @beta
1397
1373
  * @remarks
1398
1374
  * The back of the sign.
1399
1375
  *
1400
1376
  */
1401
1377
  Back = 'Back',
1402
1378
  /**
1403
- * @beta
1404
1379
  * @remarks
1405
1380
  * The front of the sign.
1406
1381
  *
@@ -2514,7 +2489,6 @@ export class BlockPermutation {
2514
2489
  */
2515
2490
  clone(): BlockPermutation;
2516
2491
  /**
2517
- * @beta
2518
2492
  * @remarks
2519
2493
  * Returns all available block states associated with this
2520
2494
  * block.
@@ -2651,7 +2625,6 @@ export class BlockPermutation {
2651
2625
  }
2652
2626
 
2653
2627
  /**
2654
- * @beta
2655
2628
  * When present, this block has piston-like behavior. Contains
2656
2629
  * additional properties for discovering block piston state.
2657
2630
  */
@@ -2750,7 +2723,6 @@ export class BlockRecordPlayerComponent extends BlockComponent {
2750
2723
  }
2751
2724
 
2752
2725
  /**
2753
- * @beta
2754
2726
  * Represents a block that can display text on it.
2755
2727
  * @example addTwoSidedSign.ts
2756
2728
  * ```typescript
@@ -2993,7 +2965,6 @@ export class BlockSnowContainerComponent extends BlockLiquidContainerComponent {
2993
2965
  }
2994
2966
 
2995
2967
  /**
2996
- * @beta
2997
2968
  * Enumerates all {@link BlockStateType}s.
2998
2969
  */
2999
2970
  export class BlockStates {
@@ -3016,7 +2987,6 @@ export class BlockStates {
3016
2987
  }
3017
2988
 
3018
2989
  /**
3019
- * @beta
3020
2990
  * Represents a configurable state value of a block instance.
3021
2991
  * For example, the facing direction of stairs is accessible as
3022
2992
  * a block state.
@@ -4078,7 +4048,6 @@ export class Container {
4078
4048
  */
4079
4049
  getItem(slot: number): ItemStack | undefined;
4080
4050
  /**
4081
- * @beta
4082
4051
  * @remarks
4083
4052
  * Returns a container slot. This acts as a reference to a slot
4084
4053
  * at the given index for this container.
@@ -4220,7 +4189,6 @@ export class Container {
4220
4189
  }
4221
4190
 
4222
4191
  /**
4223
- * @beta
4224
4192
  * Represents a slot within a broader container (e.g., entity
4225
4193
  * inventory.)
4226
4194
  */
@@ -4720,7 +4688,6 @@ export class Dimension {
4720
4688
  */
4721
4689
  readonly id: string;
4722
4690
  /**
4723
- * @beta
4724
4691
  * @remarks
4725
4692
  * Creates an explosion at the specified location.
4726
4693
  *
@@ -5151,7 +5118,6 @@ export class Dimension {
5151
5118
  }
5152
5119
 
5153
5120
  /**
5154
- * @beta
5155
5121
  * Represents a type of dimension.
5156
5122
  */
5157
5123
  export class DimensionType {
@@ -5165,7 +5131,6 @@ export class DimensionType {
5165
5131
  }
5166
5132
 
5167
5133
  /**
5168
- * @beta
5169
5134
  * Used for accessing all available dimension types.
5170
5135
  */
5171
5136
  export class DimensionTypes {
@@ -5358,7 +5323,6 @@ export class EffectType {
5358
5323
  }
5359
5324
 
5360
5325
  /**
5361
- * @beta
5362
5326
  * Represents a type of effect - like poison - that can be
5363
5327
  * applied to an entity.
5364
5328
  */
@@ -5799,7 +5763,6 @@ export class Entity {
5799
5763
  */
5800
5764
  clearVelocity(): void;
5801
5765
  /**
5802
- * @beta
5803
5766
  * @remarks
5804
5767
  * Extinguishes the fire if the entity is on fire. Note that
5805
5768
  * you can call getComponent('minecraft:onfire') and, if
@@ -6109,7 +6072,6 @@ export class Entity {
6109
6072
  */
6110
6073
  matches(options: EntityQueryOptions): boolean;
6111
6074
  /**
6112
- * @beta
6113
6075
  * @remarks
6114
6076
  * Cause the entity to play the given animation.
6115
6077
  *
@@ -6231,7 +6193,6 @@ export class Entity {
6231
6193
  */
6232
6194
  setDynamicProperty(identifier: string, value?: boolean | number | string | Vector3): void;
6233
6195
  /**
6234
- * @beta
6235
6196
  * @remarks
6236
6197
  * Sets an entity on fire (if it is not in water or rain). Note
6237
6198
  * that you can call getComponent('minecraft:onfire') and, if
@@ -6851,7 +6812,6 @@ export class EntityEquippableComponent extends EntityComponent {
6851
6812
  */
6852
6813
  getEquipment(equipmentSlot: EquipmentSlot): ItemStack | undefined;
6853
6814
  /**
6854
- * @beta
6855
6815
  * @remarks
6856
6816
  * Gets the ContainerSlot corresponding to the given
6857
6817
  * EquipmentSlot.
@@ -8025,7 +7985,6 @@ export class EntityNpcComponent extends EntityComponent {
8025
7985
  }
8026
7986
 
8027
7987
  /**
8028
- * @beta
8029
7988
  * When present on an entity, this entity is on fire.
8030
7989
  * @example setEntityOnFire.ts
8031
7990
  * ```typescript
@@ -9493,7 +9452,6 @@ export class ItemCooldownComponent extends ItemComponent {
9493
9452
  }
9494
9453
 
9495
9454
  /**
9496
- * @beta
9497
9455
  * When present on an item, this item can take damage in the
9498
9456
  * process of being used. Note that this component only applies
9499
9457
  * to data-driven items.
@@ -9731,7 +9689,6 @@ export class ItemEnchantableComponent extends ItemComponent {
9731
9689
  }
9732
9690
 
9733
9691
  /**
9734
- * @beta
9735
9692
  * When present on an item, this item is consumable by
9736
9693
  * entities. Note that this component only applies to
9737
9694
  * data-driven items.
@@ -9977,7 +9934,6 @@ export class ItemStack {
9977
9934
  */
9978
9935
  constructor(itemType: ItemType | string, amount?: number);
9979
9936
  /**
9980
- * @beta
9981
9937
  * @remarks
9982
9938
  * Clears all dynamic properties that have been set on this
9983
9939
  * item stack.
@@ -10055,7 +10011,6 @@ export class ItemStack {
10055
10011
  */
10056
10012
  getComponents(): ItemComponent[];
10057
10013
  /**
10058
- * @beta
10059
10014
  * @remarks
10060
10015
  * Returns a property value.
10061
10016
  *
@@ -10067,7 +10022,6 @@ export class ItemStack {
10067
10022
  */
10068
10023
  getDynamicProperty(identifier: string): boolean | number | string | Vector3 | undefined;
10069
10024
  /**
10070
- * @beta
10071
10025
  * @remarks
10072
10026
  * Returns the available set of dynamic property identifiers
10073
10027
  * that have been used on this entity.
@@ -10077,7 +10031,6 @@ export class ItemStack {
10077
10031
  */
10078
10032
  getDynamicPropertyIds(): string[];
10079
10033
  /**
10080
- * @beta
10081
10034
  * @remarks
10082
10035
  * Returns the total size, in bytes, of all the dynamic
10083
10036
  * properties that are currently stored for this entity. This
@@ -10226,7 +10179,6 @@ export class ItemStack {
10226
10179
  */
10227
10180
  setCanPlaceOn(blockIdentifiers?: string[]): void;
10228
10181
  /**
10229
- * @beta
10230
10182
  * @remarks
10231
10183
  * Sets a specified property to a value. Note: This function
10232
10184
  * only works with non-stackable items.
@@ -10930,7 +10882,6 @@ export class MolangVariableMap {
10930
10882
  }
10931
10883
 
10932
10884
  /**
10933
- * @beta
10934
10885
  * Contains information related to changes to a piston
10935
10886
  * expanding or retracting.
10936
10887
  * @example pistonAfterEvent.ts
@@ -10962,7 +10913,6 @@ export class PistonActivateAfterEvent extends BlockEvent {
10962
10913
  }
10963
10914
 
10964
10915
  /**
10965
- * @beta
10966
10916
  * Manages callbacks that are connected to piston activations.
10967
10917
  * @example pistonAfterEvent.ts
10968
10918
  * ```typescript
@@ -13675,7 +13625,6 @@ export class WatchdogTerminateBeforeEventSignal {
13675
13625
  }
13676
13626
 
13677
13627
  /**
13678
- * @beta
13679
13628
  * Contains information related to changes in weather in the
13680
13629
  * environment.
13681
13630
  */
@@ -13702,7 +13651,6 @@ export class WeatherChangeAfterEvent {
13702
13651
  }
13703
13652
 
13704
13653
  /**
13705
- * @beta
13706
13654
  * Manages callbacks that are connected to weather changing.
13707
13655
  */
13708
13656
  export class WeatherChangeAfterEventSignal {
@@ -14345,7 +14293,6 @@ export class WorldAfterEvents {
14345
14293
  */
14346
14294
  readonly dataDrivenEntityTrigger: DataDrivenEntityTriggerAfterEventSignal;
14347
14295
  /**
14348
- * @beta
14349
14296
  * @remarks
14350
14297
  * This event fires when an effect, like poisoning, is added to
14351
14298
  * an entity.
@@ -14404,7 +14351,6 @@ export class WorldAfterEvents {
14404
14351
  */
14405
14352
  readonly entitySpawn: EntitySpawnAfterEventSignal;
14406
14353
  /**
14407
- * @beta
14408
14354
  * @remarks
14409
14355
  * This event is fired after an explosion occurs.
14410
14356
  *
@@ -14490,7 +14436,6 @@ export class WorldAfterEvents {
14490
14436
  */
14491
14437
  readonly messageReceive: ServerMessageAfterEventSignal;
14492
14438
  /**
14493
- * @beta
14494
14439
  * @remarks
14495
14440
  * This event fires when a piston expands or retracts.
14496
14441
  *
@@ -14593,7 +14538,6 @@ export class WorldAfterEvents {
14593
14538
  */
14594
14539
  readonly tripWireTrip: TripWireTripAfterEventSignal;
14595
14540
  /**
14596
- * @beta
14597
14541
  * @remarks
14598
14542
  * This event will be triggered when the weather changes within
14599
14543
  * Minecraft.
@@ -14638,7 +14582,6 @@ export class WorldBeforeEvents {
14638
14582
  */
14639
14583
  readonly dataDrivenEntityTriggerEvent: DataDrivenEntityTriggerBeforeEventSignal;
14640
14584
  /**
14641
- * @beta
14642
14585
  * @remarks
14643
14586
  * This event is triggered after an event has been added to an
14644
14587
  * entity.
@@ -14653,7 +14596,6 @@ export class WorldBeforeEvents {
14653
14596
  */
14654
14597
  readonly entityRemove: EntityRemoveBeforeEventSignal;
14655
14598
  /**
14656
- * @beta
14657
14599
  * @remarks
14658
14600
  * This event is fired after an explosion occurs.
14659
14601
  *
@@ -15672,7 +15614,6 @@ export interface EntityRaycastOptions {
15672
15614
  }
15673
15615
 
15674
15616
  /**
15675
- * @beta
15676
15617
  * Additional configuration options for the {@link
15677
15618
  * Dimension.createExplosion} method.
15678
15619
  * @example createExplosions.ts
@@ -15747,7 +15688,6 @@ export interface MusicOptions {
15747
15688
  }
15748
15689
 
15749
15690
  /**
15750
- * @beta
15751
15691
  * Contains additional options for how an animation is played.
15752
15692
  */
15753
15693
  export interface PlayAnimationOptions {
@@ -15939,7 +15879,6 @@ export interface RawMessageScore {
15939
15879
  }
15940
15880
 
15941
15881
  /**
15942
- * @beta
15943
15882
  * A `RawMessage` with only the `rawtext` property. When a
15944
15883
  * `RawMessage` is serialized the contents are put into a
15945
15884
  * rawtext property, so this is useful when reading saved
@@ -16252,9 +16191,6 @@ export class EnchantmentTypeUnknownIdError extends Error {
16252
16191
  private constructor();
16253
16192
  }
16254
16193
 
16255
- /**
16256
- * @beta
16257
- */
16258
16194
  // @ts-ignore Class inheritance allowed for native defined classes
16259
16195
  export class InvalidContainerSlotError extends Error {
16260
16196
  private constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.10.0-beta.1.20.70-preview.25",
3
+ "version": "1.10.0-beta.1.20.70-stable",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {