@minecraft/server 2.11.0-beta.1.26.50-preview.20 → 2.11.0-beta.1.26.50-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.
- package/index.d.ts +21 -16
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -48,7 +48,7 @@ export enum AimAssistTargetMode {
|
|
|
48
48
|
*/
|
|
49
49
|
export enum BlockComponentTypes {
|
|
50
50
|
/**
|
|
51
|
-
* @
|
|
51
|
+
* @rc
|
|
52
52
|
*/
|
|
53
53
|
DynamicProperties = 'minecraft:dynamic_properties',
|
|
54
54
|
FluidContainer = 'minecraft:fluid_container',
|
|
@@ -2255,7 +2255,7 @@ export enum InputPermissionCategory {
|
|
|
2255
2255
|
*/
|
|
2256
2256
|
export enum ItemComponentTypes {
|
|
2257
2257
|
/**
|
|
2258
|
-
* @
|
|
2258
|
+
* @rc
|
|
2259
2259
|
*/
|
|
2260
2260
|
BlockDynamicProperties = 'minecraft:block_actor_dynamic_properties',
|
|
2261
2261
|
/**
|
|
@@ -5211,7 +5211,7 @@ export class BlockCustomComponentInstance extends BlockComponent {
|
|
|
5211
5211
|
}
|
|
5212
5212
|
|
|
5213
5213
|
/**
|
|
5214
|
-
* @
|
|
5214
|
+
* @rc
|
|
5215
5215
|
* Represents the dynamic properties of a block in the world.
|
|
5216
5216
|
* Only available with block entities. Up to 1KB per content
|
|
5217
5217
|
* pack, per block entity in their dynamic properties storage.
|
|
@@ -6957,10 +6957,11 @@ export class ChatSendBeforeEvent {
|
|
|
6957
6957
|
* @remarks
|
|
6958
6958
|
* Optional list of players that will receive this message. If
|
|
6959
6959
|
* defined, this message is directly targeted to one or more
|
|
6960
|
-
* players (i.e., is not broadcast.
|
|
6960
|
+
* players (i.e., is not broadcast). This list can be modified
|
|
6961
|
+
* to change the message recipients.
|
|
6961
6962
|
*
|
|
6962
6963
|
*/
|
|
6963
|
-
|
|
6964
|
+
targets?: Player[];
|
|
6964
6965
|
}
|
|
6965
6966
|
|
|
6966
6967
|
/**
|
|
@@ -13563,7 +13564,7 @@ export class EntitySpawnAfterEventSignal {
|
|
|
13563
13564
|
}
|
|
13564
13565
|
|
|
13565
13566
|
/**
|
|
13566
|
-
* @
|
|
13567
|
+
* @rc
|
|
13567
13568
|
* Contains data related to an entity beginning to sneak.
|
|
13568
13569
|
*/
|
|
13569
13570
|
export class EntityStartSneakingAfterEvent {
|
|
@@ -13577,7 +13578,7 @@ export class EntityStartSneakingAfterEvent {
|
|
|
13577
13578
|
}
|
|
13578
13579
|
|
|
13579
13580
|
/**
|
|
13580
|
-
* @
|
|
13581
|
+
* @rc
|
|
13581
13582
|
* Manages callbacks that are connected to when an entity
|
|
13582
13583
|
* begins sneaking.
|
|
13583
13584
|
*/
|
|
@@ -13611,7 +13612,7 @@ export class EntityStartSneakingAfterEventSignal {
|
|
|
13611
13612
|
}
|
|
13612
13613
|
|
|
13613
13614
|
/**
|
|
13614
|
-
* @
|
|
13615
|
+
* @rc
|
|
13615
13616
|
* Contains data related to an entity stopping sneaking.
|
|
13616
13617
|
*/
|
|
13617
13618
|
export class EntityStopSneakingAfterEvent {
|
|
@@ -13625,7 +13626,7 @@ export class EntityStopSneakingAfterEvent {
|
|
|
13625
13626
|
}
|
|
13626
13627
|
|
|
13627
13628
|
/**
|
|
13628
|
-
* @
|
|
13629
|
+
* @rc
|
|
13629
13630
|
* Manages callbacks that are connected to when an entity stops
|
|
13630
13631
|
* sneaking.
|
|
13631
13632
|
*/
|
|
@@ -14362,7 +14363,7 @@ export class FluidContainer {
|
|
|
14362
14363
|
}
|
|
14363
14364
|
|
|
14364
14365
|
/**
|
|
14365
|
-
* @
|
|
14366
|
+
* @rc
|
|
14366
14367
|
* Provides access to the fog definitions stack of a player
|
|
14367
14368
|
* entity, allowing scripts to push, pop, remove, and query
|
|
14368
14369
|
* active fog definitions.
|
|
@@ -14837,7 +14838,7 @@ export class ISerializable {
|
|
|
14837
14838
|
}
|
|
14838
14839
|
|
|
14839
14840
|
/**
|
|
14840
|
-
* @
|
|
14841
|
+
* @rc
|
|
14841
14842
|
* Represents the dynamic properties of a block. Only available
|
|
14842
14843
|
* from block entities. Up to 1KBytes of data can be stored per
|
|
14843
14844
|
* content pack per block entity in their dynamic properties
|
|
@@ -17980,7 +17981,7 @@ export class Player extends Entity {
|
|
|
17980
17981
|
*/
|
|
17981
17982
|
commandPermissionLevel: CommandPermissionLevel;
|
|
17982
17983
|
/**
|
|
17983
|
-
* @
|
|
17984
|
+
* @rc
|
|
17984
17985
|
* @remarks
|
|
17985
17986
|
* Contains methods for manipulating the render distance fog
|
|
17986
17987
|
* settings of a Player.
|
|
@@ -24394,7 +24395,7 @@ export class WorldAfterEvents {
|
|
|
24394
24395
|
*/
|
|
24395
24396
|
readonly entitySpawn: EntitySpawnAfterEventSignal;
|
|
24396
24397
|
/**
|
|
24397
|
-
* @
|
|
24398
|
+
* @rc
|
|
24398
24399
|
* @remarks
|
|
24399
24400
|
* This event fires when an entity starts sneaking.
|
|
24400
24401
|
*
|
|
@@ -24403,7 +24404,7 @@ export class WorldAfterEvents {
|
|
|
24403
24404
|
*/
|
|
24404
24405
|
readonly entityStartSneaking: EntityStartSneakingAfterEventSignal;
|
|
24405
24406
|
/**
|
|
24406
|
-
* @
|
|
24407
|
+
* @rc
|
|
24407
24408
|
* @remarks
|
|
24408
24409
|
* This event fires when an entity stops sneaking.
|
|
24409
24410
|
*
|
|
@@ -26552,7 +26553,7 @@ export interface EntityRaycastOptions extends EntityFilter {
|
|
|
26552
26553
|
}
|
|
26553
26554
|
|
|
26554
26555
|
/**
|
|
26555
|
-
* @
|
|
26556
|
+
* @rc
|
|
26556
26557
|
* Options used to filter entity start sneaking and stop
|
|
26557
26558
|
* sneaking events.
|
|
26558
26559
|
*/
|
|
@@ -27896,6 +27897,10 @@ export interface TeleportOptions {
|
|
|
27896
27897
|
*
|
|
27897
27898
|
*/
|
|
27898
27899
|
facingLocation?: Vector3;
|
|
27900
|
+
/**
|
|
27901
|
+
* @rc
|
|
27902
|
+
*/
|
|
27903
|
+
forceProvidedPositionOnDimensionChange?: boolean;
|
|
27899
27904
|
/**
|
|
27900
27905
|
* @remarks
|
|
27901
27906
|
* Whether to retain the entities velocity after teleport.
|
|
@@ -28318,7 +28323,7 @@ export class EntitySpawnError extends Error {
|
|
|
28318
28323
|
}
|
|
28319
28324
|
|
|
28320
28325
|
/**
|
|
28321
|
-
* @
|
|
28326
|
+
* @rc
|
|
28322
28327
|
* Error thrown by {@link FogSettings} operations when the fog
|
|
28323
28328
|
* stack limit is exceeded or an invalid fog identifier is
|
|
28324
28329
|
* provided.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.11.0-beta.1.26.50-preview.
|
|
3
|
+
"version": "2.11.0-beta.1.26.50-preview.22",
|
|
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 || 1.26.50-preview.
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70 || 1.26.50-preview.22"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|