@minecraft/server 1.16.0-beta.1.21.40-preview.23 → 1.16.0-beta.1.21.40-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 -21
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -90,7 +90,6 @@ export enum BlockPistonState {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* @rc
|
|
94
93
|
* Description of the resulting intersection test on two
|
|
95
94
|
* BlockVolume objects
|
|
96
95
|
*/
|
|
@@ -447,7 +446,6 @@ export enum EntityComponentTypes {
|
|
|
447
446
|
*/
|
|
448
447
|
Ageable = 'minecraft:ageable',
|
|
449
448
|
/**
|
|
450
|
-
* @rc
|
|
451
449
|
* @remarks
|
|
452
450
|
* Defines what blocks this entity can breathe in and gives
|
|
453
451
|
* them the ability to suffocate.
|
|
@@ -2686,7 +2684,6 @@ export class Block {
|
|
|
2686
2684
|
*/
|
|
2687
2685
|
getMapColor(): RGBA;
|
|
2688
2686
|
/**
|
|
2689
|
-
* @rc
|
|
2690
2687
|
* @remarks
|
|
2691
2688
|
* Returns the net redstone power of this block.
|
|
2692
2689
|
*
|
|
@@ -3290,7 +3287,6 @@ export class BlockInventoryComponent extends BlockComponent {
|
|
|
3290
3287
|
}
|
|
3291
3288
|
|
|
3292
3289
|
/**
|
|
3293
|
-
* @rc
|
|
3294
3290
|
* A BlockLocationIterator returns the next block location of
|
|
3295
3291
|
* the block volume across which it is iterating.
|
|
3296
3292
|
* The BlockLocationIterator is used to abstract the shape of
|
|
@@ -3922,7 +3918,6 @@ export class BlockTypes {
|
|
|
3922
3918
|
}
|
|
3923
3919
|
|
|
3924
3920
|
/**
|
|
3925
|
-
* @rc
|
|
3926
3921
|
* A BlockVolume is a simple interface to an object which
|
|
3927
3922
|
* represents a 3D rectangle of a given size (in blocks) at a
|
|
3928
3923
|
* world block location.
|
|
@@ -4021,7 +4016,6 @@ export class BlockVolume extends BlockVolumeBase {
|
|
|
4021
4016
|
export class BlockVolumeBase {
|
|
4022
4017
|
private constructor();
|
|
4023
4018
|
/**
|
|
4024
|
-
* @rc
|
|
4025
4019
|
* @remarks
|
|
4026
4020
|
* Fetch a {@link BlockLocationIterator} that represents all of
|
|
4027
4021
|
* the block world locations within the specified volume
|
|
@@ -7483,7 +7477,6 @@ export class EntityBaseMovementComponent extends EntityComponent {
|
|
|
7483
7477
|
}
|
|
7484
7478
|
|
|
7485
7479
|
/**
|
|
7486
|
-
* @rc
|
|
7487
7480
|
* Defines what blocks this entity can breathe in and gives
|
|
7488
7481
|
* them the ability to suffocate.
|
|
7489
7482
|
*/
|
|
@@ -13331,7 +13324,6 @@ export class PlayerInputPermissions {
|
|
|
13331
13324
|
export class PlayerInteractWithBlockAfterEvent {
|
|
13332
13325
|
private constructor();
|
|
13333
13326
|
/**
|
|
13334
|
-
* @rc
|
|
13335
13327
|
* @remarks
|
|
13336
13328
|
* The ItemStack before the interaction succeeded, or undefined
|
|
13337
13329
|
* if hand is empty.
|
|
@@ -13358,7 +13350,6 @@ export class PlayerInteractWithBlockAfterEvent {
|
|
|
13358
13350
|
*/
|
|
13359
13351
|
readonly faceLocation: Vector3;
|
|
13360
13352
|
/**
|
|
13361
|
-
* @rc
|
|
13362
13353
|
* @remarks
|
|
13363
13354
|
* This value will be true if the event was triggered on
|
|
13364
13355
|
* players initial interaction button press and false on events
|
|
@@ -13445,7 +13436,6 @@ export class PlayerInteractWithBlockBeforeEvent {
|
|
|
13445
13436
|
*/
|
|
13446
13437
|
readonly faceLocation: Vector3;
|
|
13447
13438
|
/**
|
|
13448
|
-
* @rc
|
|
13449
13439
|
* @remarks
|
|
13450
13440
|
* This value will be true if the event was triggered on
|
|
13451
13441
|
* players initial interaction button press and false on events
|
|
@@ -13507,7 +13497,6 @@ export class PlayerInteractWithBlockBeforeEventSignal {
|
|
|
13507
13497
|
export class PlayerInteractWithEntityAfterEvent {
|
|
13508
13498
|
private constructor();
|
|
13509
13499
|
/**
|
|
13510
|
-
* @rc
|
|
13511
13500
|
* @remarks
|
|
13512
13501
|
* The ItemStack before the interaction succeeded, or undefined
|
|
13513
13502
|
* if hand is empty.
|
|
@@ -15739,9 +15728,6 @@ export class World {
|
|
|
15739
15728
|
*
|
|
15740
15729
|
*/
|
|
15741
15730
|
readonly gameRules: GameRules;
|
|
15742
|
-
/**
|
|
15743
|
-
* @rc
|
|
15744
|
-
*/
|
|
15745
15731
|
readonly isHardcore: boolean;
|
|
15746
15732
|
/**
|
|
15747
15733
|
* @remarks
|
|
@@ -16447,14 +16433,12 @@ export class WorldAfterEvents {
|
|
|
16447
16433
|
*/
|
|
16448
16434
|
readonly playerInputPermissionCategoryChange: PlayerInputPermissionCategoryChangeAfterEventSignal;
|
|
16449
16435
|
/**
|
|
16450
|
-
* @rc
|
|
16451
16436
|
* @remarks
|
|
16452
16437
|
* An event for when a player interacts with a block.
|
|
16453
16438
|
*
|
|
16454
16439
|
*/
|
|
16455
16440
|
readonly playerInteractWithBlock: PlayerInteractWithBlockAfterEventSignal;
|
|
16456
16441
|
/**
|
|
16457
|
-
* @rc
|
|
16458
16442
|
* @remarks
|
|
16459
16443
|
* This event fires when a player interacts with an entity.
|
|
16460
16444
|
*
|
|
@@ -16601,14 +16585,12 @@ export class WorldBeforeEvents {
|
|
|
16601
16585
|
readonly playerBreakBlock: PlayerBreakBlockBeforeEventSignal;
|
|
16602
16586
|
readonly playerGameModeChange: PlayerGameModeChangeBeforeEventSignal;
|
|
16603
16587
|
/**
|
|
16604
|
-
* @rc
|
|
16605
16588
|
* @remarks
|
|
16606
16589
|
* Fires before a player interacts with a block.
|
|
16607
16590
|
*
|
|
16608
16591
|
*/
|
|
16609
16592
|
readonly playerInteractWithBlock: PlayerInteractWithBlockBeforeEventSignal;
|
|
16610
16593
|
/**
|
|
16611
|
-
* @rc
|
|
16612
16594
|
* @remarks
|
|
16613
16595
|
* Fires before a player interacts with an entity.
|
|
16614
16596
|
*
|
|
@@ -18672,9 +18654,6 @@ export class InvalidContainerSlotError extends Error {
|
|
|
18672
18654
|
private constructor();
|
|
18673
18655
|
}
|
|
18674
18656
|
|
|
18675
|
-
/**
|
|
18676
|
-
* @rc
|
|
18677
|
-
*/
|
|
18678
18657
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
18679
18658
|
export class InvalidIteratorError extends Error {
|
|
18680
18659
|
private constructor();
|