@minecraft/server 1.5.0-rc.1.20.30-preview.20 → 1.5.0-rc.1.20.30-preview.22

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 +488 -13
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -16,7 +16,7 @@
16
16
  * ```json
17
17
  * {
18
18
  * "module_name": "@minecraft/server",
19
- * "version": "1.6.0-internal.1.20.30-preview.20"
19
+ * "version": "1.6.0-internal.1.20.30-preview.22"
20
20
  * }
21
21
  * ```
22
22
  *
@@ -116,6 +116,62 @@ export enum EntityDamageCause {
116
116
  wither = 'wither',
117
117
  }
118
118
 
119
+ /**
120
+ * @beta
121
+ * The equipment slot of the mob. This includes armor, offhand
122
+ * and mainhand slots.
123
+ */
124
+ export enum EquipmentSlot {
125
+ /**
126
+ * @beta
127
+ * @remarks
128
+ * The chest slot. This slot is used to hold items such as
129
+ * Chestplate or Elytra.
130
+ *
131
+ */
132
+ Chest = 'Chest',
133
+ /**
134
+ * @beta
135
+ * @remarks
136
+ * The feet slot. This slot is used to hold items such as
137
+ * Boots.
138
+ *
139
+ */
140
+ Feet = 'Feet',
141
+ /**
142
+ * @beta
143
+ * @remarks
144
+ * The head slot. This slot is used to hold items such as
145
+ * Helmets or Carved Pumpkins.
146
+ *
147
+ */
148
+ Head = 'Head',
149
+ /**
150
+ * @beta
151
+ * @remarks
152
+ * The legs slot. This slot is used to hold items such as
153
+ * Leggings.
154
+ *
155
+ */
156
+ Legs = 'Legs',
157
+ /**
158
+ * @beta
159
+ * @remarks
160
+ * The mainhand slot. For players, the mainhand slot refers to
161
+ * the currently active hotbar slot.
162
+ *
163
+ */
164
+ Mainhand = 'Mainhand',
165
+ /**
166
+ * @beta
167
+ * @remarks
168
+ * The offhand slot. This slot is used to hold items such as
169
+ * shields and maps.
170
+ *
171
+ */
172
+ Offhand = 'Offhand',
173
+ }
174
+
119
175
  /**
120
176
  * @beta
121
177
  * Represents a game mode for the current world experience.
@@ -773,7 +829,6 @@ export class Dimension {
773
829
  * @remarks
774
830
  * Identifier of the dimension.
775
831
  *
776
- * @throws This property can throw when used.
777
832
  */
778
833
  readonly id: string;
779
834
  /**
@@ -1058,6 +1113,39 @@ export class Dimension {
1058
1113
  * ```
1059
1114
  */
1060
1115
  spawnItem(itemStack: ItemStack, location: Vector3): Entity;
1116
+ /**
1117
+ * @beta
1118
+ * @remarks
1119
+ * Creates a new particle emitter at a specified location in
1120
+ * the world.
1121
+ *
1122
+ * This function can't be called in read-only mode.
1123
+ *
1124
+ * @param effectName
1125
+ * Identifier of the particle to create.
1126
+ * @param location
1127
+ * The location at which to create the particle emitter.
1128
+ * @param molangVariables
1129
+ * A set of optional, customizable variables that can be
1130
+ * adjusted for this particle.
1131
+ * @throws This function can throw errors.
1132
+ * @example spawnParticle.ts
1133
+ * ```typescript
1134
+ * for (let i = 0; i < 100; i++) {
1135
+ * const molang = new mc.MolangVariableMap();
1136
+ *
1137
+ * molang.setColorRGB("variable.color", { red: Math.random(), green: Math.random(), blue: Math.random(), alpha: 1 });
1138
+ *
1139
+ * let newLocation = {
1140
+ * x: targetLocation.x + Math.floor(Math.random() * 8) - 4,
1141
+ * y: targetLocation.y + Math.floor(Math.random() * 8) - 4,
1142
+ * z: targetLocation.z + Math.floor(Math.random() * 8) - 4,
1143
+ * };
1144
+ * overworld.spawnParticle("minecraft:colored_flame_particle", newLocation, molang);
1145
+ * }
1146
+ * ```
1147
+ */
1148
+ spawnParticle(effectName: string, location: Vector3, molangVariables?: MolangVariableMap): void;
1061
1149
  }
