@minecraft/server 1.14.0-rc.1.21.40-preview.20 → 1.14.0
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/README.md +0 -2
- package/index.d.ts +0 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.
|
|
4
4
|
|
|
5
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
-
|
|
7
5
|
See full documentation for this module here:
|
|
8
6
|
|
|
9
7
|
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/minecraft-server
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
***************************************************************************** */
|
|
9
9
|
/**
|
|
10
|
-
* @preview
|
|
11
10
|
* @packageDocumentation
|
|
12
11
|
* Contains many types related to manipulating a Minecraft
|
|
13
12
|
* world, including entities, blocks, dimensions, and more.
|
|
@@ -42,7 +41,6 @@ export enum BlockComponentTypes {
|
|
|
42
41
|
*/
|
|
43
42
|
Piston = 'minecraft:piston',
|
|
44
43
|
/**
|
|
45
|
-
* @rc
|
|
46
44
|
* @remarks
|
|
47
45
|
* Represents a block that can play a record.
|
|
48
46
|
*
|
|
@@ -374,9 +372,6 @@ export enum EntityComponentTypes {
|
|
|
374
372
|
*
|
|
375
373
|
*/
|
|
376
374
|
Color2 = 'minecraft:color2',
|
|
377
|
-
/**
|
|
378
|
-
* @rc
|
|
379
|
-
*/
|
|
380
375
|
CursorInventory = 'minecraft:cursor_inventory',
|
|
381
376
|
/**
|
|
382
377
|
* @remarks
|
|
@@ -2869,7 +2864,6 @@ export class BlockPistonComponent extends BlockComponent {
|
|
|
2869
2864
|
}
|
|
2870
2865
|
|
|
2871
2866
|
/**
|
|
2872
|
-
* @rc
|
|
2873
2867
|
* Represents a block that can play a record.
|
|
2874
2868
|
*/
|
|
2875
2869
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -11003,7 +10997,6 @@ export class PlayerBreakBlockBeforeEventSignal {
|
|
|
11003
10997
|
}
|
|
11004
10998
|
|
|
11005
10999
|
/**
|
|
11006
|
-
* @rc
|
|
11007
11000
|
* Represents the players cursor inventory. Used when moving
|
|
11008
11001
|
* items between between containers in the inventory UI. Not
|
|
11009
11002
|
* used with touch controls.
|
|
@@ -11095,18 +11088,12 @@ export class PlayerDimensionChangeAfterEventSignal {
|
|
|
11095
11088
|
unsubscribe(callback: (arg: PlayerDimensionChangeAfterEvent) => void): void;
|
|
11096
11089
|
}
|
|
11097
11090
|
|
|
11098
|
-
/**
|
|
11099
|
-
* @rc
|
|
11100
|
-
*/
|
|
11101
11091
|
export class PlayerEmoteAfterEvent {
|
|
11102
11092
|
private constructor();
|
|
11103
11093
|
readonly personaPieceId: string;
|
|
11104
11094
|
readonly player: Player;
|
|
11105
11095
|
}
|
|
11106
11096
|
|
|
11107
|
-
/**
|
|
11108
|
-
* @rc
|
|
11109
|
-
*/
|
|
11110
11097
|
export class PlayerEmoteAfterEventSignal {
|
|
11111
11098
|
private constructor();
|
|
11112
11099
|
/**
|
|
@@ -13965,9 +13952,6 @@ export class WorldAfterEvents {
|
|
|
13965
13952
|
*
|
|
13966
13953
|
*/
|
|
13967
13954
|
readonly playerDimensionChange: PlayerDimensionChangeAfterEventSignal;
|
|
13968
|
-
/**
|
|
13969
|
-
* @rc
|
|
13970
|
-
*/
|
|
13971
13955
|
readonly playerEmote: PlayerEmoteAfterEventSignal;
|
|
13972
13956
|
readonly playerGameModeChange: PlayerGameModeChangeAfterEventSignal;
|
|
13973
13957
|
/**
|
|
@@ -14820,9 +14804,6 @@ export interface EntityFilter {
|
|
|
14820
14804
|
*
|
|
14821
14805
|
*/
|
|
14822
14806
|
name?: string;
|
|
14823
|
-
/**
|
|
14824
|
-
* @rc
|
|
14825
|
-
*/
|
|
14826
14807
|
propertyOptions?: EntityQueryPropertyOptions[];
|
|
14827
14808
|
/**
|
|
14828
14809
|
* @remarks
|
|
@@ -15076,9 +15057,6 @@ export interface EntityQueryOptions extends EntityFilter {
|
|
|
15076
15057
|
volume?: Vector3;
|
|
15077
15058
|
}
|
|
15078
15059
|
|
|
15079
|
-
/**
|
|
15080
|
-
* @rc
|
|
15081
|
-
*/
|
|
15082
15060
|
export interface EntityQueryPropertyOptions {
|
|
15083
15061
|
exclude?: boolean;
|
|
15084
15062
|
propertyId: string;
|
|
@@ -15181,7 +15159,6 @@ export interface EntityRaycastOptions extends EntityFilter {
|
|
|
15181
15159
|
}
|
|
15182
15160
|
|
|
15183
15161
|
/**
|
|
15184
|
-
* @rc
|
|
15185
15162
|
* Equal to operator.
|
|
15186
15163
|
*/
|
|
15187
15164
|
export interface EqualsComparison {
|
|
@@ -15243,7 +15220,6 @@ export interface ExplosionOptions {
|
|
|
15243
15220
|
}
|
|
15244
15221
|
|
|
15245
15222
|
/**
|
|
15246
|
-
* @rc
|
|
15247
15223
|
* Greater than operator.
|
|
15248
15224
|
*/
|
|
15249
15225
|
export interface GreaterThanComparison {
|
|
@@ -15256,7 +15232,6 @@ export interface GreaterThanComparison {
|
|
|
15256
15232
|
}
|
|
15257
15233
|
|
|
15258
15234
|
/**
|
|
15259
|
-
* @rc
|
|
15260
15235
|
* Greater than or equal to operator.
|
|
15261
15236
|
*/
|
|
15262
15237
|
export interface GreaterThanOrEqualsComparison {
|
|
@@ -15326,7 +15301,6 @@ export interface ItemCustomComponent {
|
|
|
15326
15301
|
}
|
|
15327
15302
|
|
|
15328
15303
|
/**
|
|
15329
|
-
* @rc
|
|
15330
15304
|
* Less than operator.
|
|
15331
15305
|
*/
|
|
15332
15306
|
export interface LessThanComparison {
|
|
@@ -15339,7 +15313,6 @@ export interface LessThanComparison {
|
|
|
15339
15313
|
}
|
|
15340
15314
|
|
|
15341
15315
|
/**
|
|
15342
|
-
* @rc
|
|
15343
15316
|
* Less than or equal to operator.
|
|
15344
15317
|
*/
|
|
15345
15318
|
export interface LessThanOrEqualsComparison {
|
|
@@ -15377,7 +15350,6 @@ export interface MusicOptions {
|
|
|
15377
15350
|
}
|
|
15378
15351
|
|
|
15379
15352
|
/**
|
|
15380
|
-
* @rc
|
|
15381
15353
|
* Not equal to operator.
|
|
15382
15354
|
*/
|
|
15383
15355
|
export interface NotEqualsComparison {
|
|
@@ -15467,7 +15439,6 @@ export interface ProjectileShootOptions {
|
|
|
15467
15439
|
}
|
|
15468
15440
|
|
|
15469
15441
|
/**
|
|
15470
|
-
* @rc
|
|
15471
15442
|
* Operator represents a lower/upper bound structure for
|
|
15472
15443
|
* expressing a potential range of numbers.
|
|
15473
15444
|
*/
|