@minecraft/server 2.5.0-beta.1.21.130-preview.27 → 2.5.0-beta.1.21.130-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.
- package/index.d.ts +0 -85
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -299,7 +299,6 @@ export enum ContainerRulesErrorReason {
|
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
/**
|
|
302
|
-
* @rc
|
|
303
302
|
* Control Scheme types which define how the player moves in
|
|
304
303
|
* response to player inputs.
|
|
305
304
|
* See the following page for more details on control schemes:
|
|
@@ -2205,9 +2204,6 @@ export enum ItemComponentTypes {
|
|
|
2205
2204
|
*/
|
|
2206
2205
|
Food = 'minecraft:food',
|
|
2207
2206
|
Inventory = 'minecraft:inventory',
|
|
2208
|
-
/**
|
|
2209
|
-
* @rc
|
|
2210
|
-
*/
|
|
2211
2207
|
Potion = 'minecraft:potion',
|
|
2212
2208
|
}
|
|
2213
2209
|
|
|
@@ -2237,7 +2233,6 @@ export enum ItemLockMode {
|
|
|
2237
2233
|
}
|
|
2238
2234
|
|
|
2239
2235
|
/**
|
|
2240
|
-
* @rc
|
|
2241
2236
|
* Specifies how to handle waterloggable blocks overlapping
|
|
2242
2237
|
* with existing liquid.
|
|
2243
2238
|
*/
|
|
@@ -4480,7 +4475,6 @@ export class BlockComponent extends Component {
|
|
|
4480
4475
|
}
|
|
4481
4476
|
|
|
4482
4477
|
/**
|
|
4483
|
-
* @rc
|
|
4484
4478
|
* Contains information regarding a specific block being
|
|
4485
4479
|
* broken.
|
|
4486
4480
|
*/
|
|
@@ -5288,9 +5282,6 @@ export class BlockPistonComponent extends BlockComponent {
|
|
|
5288
5282
|
getAttachedBlocksLocations(): Vector3[];
|
|
5289
5283
|
}
|
|
5290
5284
|
|
|
5291
|
-
/**
|
|
5292
|
-
* @rc
|
|
5293
|
-
*/
|
|
5294
5285
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
5295
5286
|
export class BlockPrecipitationInteractionsComponent extends BlockComponent {
|
|
5296
5287
|
private constructor();
|
|
@@ -5387,7 +5378,6 @@ export class BlockRecordPlayerComponent extends BlockComponent {
|
|
|
5387
5378
|
}
|
|
5388
5379
|
|
|
5389
5380
|
/**
|
|
5390
|
-
* @rc
|
|
5391
5381
|
* Represents a block that can output a redstone signal.
|
|
5392
5382
|
*/
|
|
5393
5383
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -7470,7 +7460,6 @@ export class CustomComponentParameters {
|
|
|
7470
7460
|
}
|
|
7471
7461
|
|
|
7472
7462
|
/**
|
|
7473
|
-
* @rc
|
|
7474
7463
|
* Loot item condition that checks whether the loot source was
|
|
7475
7464
|
* damaged by a specific type of entity.
|
|
7476
7465
|
*/
|
|
@@ -8633,7 +8622,6 @@ export class EffectTypes {
|
|
|
8633
8622
|
}
|
|
8634
8623
|
|
|
8635
8624
|
/**
|
|
8636
|
-
* @rc
|
|
8637
8625
|
* Represents a completely empty entry in a loot pool. If this
|
|
8638
8626
|
* entry is chosen, no items will drop.
|
|
8639
8627
|
*/
|
|
@@ -8642,9 +8630,6 @@ export class EmptyLootItem extends LootPoolEntry {
|
|
|
8642
8630
|
private constructor();
|
|
8643
8631
|
}
|
|
8644
8632
|
|
|
8645
|
-
/**
|
|
8646
|
-
* @rc
|
|
8647
|
-
*/
|
|
8648
8633
|
export class EnchantInfo {
|
|
8649
8634
|
private constructor();
|
|
8650
8635
|
readonly enchantment: string;
|
|
@@ -8700,7 +8685,6 @@ export class EnchantmentTypes {
|
|
|
8700
8685
|
}
|
|
8701
8686
|
|
|
8702
8687
|
/**
|
|
8703
|
-
* @rc
|
|
8704
8688
|
* Loot item function that applies a random enchant to the
|
|
8705
8689
|
* dropped item using the same algorithm used while enchanting
|
|
8706
8690
|
* equipment vanilla mobs spawn with.
|
|
@@ -8718,7 +8702,6 @@ export class EnchantRandomEquipmentFunction extends LootItemFunction {
|
|
|
8718
8702
|
}
|
|
8719
8703
|
|
|
8720
8704
|
/**
|
|
8721
|
-
* @rc
|
|
8722
8705
|
* Loot item function that randomly enchants the dropped item.
|
|
8723
8706
|
*/
|
|
8724
8707
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -8734,7 +8717,6 @@ export class EnchantRandomlyFunction extends LootItemFunction {
|
|
|
8734
8717
|
}
|
|
8735
8718
|
|
|
8736
8719
|
/**
|
|
8737
|
-
* @rc
|
|
8738
8720
|
* Loot item function that applies a random enchant to the
|
|
8739
8721
|
* dropped item.
|
|
8740
8722
|
*/
|
|
@@ -9231,7 +9213,6 @@ export class Entity {
|
|
|
9231
9213
|
*/
|
|
9232
9214
|
extinguishFire(useEffects?: boolean): boolean;
|
|
9233
9215
|
/**
|
|
9234
|
-
* @rc
|
|
9235
9216
|
* @remarks
|
|
9236
9217
|
* Gets the entity's collision bounds.
|
|
9237
9218
|
*
|
|
@@ -9243,7 +9224,6 @@ export class Entity {
|
|
|
9243
9224
|
*/
|
|
9244
9225
|
getAABB(): AABB;
|
|
9245
9226
|
/**
|
|
9246
|
-
* @rc
|
|
9247
9227
|
* @remarks
|
|
9248
9228
|
* Gets the solid blocks that this entity is directly standing
|
|
9249
9229
|
* on. Ignores pressure plates.
|
|
@@ -9275,7 +9255,6 @@ export class Entity {
|
|
|
9275
9255
|
*/
|
|
9276
9256
|
getBlockFromViewDirection(options?: BlockRaycastOptions): BlockRaycastHit | undefined;
|
|
9277
9257
|
/**
|
|
9278
|
-
* @rc
|
|
9279
9258
|
* @remarks
|
|
9280
9259
|
* Gets a single solid block closest to the center of the
|
|
9281
9260
|
* entity that this entity is directly standing on. Ignores
|
|
@@ -10567,7 +10546,6 @@ export class EntityFrictionModifierComponent extends EntityComponent {
|
|
|
10567
10546
|
}
|
|
10568
10547
|
|
|
10569
10548
|
/**
|
|
10570
|
-
* @rc
|
|
10571
10549
|
* Loot item condition that checks the value of the mark
|
|
10572
10550
|
* variant of a mob as it drops its loot.
|
|
10573
10551
|
*/
|
|
@@ -10584,7 +10562,6 @@ export class EntityHasMarkVariantCondition extends LootItemCondition {
|
|
|
10584
10562
|
}
|
|
10585
10563
|
|
|
10586
10564
|
/**
|
|
10587
|
-
* @rc
|
|
10588
10565
|
* Loot item condition that checks the variant value of a mob
|
|
10589
10566
|
* as it drops its loot.
|
|
10590
10567
|
*/
|
|
@@ -11138,7 +11115,6 @@ export class EntityItemComponent extends EntityComponent {
|
|
|
11138
11115
|
}
|
|
11139
11116
|
|
|
11140
11117
|
/**
|
|
11141
|
-
* @rc
|
|
11142
11118
|
* Loot item condition that checks the entity type of the
|
|
11143
11119
|
* entity dropping its loot.
|
|
11144
11120
|
*/
|
|
@@ -12609,7 +12585,6 @@ export class EntityWantsJockeyComponent extends EntityComponent {
|
|
|
12609
12585
|
}
|
|
12610
12586
|
|
|
12611
12587
|
/**
|
|
12612
|
-
* @rc
|
|
12613
12588
|
* Loot item function that modifies a dropped treasure map to
|
|
12614
12589
|
* mark a location.
|
|
12615
12590
|
*/
|
|
@@ -12736,7 +12711,6 @@ export class ExplosionBeforeEventSignal {
|
|
|
12736
12711
|
}
|
|
12737
12712
|
|
|
12738
12713
|
/**
|
|
12739
|
-
* @rc
|
|
12740
12714
|
* Loot item function that determines whether or not loot drops
|
|
12741
12715
|
* should be destroyed by explosions.
|
|
12742
12716
|
*/
|
|
@@ -12817,7 +12791,6 @@ export class FeedItemEffect {
|
|
|
12817
12791
|
}
|
|
12818
12792
|
|
|
12819
12793
|
/**
|
|
12820
|
-
* @rc
|
|
12821
12794
|
* Loot item function that populates a dropped container item
|
|
12822
12795
|
* using another loot table.
|
|
12823
12796
|
*/
|
|
@@ -13185,7 +13158,6 @@ export class InputInfo {
|
|
|
13185
13158
|
}
|
|
13186
13159
|
|
|
13187
13160
|
/**
|
|
13188
|
-
* @rc
|
|
13189
13161
|
* Loot item condition that checks whether or not the entity
|
|
13190
13162
|
* dropping loot is a baby.
|
|
13191
13163
|
*/
|
|
@@ -14120,7 +14092,6 @@ export class ItemInventoryComponent extends ItemComponent {
|
|
|
14120
14092
|
}
|
|
14121
14093
|
|
|
14122
14094
|
/**
|
|
14123
|
-
* @rc
|
|
14124
14095
|
* When present on an item, this item is a potion item.
|
|
14125
14096
|
*/
|
|
14126
14097
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -15135,7 +15106,6 @@ export class ItemUseOnEvent {
|
|
|
15135
15106
|
}
|
|
15136
15107
|
|
|
15137
15108
|
/**
|
|
15138
|
-
* @rc
|
|
15139
15109
|
* Loot item condition that checks whether or not the drop
|
|
15140
15110
|
* source was killed by a specific type of entity.
|
|
15141
15111
|
*/
|
|
@@ -15152,7 +15122,6 @@ export class KilledByEntityCondition extends LootItemCondition {
|
|
|
15152
15122
|
}
|
|
15153
15123
|
|
|
15154
15124
|
/**
|
|
15155
|
-
* @rc
|
|
15156
15125
|
* Loot item condition that checks whether or not the source of
|
|
15157
15126
|
* the loot drop was killed by the player.
|
|
15158
15127
|
*/
|
|
@@ -15162,7 +15131,6 @@ export class KilledByPlayerCondition extends LootItemCondition {
|
|
|
15162
15131
|
}
|
|
15163
15132
|
|
|
15164
15133
|
/**
|
|
15165
|
-
* @rc
|
|
15166
15134
|
* Loot item condition that checks whether or not the source of
|
|
15167
15135
|
* the loot drop was killed by the player or any of the
|
|
15168
15136
|
* player's pets.
|
|
@@ -15339,7 +15307,6 @@ export class ListBlockVolume extends BlockVolumeBase {
|
|
|
15339
15307
|
}
|
|
15340
15308
|
|
|
15341
15309
|
/**
|
|
15342
|
-
* @rc
|
|
15343
15310
|
* Loot item function that drops extra items if the provided
|
|
15344
15311
|
* tool has the looting enchant.
|
|
15345
15312
|
*/
|
|
@@ -15357,7 +15324,6 @@ export class LootingEnchantFunction extends LootItemFunction {
|
|
|
15357
15324
|
}
|
|
15358
15325
|
|
|
15359
15326
|
/**
|
|
15360
|
-
* @rc
|
|
15361
15327
|
* Represents a loot pool entry containing an item to drop.
|
|
15362
15328
|
*/
|
|
15363
15329
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -15373,7 +15339,6 @@ export class LootItem extends LootPoolEntry {
|
|
|
15373
15339
|
}
|
|
15374
15340
|
|
|
15375
15341
|
/**
|
|
15376
|
-
* @rc
|
|
15377
15342
|
* An abstract base class from which all loot item conditions
|
|
15378
15343
|
* are derived. A loot item condition is a set of rules or
|
|
15379
15344
|
* requirements which must be met for a loot drop to happen.
|
|
@@ -15383,7 +15348,6 @@ export class LootItemCondition {
|
|
|
15383
15348
|
}
|
|
15384
15349
|
|
|
15385
15350
|
/**
|
|
15386
|
-
* @rc
|
|
15387
15351
|
* An abstract base class from which all loot item functions
|
|
15388
15352
|
* are derived. Loot item functions can modify loot drops in a
|
|
15389
15353
|
* variety of ways as they happen, optionally dependent on a
|
|
@@ -15395,7 +15359,6 @@ export class LootItemFunction {
|
|
|
15395
15359
|
}
|
|
15396
15360
|
|
|
15397
15361
|
/**
|
|
15398
|
-
* @rc
|
|
15399
15362
|
* A collection of entries which individually determine loot
|
|
15400
15363
|
* drops. Can contain values determining drop outcomes,
|
|
15401
15364
|
* including rolls, bonus rolls and tiers.
|
|
@@ -15435,7 +15398,6 @@ export class LootPool {
|
|
|
15435
15398
|
}
|
|
15436
15399
|
|
|
15437
15400
|
/**
|
|
15438
|
-
* @rc
|
|
15439
15401
|
* Represents one entry within Loot Table, which describes one
|
|
15440
15402
|
* possible drop when a loot drop occurs. Can contain an item,
|
|
15441
15403
|
* another loot table, a path to another loot table, or an
|
|
@@ -15464,7 +15426,6 @@ export class LootPoolEntry {
|
|
|
15464
15426
|
}
|
|
15465
15427
|
|
|
15466
15428
|
/**
|
|
15467
|
-
* @rc
|
|
15468
15429
|
* Represents the values which determine loot drops in a tiered
|
|
15469
15430
|
* loot pool. Potential drops from tiered loot pools are
|
|
15470
15431
|
* ordered, and chosen via logic controlled by the values in
|
|
@@ -15500,7 +15461,6 @@ export class LootPoolTiers {
|
|
|
15500
15461
|
}
|
|
15501
15462
|
|
|
15502
15463
|
/**
|
|
15503
|
-
* @rc
|
|
15504
15464
|
* Represents a single Loot Table, which determines what items
|
|
15505
15465
|
* are generated when killing a mob, breaking a block, filling
|
|
15506
15466
|
* a container, and more.
|
|
@@ -15524,7 +15484,6 @@ export class LootTable {
|
|
|
15524
15484
|
}
|
|
15525
15485
|
|
|
15526
15486
|
/**
|
|
15527
|
-
* @rc
|
|
15528
15487
|
* Represents a loot pool entry containing another separate,
|
|
15529
15488
|
* nested loot table.
|
|
15530
15489
|
*/
|
|
@@ -15624,7 +15583,6 @@ export class LootTableManager {
|
|
|
15624
15583
|
*/
|
|
15625
15584
|
generateLootFromEntityType(entityType: EntityType, tool?: ItemStack): ItemStack[] | undefined;
|
|
15626
15585
|
/**
|
|
15627
|
-
* @rc
|
|
15628
15586
|
* @remarks
|
|
15629
15587
|
* Generates loot from a given LootTable.
|
|
15630
15588
|
*
|
|
@@ -15637,7 +15595,6 @@ export class LootTableManager {
|
|
|
15637
15595
|
*/
|
|
15638
15596
|
generateLootFromTable(lootTable: LootTable, tool?: ItemStack): ItemStack[] | undefined;
|
|
15639
15597
|
/**
|
|
15640
|
-
* @rc
|
|
15641
15598
|
* @remarks
|
|
15642
15599
|
* Retrieves a single loot table from the level's current
|
|
15643
15600
|
* registry.
|
|
@@ -15654,7 +15611,6 @@ export class LootTableManager {
|
|
|
15654
15611
|
}
|
|
15655
15612
|
|
|
15656
15613
|
/**
|
|
15657
|
-
* @rc
|
|
15658
15614
|
* Represents a loot pool entry containing a reference to
|
|
15659
15615
|
* another loot table, described by its path.
|
|
15660
15616
|
*/
|
|
@@ -15671,7 +15627,6 @@ export class LootTableReference extends LootPoolEntry {
|
|
|
15671
15627
|
}
|
|
15672
15628
|
|
|
15673
15629
|
/**
|
|
15674
|
-
* @rc
|
|
15675
15630
|
* Loot item condition that checks whether an appropriate tool
|
|
15676
15631
|
* was used to trigger the loot event. Can describe item type,
|
|
15677
15632
|
* count, durability, enchantments, or arrays of item tags to
|
|
@@ -15868,7 +15823,6 @@ export class PackSettingChangeAfterEventSignal {
|
|
|
15868
15823
|
}
|
|
15869
15824
|
|
|
15870
15825
|
/**
|
|
15871
|
-
* @rc
|
|
15872
15826
|
* Loot item condition that checks whether the looting entity
|
|
15873
15827
|
* is currently a passenger of a specific type of entity.
|
|
15874
15828
|
*/
|
|
@@ -16203,7 +16157,6 @@ export class Player extends Entity {
|
|
|
16203
16157
|
*/
|
|
16204
16158
|
getAimAssist(): PlayerAimAssist;
|
|
16205
16159
|
/**
|
|
16206
|
-
* @rc
|
|
16207
16160
|
* @remarks
|
|
16208
16161
|
* Returns the player's current control scheme.
|
|
16209
16162
|
*
|
|
@@ -16445,7 +16398,6 @@ export class Player extends Entity {
|
|
|
16445
16398
|
*/
|
|
16446
16399
|
sendMessage(message: (RawMessage | string)[] | RawMessage | string): void;
|
|
16447
16400
|
/**
|
|
16448
|
-
* @rc
|
|
16449
16401
|
* @remarks
|
|
16450
16402
|
* Set a player's control scheme. The player's active camera
|
|
16451
16403
|
* preset must be set by scripts like with camera.setCamera()
|
|
@@ -18147,7 +18099,6 @@ export class PlayerUseNameTagAfterEventSignal {
|
|
|
18147
18099
|
}
|
|
18148
18100
|
|
|
18149
18101
|
/**
|
|
18150
|
-
* @rc
|
|
18151
18102
|
* Represents how the potion effect is delivered.
|
|
18152
18103
|
*/
|
|
18153
18104
|
export class PotionDeliveryType {
|
|
@@ -18156,7 +18107,6 @@ export class PotionDeliveryType {
|
|
|
18156
18107
|
}
|
|
18157
18108
|
|
|
18158
18109
|
/**
|
|
18159
|
-
* @rc
|
|
18160
18110
|
* Represents a type of potion effect - like healing or
|
|
18161
18111
|
* leaping.
|
|
18162
18112
|
*/
|
|
@@ -18176,7 +18126,6 @@ export class PotionEffectType {
|
|
|
18176
18126
|
}
|
|
18177
18127
|
|
|
18178
18128
|
/**
|
|
18179
|
-
* @rc
|
|
18180
18129
|
* Used for accessing all potion effect types, delivery types,
|
|
18181
18130
|
* and creating potions.
|
|
18182
18131
|
*/
|
|
@@ -18504,7 +18453,6 @@ export class ProjectileHitEntityAfterEventSignal {
|
|
|
18504
18453
|
}
|
|
18505
18454
|
|
|
18506
18455
|
/**
|
|
18507
|
-
* @rc
|
|
18508
18456
|
* Loot item function that randomly modifies the data value of
|
|
18509
18457
|
* the item dropped.
|
|
18510
18458
|
*/
|
|
@@ -18521,7 +18469,6 @@ export class RandomAuxValueFunction extends LootItemFunction {
|
|
|
18521
18469
|
}
|
|
18522
18470
|
|
|
18523
18471
|
/**
|
|
18524
|
-
* @rc
|
|
18525
18472
|
* Loot item function that randomly modifies the block state of
|
|
18526
18473
|
* the item dropped.
|
|
18527
18474
|
*/
|
|
@@ -18540,7 +18487,6 @@ export class RandomBlockStateFunction extends LootItemFunction {
|
|
|
18540
18487
|
}
|
|
18541
18488
|
|
|
18542
18489
|
/**
|
|
18543
|
-
* @rc
|
|
18544
18490
|
* Loot item condition that applies a given value to the
|
|
18545
18491
|
* chances that loot will drop.
|
|
18546
18492
|
*/
|
|
@@ -18556,7 +18502,6 @@ export class RandomChanceCondition extends LootItemCondition {
|
|
|
18556
18502
|
}
|
|
18557
18503
|
|
|
18558
18504
|
/**
|
|
18559
|
-
* @rc
|
|
18560
18505
|
* Loot item condition that applies a given value to the
|
|
18561
18506
|
* chances that loot will drop, modified by the level of
|
|
18562
18507
|
* looting enchantment on the tool used.
|
|
@@ -18580,7 +18525,6 @@ export class RandomChanceWithLootingCondition extends LootItemCondition {
|
|
|
18580
18525
|
}
|
|
18581
18526
|
|
|
18582
18527
|
/**
|
|
18583
|
-
* @rc
|
|
18584
18528
|
* Loot item condition that applies given values to the chances
|
|
18585
18529
|
* that loot will drop based on the current difficulty level.
|
|
18586
18530
|
*/
|
|
@@ -18598,7 +18542,6 @@ export class RandomDifficultyChanceCondition extends LootItemCondition {
|
|
|
18598
18542
|
}
|
|
18599
18543
|
|
|
18600
18544
|
/**
|
|
18601
|
-
* @rc
|
|
18602
18545
|
* Loot item function that applies a randomly dye to the
|
|
18603
18546
|
* dropped item.
|
|
18604
18547
|
*/
|
|
@@ -18608,7 +18551,6 @@ export class RandomDyeFunction extends LootItemFunction {
|
|
|
18608
18551
|
}
|
|
18609
18552
|
|
|
18610
18553
|
/**
|
|
18611
|
-
* @rc
|
|
18612
18554
|
* Loot item condition that applies a given value to the
|
|
18613
18555
|
* chances that loot will drop, modified by the region the drop
|
|
18614
18556
|
* is happening within.
|
|
@@ -19342,7 +19284,6 @@ export class ServerMessageAfterEventSignal {
|
|
|
19342
19284
|
}
|
|
19343
19285
|
|
|
19344
19286
|
/**
|
|
19345
|
-
* @rc
|
|
19346
19287
|
* Loot item function that modifies the trim on a dropped armor
|
|
19347
19288
|
* item.
|
|
19348
19289
|
*/
|
|
@@ -19364,7 +19305,6 @@ export class SetArmorTrimFunction extends LootItemFunction {
|
|
|
19364
19305
|
}
|
|
19365
19306
|
|
|
19366
19307
|
/**
|
|
19367
|
-
* @rc
|
|
19368
19308
|
* Loot item function that modifies the type of a banner that
|
|
19369
19309
|
* drops.
|
|
19370
19310
|
*/
|
|
@@ -19380,7 +19320,6 @@ export class SetBannerDetailsFunction extends LootItemFunction {
|
|
|
19380
19320
|
}
|
|
19381
19321
|
|
|
19382
19322
|
/**
|
|
19383
|
-
* @rc
|
|
19384
19323
|
* Loot item function that modifies the contents of a dropped
|
|
19385
19324
|
* book.
|
|
19386
19325
|
*/
|
|
@@ -19408,7 +19347,6 @@ export class SetBookContentsFunction extends LootItemFunction {
|
|
|
19408
19347
|
}
|
|
19409
19348
|
|
|
19410
19349
|
/**
|
|
19411
|
-
* @rc
|
|
19412
19350
|
* Loot item function that modifies the dropped item's data
|
|
19413
19351
|
* value based on its color index. Defaults to zero if no color
|
|
19414
19352
|
* index is set.
|
|
@@ -19419,7 +19357,6 @@ export class SetDataFromColorIndexFunction extends LootItemFunction {
|
|
|
19419
19357
|
}
|
|
19420
19358
|
|
|
19421
19359
|
/**
|
|
19422
|
-
* @rc
|
|
19423
19360
|
* Loot item function that modifies the number items that drop
|
|
19424
19361
|
* from the loot pool entry.
|
|
19425
19362
|
*/
|
|
@@ -19437,7 +19374,6 @@ export class SetItemCountFunction extends LootItemFunction {
|
|
|
19437
19374
|
}
|
|
19438
19375
|
|
|
19439
19376
|
/**
|
|
19440
|
-
* @rc
|
|
19441
19377
|
* Loot item function that modifies the durability value of the
|
|
19442
19378
|
* item dropped.
|
|
19443
19379
|
*/
|
|
@@ -19455,7 +19391,6 @@ export class SetItemDamageFunction extends LootItemFunction {
|
|
|
19455
19391
|
}
|
|
19456
19392
|
|
|
19457
19393
|
/**
|
|
19458
|
-
* @rc
|
|
19459
19394
|
* Loot item function that modifies the data value of the item
|
|
19460
19395
|
* dropped.
|
|
19461
19396
|
*/
|
|
@@ -19472,7 +19407,6 @@ export class SetItemDataFunction extends LootItemFunction {
|
|
|
19472
19407
|
}
|
|
19473
19408
|
|
|
19474
19409
|
/**
|
|
19475
|
-
* @rc
|
|
19476
19410
|
* Loot item function that modifies the lore of the item
|
|
19477
19411
|
* dropped.
|
|
19478
19412
|
*/
|
|
@@ -19488,7 +19422,6 @@ export class SetItemLoreFunction extends LootItemFunction {
|
|
|
19488
19422
|
}
|
|
19489
19423
|
|
|
19490
19424
|
/**
|
|
19491
|
-
* @rc
|
|
19492
19425
|
* Loot item function that modifies the name of the item
|
|
19493
19426
|
* dropped.
|
|
19494
19427
|
*/
|
|
@@ -19504,7 +19437,6 @@ export class SetItemNameFunction extends LootItemFunction {
|
|
|
19504
19437
|
}
|
|
19505
19438
|
|
|
19506
19439
|
/**
|
|
19507
|
-
* @rc
|
|
19508
19440
|
* Loot item function that modifies an ominous bottle's
|
|
19509
19441
|
* amplifier value.
|
|
19510
19442
|
*/
|
|
@@ -19522,7 +19454,6 @@ export class SetOminousBottleFunction extends LootItemFunction {
|
|
|
19522
19454
|
}
|
|
19523
19455
|
|
|
19524
19456
|
/**
|
|
19525
|
-
* @rc
|
|
19526
19457
|
* Loot item function that assigns a type to a dropped potion.
|
|
19527
19458
|
*/
|
|
19528
19459
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -19537,7 +19468,6 @@ export class SetPotionFunction extends LootItemFunction {
|
|
|
19537
19468
|
}
|
|
19538
19469
|
|
|
19539
19470
|
/**
|
|
19540
|
-
* @rc
|
|
19541
19471
|
* Loot item function that assigns an entity type to a dropped
|
|
19542
19472
|
* spawn egg. Does not work on any items other than spawn eggs.
|
|
19543
19473
|
*/
|
|
@@ -19553,7 +19483,6 @@ export class SetSpawnEggFunction extends LootItemFunction {
|
|
|
19553
19483
|
}
|
|
19554
19484
|
|
|
19555
19485
|
/**
|
|
19556
|
-
* @rc
|
|
19557
19486
|
* Loot item function that modifies the effects of a dropped
|
|
19558
19487
|
* stew item.
|
|
19559
19488
|
*/
|
|
@@ -19614,7 +19543,6 @@ export class ShutdownEvent {
|
|
|
19614
19543
|
}
|
|
19615
19544
|
|
|
19616
19545
|
/**
|
|
19617
|
-
* @rc
|
|
19618
19546
|
* Loot item function that processes the dropped item as if it
|
|
19619
19547
|
* was smelted or cooked in a furnace.
|
|
19620
19548
|
*/
|
|
@@ -19624,7 +19552,6 @@ export class SmeltItemFunction extends LootItemFunction {
|
|
|
19624
19552
|
}
|
|
19625
19553
|
|
|
19626
19554
|
/**
|
|
19627
|
-
* @rc
|
|
19628
19555
|
* Loot item function that applies one or several predefined
|
|
19629
19556
|
* enchants to the dropped item.
|
|
19630
19557
|
*/
|
|
@@ -21966,7 +21893,6 @@ export class WorldLoadAfterEventSignal {
|
|
|
21966
21893
|
}
|
|
21967
21894
|
|
|
21968
21895
|
/**
|
|
21969
|
-
* @rc
|
|
21970
21896
|
* Axis-aligned bounding box.
|
|
21971
21897
|
*/
|
|
21972
21898
|
export interface AABB {
|
|
@@ -22065,7 +21991,6 @@ export interface BlockCustomComponent {
|
|
|
22065
21991
|
*/
|
|
22066
21992
|
beforeOnPlayerPlace?: (arg0: BlockComponentPlayerPlaceBeforeEvent, arg1: CustomComponentParameters) => void;
|
|
22067
21993
|
/**
|
|
22068
|
-
* @rc
|
|
22069
21994
|
* @remarks
|
|
22070
21995
|
* This function will be called when a specific block is
|
|
22071
21996
|
* destroyed.
|
|
@@ -23354,7 +23279,6 @@ export interface ExplosionOptions {
|
|
|
23354
23279
|
}
|
|
23355
23280
|
|
|
23356
23281
|
/**
|
|
23357
|
-
* @rc
|
|
23358
23282
|
* Contains additional options for getBlockStandingOn and
|
|
23359
23283
|
* getAllBlocksStandingOn.
|
|
23360
23284
|
*/
|
|
@@ -23568,7 +23492,6 @@ export interface JigsawPlaceOptions {
|
|
|
23568
23492
|
*/
|
|
23569
23493
|
keepJigsaws?: boolean;
|
|
23570
23494
|
/**
|
|
23571
|
-
* @rc
|
|
23572
23495
|
* @remarks
|
|
23573
23496
|
* Specifies how to handle waterloggable blocks overlapping
|
|
23574
23497
|
* with existing liquid. Defaults to `ApplyWaterlogging`.
|
|
@@ -23605,7 +23528,6 @@ export interface JigsawStructurePlaceOptions {
|
|
|
23605
23528
|
*/
|
|
23606
23529
|
keepJigsaws?: boolean;
|
|
23607
23530
|
/**
|
|
23608
|
-
* @rc
|
|
23609
23531
|
* @remarks
|
|
23610
23532
|
* Specifies how to handle waterloggable blocks overlapping
|
|
23611
23533
|
* with existing liquid. Defaults to `ApplyWaterlogging`.
|
|
@@ -24642,7 +24564,6 @@ export class EntitySpawnError extends Error {
|
|
|
24642
24564
|
}
|
|
24643
24565
|
|
|
24644
24566
|
/**
|
|
24645
|
-
* @rc
|
|
24646
24567
|
* The error can occur when a block is invalid. This can also
|
|
24647
24568
|
* occur when accessing components on a block that doesn't have
|
|
24648
24569
|
* them.
|
|
@@ -24717,17 +24638,11 @@ export class InvalidIteratorError extends Error {
|
|
|
24717
24638
|
private constructor();
|
|
24718
24639
|
}
|
|
24719
24640
|
|
|
24720
|
-
/**
|
|
24721
|
-
* @rc
|
|
24722
|
-
*/
|
|
24723
24641
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
24724
24642
|
export class InvalidPotionDeliveryTypeError extends Error {
|
|
24725
24643
|
private constructor();
|
|
24726
24644
|
}
|
|
24727
24645
|
|
|
24728
|
-
/**
|
|
24729
|
-
* @rc
|
|
24730
|
-
*/
|
|
24731
24646
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
24732
24647
|
export class InvalidPotionEffectTypeError extends Error {
|
|
24733
24648
|
private constructor();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.5.0-beta.1.21.130-
|
|
3
|
+
"version": "2.5.0-beta.1.21.130-stable",
|
|
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
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|