1062
1150
 
1063
1151
  /**
@@ -1149,7 +1237,6 @@ export class Entity {
1149
1237
  * property is accessible even if {@link Entity.isValid} is
1150
1238
  * false.
1151
1239
  *
1152
- * @throws This property can throw when used.
1153
1240
  */
1154
1241
  readonly id: string;
1155
1242
  /**
@@ -1173,17 +1260,17 @@ export class Entity {
1173
1260
  * @beta
1174
1261
  * @remarks
1175
1262
  * Returns a scoreboard identity that represents this entity.
1263
+ * Will remain valid when the entity is killed.
1176
1264
  *
1177
1265
  * @throws This property can throw when used.
1178
1266
  */
1179
1267
  readonly scoreboardIdentity?: ScoreboardIdentity;
1180
1268
  /**
1181
1269
  * @remarks
1182
- * Unique identifier of the type of the entity - for example,
1270
+ * Identifier of the type of the entity - for example,
1183
1271
  * 'minecraft:skeleton'. This property is accessible even if
1184
1272
  * {@link Entity.isValid} is false.
1185
1273
  *
1186
- * @throws This property can throw when used.
1187
1274
  */
1188
1275
  readonly typeId: string;
1189
1276
  /**
@@ -1688,6 +1775,30 @@ export class Entity {
1688
1775
  * ```
1689
1776
  */
1690
1777
  teleport(location: Vector3, teleportOptions?: TeleportOptions): void;
1778
+ /**
1779
+ * @beta
1780
+ * @remarks
1781
+ * Triggers an entity type event. For every entity, a number of
1782
+ * events are defined in an entities' definition for key entity
1783
+ * behaviors; for example, creepers have a
1784
+ * minecraft:start_exploding type event.
1785
+ *
1786
+ * This function can't be called in read-only mode.
1787
+ *
1788
+ * @param eventName
1789
+ * Name of the entity type event to trigger. If a namespace is
1790
+ * not specified, minecraft: is assumed.
1791
+ * @throws
1792
+ * If the event is not defined in the definition of the entity,
1793
+ * an error will be thrown.
1794
+ * @example triggerEvent.ts
1795
+ * ```typescript
1796
+ * const creeper = overworld.spawnEntity("minecraft:creeper", targetLocation);
1797
+ *
1798
+ * creeper.triggerEvent("minecraft:start_exploding_forced");
1799
+ * ```
1800
+ */
1801
+ triggerEvent(eventName: string): void;
1691
1802
  /**
1692
1803
  * @beta
1693
1804
  * @remarks
@@ -1928,6 +2039,29 @@ export class EntityDieAfterEventSignal {
1928
2039
  unsubscribe(callback: (arg: EntityDieAfterEvent) => void): void;
1929
2040
  }
1930
2041
 
2042
+ /**
2043
+ * @beta
2044
+ */
2045
+ // @ts-ignore Class inheritance allowed for native defined classes
2046
+ export class EntityEquippableComponent extends EntityComponent {
2047
+ private constructor();
2048
+ static readonly componentId = 'minecraft:equippable';
2049
+ /**
2050
+ * @remarks
2051
+ * This function can't be called in read-only mode.
2052
+ *
2053
+ * @throws This function can throw errors.
2054
+ */
2055
+ getEquipment(equipmentSlot: EquipmentSlot): ItemStack | undefined;
2056
+ /**
2057
+ * @remarks
2058
+ * This function can't be called in read-only mode.
2059
+ *
2060
+ * @throws This function can throw errors.
2061
+ */
2062
+ setEquipment(equipmentSlot: EquipmentSlot, itemStack?: ItemStack): boolean;
2063
+ }
2064
+
1931
2065
  /**
1932
2066
  * @beta
1933
2067
  * When added, this component signifies that this entity
@@ -3034,7 +3168,7 @@ export class ItemStack {
3034
3168
  * The identifier of the component (e.g., 'minecraft:food') to
3035
3169
  * retrieve. If no namespace prefix is specified, 'minecraft:'
3036
3170
  * is assumed. If the component is not present on the item
3037
- * stack, undefined is returned.
3171
+ * stack or doesn't exist, undefined is returned.
3038
3172
  * @example durability.ts
3039
3173
  * ```typescript
3040
3174
  * // Get the maximum durability of a custom sword item
@@ -3058,7 +3192,7 @@ export class ItemStack {
3058
3192
  * ItemStack.
3059
3193
  *
3060
3194
  * @returns
3061
- * An array of lore strings. If the item does not have lore,
3195
+ * An array of lore lines. If the item does not have lore,
3062
3196
  * returns an empty array.
3063
3197
  */
3064
3198
  getLore(): string[];
@@ -3081,16 +3215,26 @@ export class ItemStack {
3081
3215
  * item stacks. The amount of each item stack is not taken into
3082
3216
  * consideration.
3083
3217
  *
3218
+ * @param itemStack
3219
+ * ItemStack to check stacking compatability with.
3220
+ * @returns
3221
+ * True if the Item Stack is stackable with the itemStack
3222
+ * passed in.
3084
3223
  */
3085
3224
  isStackableWith(itemStack: ItemStack): boolean;
3086
3225
  /**
3087
3226
  * @beta
3088
3227
  * @remarks
3089
3228
  * Sets the lore value - a secondary display string - for an
3090
- * ItemStack.
3229
+ * ItemStack. The lore list is cleared if set to an empty
3230
+ * string or undefined.
3091
3231
  *
3092
3232
  * This function can't be called in read-only mode.
3093
3233
  *
3234
+ * @param loreList
3235
+ * List of lore lines. Each element in the list represents a
3236
+ * new line. The maximum lore line count is 20. The maximum
3237
+ * lore line length is 50 characters.
3094
3238
  * @throws This function can throw errors.
3095
3239
  * @example diamondAwesomeSword.ts
3096
3240
  * ```typescript
@@ -3649,6 +3793,64 @@ export class MinecraftDimensionTypes {
3649
3793
  static readonly theEnd = 'minecraft:the_end';
3650
3794
  }
3651
3795
 
3796
+ /**
3797
+ * @beta
3798
+ * Contains a set of additional variable values for further
3799
+ * defining how rendering and animations function.
3800
+ */
3801
+ export class MolangVariableMap {
3802
+ /**
3803
+ * @remarks
3804
+ * Adds the following variables to Molang:
3805
+ * - `<variable_name>.r` - Red color value [0-1]
3806
+ * - `<variable_name>.g` - Green color value [0-1]
3807
+ * - `<variable_name>.b` - Blue color value [0-1]
3808
+ *
3809
+ * @throws This function can throw errors.
3810
+ */
3811
+ setColorRGB(variableName: string, color: RGB): void;
3812
+ /**
3813
+ * @remarks
3814
+ * Adds the following variables to Molang:
3815
+ * - `<variable_name>.r` - Red color value [0-1]
3816
+ * - `<variable_name>.g` - Green color value [0-1]
3817
+ * - `<variable_name>.b` - Blue color value [0-1]
3818
+ * - `<variable_name>.a` - Alpha (transparency) color value
3819
+ * [0-1]
3820
+ *
3821
+ * @throws This function can throw errors.
3822
+ */
3823
+ setColorRGBA(variableName: string, color: RGBA): void;
3824
+ setFloat(variableName: string, number: number): void;
3825
+ /**
3826
+ * @remarks
3827
+ * Adds the following variables to Molang:
3828
+ * - `<variable_name>.speed` - Speed number provided
3829
+ * - `<variable_name>.direction_x` - X value from the {@link
3830
+ * Vector3} provided
3831
+ * - `<variable_name>.direction_y` - Y value from the {@link
3832
+ * Vector3} provided
3833
+ * - `<variable_name>.direction_z` - Z value from the {@link
3834
+ * Vector3} provided
3835
+ *
3836
+ * @throws This function can throw errors.
3837
+ */
3838
+ setSpeedAndDirection(variableName: string, speed: number, direction: Vector3): void;
3839
+ /**
3840
+ * @remarks
3841
+ * Adds the following variables to Molang:
3842
+ * - `<variable_name>.x` - X value from the {@link Vector3}
3843
+ * provided
3844
+ * - `<variable_name>.y` - Y value from the {@link Vector3}
3845
+ * provided
3846
+ * - `<variable_name>.z` - Z value from the {@link Vector3}
3847
+ * provided
3848
+ *
3849
+ * @throws This function can throw errors.
3850
+ */
3851
+ setVector3(variableName: string, vector: Vector3): void;
3852
+ }
3853
+
3652
3854
  /**
3653
3855
  * Represents a player within the world.
3654
3856
  */
@@ -3992,6 +4194,158 @@ export class PressurePlatePushAfterEventSignal {
3992
4194
  unsubscribe(callback: (arg: PressurePlatePushAfterEvent) => void): void;
3993
4195
  }
3994
4196
 
4197
+ /**
4198
+ * @beta
4199
+ * Contains information related to a projectile hitting a
4200
+ * block.
4201
+ */
4202
+ export class ProjectileHitBlockAfterEvent {
4203
+ private constructor();
4204
+ /**
4205
+ * @remarks
4206
+ * Dimension where this projectile hit took place.
4207
+ *
4208
+ */
4209
+ readonly dimension: Dimension;
4210
+ /**
4211
+ * @remarks
4212
+ * Direction vector of the projectile as it hit a block.
4213
+ *
4214
+ */
4215
+ readonly hitVector: Vector3;
4216
+ /**
4217
+ * @remarks
4218
+ * Location where the projectile hit occurred.
4219
+ *
4220
+ */
4221
+ readonly location: Vector3;
4222
+ /**
4223
+ * @remarks
4224
+ * Entity for the projectile that hit a block.
4225
+ *
4226
+ */
4227
+ readonly projectile: Entity;
4228
+ /**
4229
+ * @remarks
4230
+ * Optional source entity that fired the projectile.
4231
+ *
4232
+ */
4233
+ readonly source?: Entity;
4234
+ /**
4235
+ * @remarks
4236
+ * Contains additional information about the block that was hit
4237
+ * by the projectile.
4238
+ *
4239
+ * This function can't be called in read-only mode.
4240
+ *
4241
+ */
4242
+ getBlockHit(): BlockHitInformation;
4243
+ }
4244
+
4245
+ /**
4246
+ * @beta
4247
+ * Manages callbacks that are connected to when a projectile
4248
+ * hits a block.
4249
+ */
4250
+ export class ProjectileHitBlockAfterEventSignal {
4251
+ private constructor();
4252
+ /**
4253
+ * @remarks
4254
+ * Adds a callback that will be called when a projectile hits a
4255
+ * block.
4256
+ *
4257
+ * This function can't be called in read-only mode.
4258
+ *
4259
+ */
4260
+ subscribe(callback: (arg: ProjectileHitBlockAfterEvent) => void): (arg: ProjectileHitBlockAfterEvent) => void;
4261
+ /**
4262
+ * @remarks
4263
+ * Removes a callback from being called when a projectile hits
4264
+ * a block.
4265
+ *
4266
+ * This function can't be called in read-only mode.
4267
+ *
4268
+ * @throws This function can throw errors.
4269
+ */
4270
+ unsubscribe(callback: (arg: ProjectileHitBlockAfterEvent) => void): void;
4271
+ }
4272
+
4273
+ /**
4274
+ * @beta
4275
+ * Contains information related to a projectile hitting an
4276
+ * entity.
4277
+ */
4278
+ export class ProjectileHitEntityAfterEvent {
4279
+ private constructor();
4280
+ /**
4281
+ * @remarks
4282
+ * Dimension where this projectile hit took place.
4283
+ *
4284
+ */
4285
+ readonly dimension: Dimension;
4286
+ /**
4287
+ * @remarks
4288
+ * Direction vector of the projectile as it hit an entity.
4289
+ *
4290
+ */
4291
+ readonly hitVector: Vector3;
4292
+ /**
4293
+ * @remarks
4294
+ * Location where the projectile hit occurred.
4295
+ *
4296
+ */
4297
+ readonly location: Vector3;
4298
+ /**
4299
+ * @remarks
4300
+ * Entity for the projectile that hit an entity.
4301
+ *
4302
+ */
4303
+ readonly projectile: Entity;
4304
+ /**
4305
+ * @remarks
4306
+ * Optional source entity that fired the projectile.
4307
+ *
4308
+ */
4309
+ readonly source?: Entity;
4310
+ /**
4311
+ * @remarks
4312
+ * Contains additional information about an entity that was
4313
+ * hit.
4314
+ *
4315
+ * This function can't be called in read-only mode.
4316
+ *
4317
+ */
4318
+ getEntityHit(): EntityHitInformation;
4319
+ }
4320
+
4321
+ /**
4322
+ * @beta
4323
+ * Manages callbacks that are connected to when a projectile
4324
+ * hits an entity.
4325
+ */
4326
+ export class ProjectileHitEntityAfterEventSignal {
4327
+ private constructor();
4328
+ /**
4329
+ * @remarks
4330
+ * Adds a callback that will be called when a projectile hits
4331
+ * an entity.
4332
+ *
4333
+ * This function can't be called in read-only mode.
4334
+ *
4335
+ */
4336
+ subscribe(callback: (arg: ProjectileHitEntityAfterEvent) => void): (arg: ProjectileHitEntityAfterEvent) => void;
4337
+ /**
4338
+ * @remarks
4339
+ * Removes a callback from being called when a projectile hits
4340
+ * an entity.
4341
+ *
4342
+ * This function can't be called in read-only mode.
4343
+ *
4344
+ * @throws This function can throw errors.
4345
+ */
4346
+ unsubscribe(callback: (arg: ProjectileHitEntityAfterEvent) => void): void;
4347
+ }
4348
+
3995
4349
  /**
3996
4350
  * @beta
3997
4351
  * Contains objectives and participants for the scoreboard.
@@ -4058,12 +4412,16 @@ export class Scoreboard {
4058
4412
  *
4059
4413
  * This function can't be called in read-only mode.
4060
4414
  *
4415
+ * @returns
4416
+ * Returns the previous `ScoreboardObjective` set at the
4417
+ * display slot, if no objective was previously set it returns
4418
+ * `undefined`.
4061
4419
  * @throws This function can throw errors.
4062
4420
  */
4063
4421
  setObjectiveAtDisplaySlot(
4064
4422
  displaySlotId: DisplaySlotId,
4065
4423
  objectiveDisplaySetting: ScoreboardObjectiveDisplayOptions,
4066
- ): ScoreboardObjective;
4424
+ ): ScoreboardObjective | undefined;
4067
4425
  }
4068
4426
 
4069
4427
  /**
@@ -4097,7 +4455,7 @@ export class ScoreboardIdentity {
4097
4455
  *
4098
4456
  * @throws This function can throw errors.
4099
4457
  */
4100
- getEntity(): Entity;
4458
+ getEntity(): Entity | undefined;
4101
4459
  isValid(): boolean;
4102
4460
  }
4103
4461
 
@@ -4322,7 +4680,7 @@ export class ScriptEventCommandMessageAfterEvent {
4322
4680
  * that initiated the NPC dialogue.
4323
4681
  *
4324
4682
  */
4325
- readonly initiator: Entity;
4683
+ readonly initiator?: Entity;
4326
4684
  /**
4327
4685
  * @remarks
4328
4686
  * Optional additional data passed in with the script event
@@ -4336,14 +4694,14 @@ export class ScriptEventCommandMessageAfterEvent {
4336
4694
  * (e.g., a commandblock.)
4337
4695
  *
4338
4696
  */
4339
- readonly sourceBlock: Block;
4697
+ readonly sourceBlock?: Block;
4340
4698
  /**
4341
4699
  * @remarks
4342
4700
  * Source entity if this command was triggered by an entity
4343
4701
  * (e.g., a NPC).
4344
4702
  *
4345
4703
  */
4346
- readonly sourceEntity: Entity;
4704
+ readonly sourceEntity?: Entity;
4347
4705
  /**
4348
4706
  * @remarks
4349
4707
  * Returns the type of source that fired this command.
@@ -5044,6 +5402,20 @@ export class WorldAfterEvents {
5044
5402
  *
5045
5403
  */
5046
5404
  readonly pressurePlatePush: PressurePlatePushAfterEventSignal;
5405
+ /**
5406
+ * @beta
5407
+ * @remarks
5408
+ * This event fires when a projectile hits a block.
5409
+ *
5410
+ */
5411
+ readonly projectileHitBlock: ProjectileHitBlockAfterEventSignal;
5412
+ /**
5413
+ * @beta
5414
+ * @remarks
5415
+ * This event fires when a projectile hits an entity.
5416
+ *
5417
+ */
5418
+ readonly projectileHitEntity: ProjectileHitEntityAfterEventSignal;
5047
5419
  /**
5048
5420
  * @beta
5049
5421
  * @remarks
@@ -5086,6 +5458,32 @@ export class WorldBeforeEvents {
5086
5458
  readonly itemUseOn: ItemUseOnBeforeEventSignal;
5087
5459
  }
5088
5460
 
5461
+ /**
5462
+ * @beta
5463
+ * Contains more information for events where a block is hit.
5464
+ */
5465
+ export interface BlockHitInformation {
5466
+ /**
5467
+ * @remarks
5468
+ * Block that was hit.
5469
+ *
5470
+ */
5471
+ block: Block;
5472
+ /**
5473
+ * @remarks
5474
+ * Face of the block that was hit.
5475
+ *
5476
+ */
5477
+ face: Direction;
5478
+ /**
5479
+ * @remarks
5480
+ * Location relative to the bottom north-west corner of the
5481
+ * block.
5482
+ *
5483
+ */
5484
+ faceLocation: Vector3;
5485
+ }
5486
+
5089
5487
  /**
5090
5488
  * @beta
5091
5489
  * Contains information for block raycast hit results.
@@ -5278,6 +5676,20 @@ export interface EntityEventOptions {
5278
5676
  entityTypes?: string[];
5279
5677
  }
5280
5678
 
5679
+ /**
5680
+ * @beta
5681
+ * Contains additional information about an entity that was
5682
+ * hit.
5683
+ */
5684
+ export interface EntityHitInformation {
5685
+ /**
5686
+ * @remarks
5687
+ * Entity that was hit.
5688
+ *
5689
+ */
5690
+ entity: Entity;
5691
+ }
5692
+
5281
5693
  /**
5282
5694
  * @beta
5283
5695
  * Contains options for selecting entities within an area.
@@ -5615,6 +6027,69 @@ export interface RawMessageScore {
5615
6027
  objective?: string;
5616
6028
  }
5617
6029
 
6030
+ /**
6031
+ * @beta
6032
+ * Represents a fully customizable color within Minecraft.
6033
+ */
6034
+ export interface RGB {
6035
+ /**
6036
+ * @remarks
6037
+ * Determines a color's blue component. Valid values are
6038
+ * between 0 and 1.0.
6039
+ *
6040
+ */
6041
+ blue: number;
6042
+ /**
6043
+ * @remarks
6044
+ * Determines a color's green component. Valid values are
6045
+ * between 0 and 1.0.
6046
+ *
6047
+ */
6048
+ green: number;
6049
+ /**
6050
+ * @remarks
6051
+ * Determines a color's red component. Valid values are between
6052
+ * 0 and 1.0.
6053
+ *
6054
+ */
6055
+ red: number;
6056
+ }
6057
+
6058
+ /**
6059
+ * @beta
6060
+ * Represents a fully customizable color within Minecraft.
6061
+ */
6062
+ export interface RGBA {
6063
+ /**
6064
+ * @remarks
6065
+ * Determines a color's alpha (opacity) component. Valid values
6066
+ * are between 0 (transparent) and 1.0 (opaque).
6067
+ *
6068
+ */
6069
+ alpha: number;
6070
+ /**
6071
+ * @remarks
6072
+ * Determines a color's blue component. Valid values are
6073
+ * between 0 and 1.0.
6074
+ *
6075
+ */
6076
+ blue: number;
6077
+ /**
6078
+ * @remarks
6079
+ * Determines a color's green component. Valid values are
6080
+ * between 0 and 1.0.
6081
+ *
6082
+ */
6083
+ green: number;
6084
+ /**
6085
+ * @remarks
6086
+ * Determines a color's red component. Valid values are between
6087
+ * 0 and 1.0.
6088
+ *
6089
+ */
6090
+ red: number;
6091
+ }
6092
+
5618
6093
  /**
5619
6094
  * @beta
5620
6095
  * Contains additional options for how a scoreboard should be
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.5.0-rc.1.20.30-preview.20",
3
+ "version": "1.5.0-rc.1.20.30-preview.22",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {