@minecraft/server 1.0.0-internal.00001b39 → 1.1.0-beta.preview.1.19.50.21
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 +695 -161
- package/package.json +1 -1
- package/tests.ts +65 -49
package/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* ```json
|
|
16
16
|
* {
|
|
17
17
|
* "module_name": "@minecraft/server",
|
|
18
|
-
* "version": "0.1.
|
|
18
|
+
* "version": "1.1.0-internal.preview.1.19.50.21"
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
@@ -911,7 +911,15 @@ export class BlockInventoryComponent extends BlockComponent {
|
|
|
911
911
|
* Coordinates of the specified block.
|
|
912
912
|
*/
|
|
913
913
|
readonly location: BlockLocation;
|
|
914
|
+
/**
|
|
915
|
+
* Identifier of this component. Should always be
|
|
916
|
+
* minecraft:inventory.
|
|
917
|
+
*/
|
|
914
918
|
readonly typeId: string;
|
|
919
|
+
/**
|
|
920
|
+
* Identifier of this component. Should always be
|
|
921
|
+
* minecraft:inventory.
|
|
922
|
+
*/
|
|
915
923
|
static readonly componentId = 'minecraft:inventory';
|
|
916
924
|
protected constructor();
|
|
917
925
|
}
|
|
@@ -1021,7 +1029,15 @@ export class BlockLavaContainerComponent extends BlockComponent {
|
|
|
1021
1029
|
* Source location of the block.
|
|
1022
1030
|
*/
|
|
1023
1031
|
readonly location: BlockLocation;
|
|
1032
|
+
/**
|
|
1033
|
+
* Identifier of this component. Should always be
|
|
1034
|
+
* minecraft:lavaContainer.
|
|
1035
|
+
*/
|
|
1024
1036
|
readonly typeId: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* Identifier of this component. Should always be
|
|
1039
|
+
* minecraft:lavaContainer.
|
|
1040
|
+
*/
|
|
1025
1041
|
static readonly componentId = 'minecraft:lavaContainer';
|
|
1026
1042
|
protected constructor();
|
|
1027
1043
|
}
|
|
@@ -1205,7 +1221,13 @@ export class BlockPistonComponent extends BlockComponent {
|
|
|
1205
1221
|
* Source location of the block.
|
|
1206
1222
|
*/
|
|
1207
1223
|
readonly location: BlockLocation;
|
|
1224
|
+
/**
|
|
1225
|
+
* Identifier of this component.
|
|
1226
|
+
*/
|
|
1208
1227
|
readonly typeId: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* Identifier of this component.
|
|
1230
|
+
*/
|
|
1209
1231
|
static readonly componentId = 'minecraft:piston';
|
|
1210
1232
|
protected constructor();
|
|
1211
1233
|
}
|
|
@@ -1266,7 +1288,15 @@ export class BlockPotionContainerComponent extends BlockComponent {
|
|
|
1266
1288
|
* Source location of the block.
|
|
1267
1289
|
*/
|
|
1268
1290
|
readonly location: BlockLocation;
|
|
1291
|
+
/**
|
|
1292
|
+
* Identifier of this component. Should always be
|
|
1293
|
+
* minecraft:potionContainer.
|
|
1294
|
+
*/
|
|
1269
1295
|
readonly typeId: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Identifier of this component. Should always be
|
|
1298
|
+
* minecraft:potionContainer.
|
|
1299
|
+
*/
|
|
1270
1300
|
static readonly componentId = 'minecraft:potionContainer';
|
|
1271
1301
|
/**
|
|
1272
1302
|
* @remarks
|
|
@@ -1332,6 +1362,7 @@ export class BlockProperties {
|
|
|
1332
1362
|
static readonly biteCounter = 'bite_counter';
|
|
1333
1363
|
static readonly blockLightLevel = 'block_light_level';
|
|
1334
1364
|
static readonly bloom = 'bloom';
|
|
1365
|
+
static readonly booksStored = 'books_stored';
|
|
1335
1366
|
/**
|
|
1336
1367
|
* Boolean property that determines if a bottle is shown in the
|
|
1337
1368
|
* first slot of the brewing stand.
|
|
@@ -1560,6 +1591,7 @@ export class BlockProperties {
|
|
|
1560
1591
|
static readonly itemFrameMapBit = 'item_frame_map_bit';
|
|
1561
1592
|
static readonly itemFramePhotoBit = 'item_frame_photo_bit';
|
|
1562
1593
|
static readonly kelpAge = 'kelp_age';
|
|
1594
|
+
static readonly lastInteractedSlot = 'last_interacted_slot';
|
|
1563
1595
|
static readonly leverDirection = 'lever_direction';
|
|
1564
1596
|
/**
|
|
1565
1597
|
* Integer property that represents the level of liquid blocks.
|
|
@@ -1879,32 +1911,20 @@ export class BlockProperties {
|
|
|
1879
1911
|
static readonly woodType = 'wood_type';
|
|
1880
1912
|
protected constructor();
|
|
1881
1913
|
}
|
|
1882
|
-
/**
|
|
1883
|
-
* Contains additional options for configuring a block raycast
|
|
1884
|
-
* query.
|
|
1885
|
-
*/
|
|
1886
|
-
export class BlockRaycastOptions {
|
|
1887
|
-
/**
|
|
1888
|
-
* If true, liquid blocks will be considered as blocks that
|
|
1889
|
-
* 'stop' the raycast.
|
|
1890
|
-
*/
|
|
1891
|
-
includeLiquidBlocks: boolean;
|
|
1892
|
-
/**
|
|
1893
|
-
* If true, passable blocks like vines and flowers will be
|
|
1894
|
-
* considered as blocks that 'stop' the raycast.
|
|
1895
|
-
*/
|
|
1896
|
-
includePassableBlocks: boolean;
|
|
1897
|
-
/**
|
|
1898
|
-
* Maximum distance, in blocks, to process the raycast.
|
|
1899
|
-
*/
|
|
1900
|
-
maxDistance: number;
|
|
1901
|
-
}
|
|
1902
1914
|
/**
|
|
1903
1915
|
* Represents a block that can play a record.
|
|
1904
1916
|
*/
|
|
1905
1917
|
export class BlockRecordPlayerComponent extends BlockComponent {
|
|
1906
1918
|
readonly location: BlockLocation;
|
|
1919
|
+
/**
|
|
1920
|
+
* Identifier of this component. Should always be
|
|
1921
|
+
* minecraft:recordPlayer.
|
|
1922
|
+
*/
|
|
1907
1923
|
readonly typeId: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* Identifier of this component. Should always be
|
|
1926
|
+
* minecraft:recordPlayer.
|
|
1927
|
+
*/
|
|
1908
1928
|
static readonly componentId = 'minecraft:recordPlayer';
|
|
1909
1929
|
/**
|
|
1910
1930
|
* @remarks
|
|
@@ -1951,7 +1971,15 @@ export class BlockSnowContainerComponent extends BlockComponent {
|
|
|
1951
1971
|
* Source location of the block.
|
|
1952
1972
|
*/
|
|
1953
1973
|
readonly location: BlockLocation;
|
|
1974
|
+
/**
|
|
1975
|
+
* Identifier of this component. Should always be
|
|
1976
|
+
* minecraft:snowContainer.
|
|
1977
|
+
*/
|
|
1954
1978
|
readonly typeId: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* Identifier of this component. Should always be
|
|
1981
|
+
* minecraft:snowContainer.
|
|
1982
|
+
*/
|
|
1955
1983
|
static readonly componentId = 'minecraft:snowContainer';
|
|
1956
1984
|
protected constructor();
|
|
1957
1985
|
}
|
|
@@ -2000,7 +2028,15 @@ export class BlockWaterContainerComponent extends BlockComponent {
|
|
|
2000
2028
|
* Source location of the block.
|
|
2001
2029
|
*/
|
|
2002
2030
|
readonly location: BlockLocation;
|
|
2031
|
+
/**
|
|
2032
|
+
* Identifier of this component. Should always be
|
|
2033
|
+
* minecraft:waterContainer.
|
|
2034
|
+
*/
|
|
2003
2035
|
readonly typeId: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* Identifier of this component. Should always be
|
|
2038
|
+
* minecraft:waterContainer.
|
|
2039
|
+
*/
|
|
2004
2040
|
static readonly componentId = 'minecraft:waterContainer';
|
|
2005
2041
|
/**
|
|
2006
2042
|
* @remarks
|
|
@@ -2489,25 +2525,6 @@ export class Dimension {
|
|
|
2489
2525
|
* @throws This function can throw errors.
|
|
2490
2526
|
*/
|
|
2491
2527
|
getPlayers(getPlayers?: EntityQueryOptions): PlayerIterator;
|
|
2492
|
-
/**
|
|
2493
|
-
* @remarks
|
|
2494
|
-
* Runs a particular command from the context of the broader
|
|
2495
|
-
* dimension.
|
|
2496
|
-
* @param commandString
|
|
2497
|
-
* Command to run. Note that command strings should not start
|
|
2498
|
-
* with slash.
|
|
2499
|
-
* @returns
|
|
2500
|
-
* For commands that return data, returns a JSON structure with
|
|
2501
|
-
* command response values.
|
|
2502
|
-
* @throws This function can throw errors.
|
|
2503
|
-
* @example commands.js
|
|
2504
|
-
* ```typescript
|
|
2505
|
-
* world.getDimension("overworld").runCommand("say You got a new high score!");
|
|
2506
|
-
* world.getDimension("overworld").runCommand("scoreboard players set @p score 10");
|
|
2507
|
-
*
|
|
2508
|
-
* ```
|
|
2509
|
-
*/
|
|
2510
|
-
runCommand(commandString: string): any;
|
|
2511
2528
|
/**
|
|
2512
2529
|
* @remarks
|
|
2513
2530
|
* Runs a particular command asynchronously from the context of
|
|
@@ -2759,7 +2776,7 @@ export class EnchantmentList implements Iterable<Enchantment> {
|
|
|
2759
2776
|
* The item slot/type that this collection is applied to.
|
|
2760
2777
|
*/
|
|
2761
2778
|
readonly slot: number;
|
|
2762
|
-
|
|
2779
|
+
[Symbol.iterator](): Iterator<Enchantment>;
|
|
2763
2780
|
/**
|
|
2764
2781
|
* @remarks
|
|
2765
2782
|
* Attempts to add the enchantment to this collection. Returns
|
|
@@ -2860,7 +2877,10 @@ export class Entity {
|
|
|
2860
2877
|
*/
|
|
2861
2878
|
readonly headLocation: Location;
|
|
2862
2879
|
/**
|
|
2863
|
-
* Unique identifier of the entity.
|
|
2880
|
+
* Unique identifier of the entity. This identifier is intended
|
|
2881
|
+
* to be consistent across loads of a world instance. No
|
|
2882
|
+
* meaning should be inferred from the value and structure of
|
|
2883
|
+
* this unique identifier - do not parse or interpret it.
|
|
2864
2884
|
* @throws This property can throw when used.
|
|
2865
2885
|
*/
|
|
2866
2886
|
readonly id: string;
|
|
@@ -2873,7 +2893,7 @@ export class Entity {
|
|
|
2873
2893
|
* Current location of the entity.
|
|
2874
2894
|
* @throws This property can throw when used.
|
|
2875
2895
|
*/
|
|
2876
|
-
readonly location:
|
|
2896
|
+
readonly location: Vector3;
|
|
2877
2897
|
/**
|
|
2878
2898
|
* Given name of the entity.
|
|
2879
2899
|
*/
|
|
@@ -2894,6 +2914,11 @@ export class Entity {
|
|
|
2894
2914
|
* @throws This property can throw when used.
|
|
2895
2915
|
*/
|
|
2896
2916
|
readonly target: Entity;
|
|
2917
|
+
/**
|
|
2918
|
+
* Unique identifier of the type of the entity - for example,
|
|
2919
|
+
* 'minecraft:skeleton'.
|
|
2920
|
+
* @throws This property can throw when used.
|
|
2921
|
+
*/
|
|
2897
2922
|
readonly typeId: string;
|
|
2898
2923
|
/**
|
|
2899
2924
|
* Velocity of the entity.
|
|
@@ -3054,24 +3079,6 @@ export class Entity {
|
|
|
3054
3079
|
* @throws This function can throw errors.
|
|
3055
3080
|
*/
|
|
3056
3081
|
removeTag(tag: string): boolean;
|
|
3057
|
-
/**
|
|
3058
|
-
* @remarks
|
|
3059
|
-
* Runs a particular command from the context of this entity.
|
|
3060
|
-
* @param commandString
|
|
3061
|
-
* Command to run. Note that command strings should not start
|
|
3062
|
-
* with slash.
|
|
3063
|
-
* @returns
|
|
3064
|
-
* For commands that return data, returns a JSON structure with
|
|
3065
|
-
* command response values.
|
|
3066
|
-
* @throws This function can throw errors.
|
|
3067
|
-
* @example commands.js
|
|
3068
|
-
* ```typescript
|
|
3069
|
-
* entity.runCommand("say You got a new high score!");
|
|
3070
|
-
* entity.runCommand("scoreboard players set @p score 10");
|
|
3071
|
-
*
|
|
3072
|
-
* ```
|
|
3073
|
-
*/
|
|
3074
|
-
runCommand(commandString: string): any;
|
|
3075
3082
|
/**
|
|
3076
3083
|
* @remarks
|
|
3077
3084
|
* Runs a particular command asynchronously from the context of
|
|
@@ -3111,7 +3118,7 @@ export class Entity {
|
|
|
3111
3118
|
* X/Y/Z components of the velocity.
|
|
3112
3119
|
* @throws This function can throw errors.
|
|
3113
3120
|
*/
|
|
3114
|
-
setVelocity(velocity:
|
|
3121
|
+
setVelocity(velocity: Vector3): void;
|
|
3115
3122
|
/**
|
|
3116
3123
|
* @remarks
|
|
3117
3124
|
* Teleports the selected entity to a new location
|
|
@@ -3126,7 +3133,13 @@ export class Entity {
|
|
|
3126
3133
|
* @param keepVelocity
|
|
3127
3134
|
* @throws This function can throw errors.
|
|
3128
3135
|
*/
|
|
3129
|
-
teleport(
|
|
3136
|
+
teleport(
|
|
3137
|
+
location: Vector3,
|
|
3138
|
+
dimension: Dimension,
|
|
3139
|
+
xRotation: number,
|
|
3140
|
+
yRotation: number,
|
|
3141
|
+
keepVelocity?: boolean,
|
|
3142
|
+
): void;
|
|
3130
3143
|
/**
|
|
3131
3144
|
* @remarks
|
|
3132
3145
|
* Teleports the selected entity to a new location, and will
|
|
@@ -3140,7 +3153,7 @@ export class Entity {
|
|
|
3140
3153
|
* @param keepVelocity
|
|
3141
3154
|
* @throws This function can throw errors.
|
|
3142
3155
|
*/
|
|
3143
|
-
teleportFacing(location:
|
|
3156
|
+
teleportFacing(location: Vector3, dimension: Dimension, facingLocation: Vector3, keepVelocity?: boolean): void;
|
|
3144
3157
|
/**
|
|
3145
3158
|
* @remarks
|
|
3146
3159
|
* Triggers an entity type event. For every entity, a number of
|
|
@@ -3172,7 +3185,15 @@ export class EntityAddRiderComponent extends IEntityComponent {
|
|
|
3172
3185
|
* @throws This property can throw when used.
|
|
3173
3186
|
*/
|
|
3174
3187
|
readonly spawnEvent: string;
|
|
3188
|
+
/**
|
|
3189
|
+
* Identifier of this component. Should always be
|
|
3190
|
+
* minecraft:addrider.
|
|
3191
|
+
*/
|
|
3175
3192
|
readonly typeId: string;
|
|
3193
|
+
/**
|
|
3194
|
+
* Identifier of this component. Should always be
|
|
3195
|
+
* minecraft:addrider.
|
|
3196
|
+
*/
|
|
3176
3197
|
static readonly componentId = 'minecraft:addrider';
|
|
3177
3198
|
protected constructor();
|
|
3178
3199
|
}
|
|
@@ -3205,7 +3226,15 @@ export class EntityAgeableComponent extends IEntityComponent {
|
|
|
3205
3226
|
* @throws This property can throw when used.
|
|
3206
3227
|
*/
|
|
3207
3228
|
readonly growUp: Trigger;
|
|
3229
|
+
/**
|
|
3230
|
+
* Identifier of this component. Should always be
|
|
3231
|
+
* minecraft:ageable.
|
|
3232
|
+
*/
|
|
3208
3233
|
readonly typeId: string;
|
|
3234
|
+
/**
|
|
3235
|
+
* Identifier of this component. Should always be
|
|
3236
|
+
* minecraft:ageable.
|
|
3237
|
+
*/
|
|
3209
3238
|
static readonly componentId = 'minecraft:ageable';
|
|
3210
3239
|
protected constructor();
|
|
3211
3240
|
}
|
|
@@ -3266,7 +3295,15 @@ export class EntityBreathableComponent extends IEntityComponent {
|
|
|
3266
3295
|
* @throws This property can throw when used.
|
|
3267
3296
|
*/
|
|
3268
3297
|
readonly totalSupply: number;
|
|
3298
|
+
/**
|
|
3299
|
+
* Identifier of this component. Should always be
|
|
3300
|
+
* minecraft:breathable.
|
|
3301
|
+
*/
|
|
3269
3302
|
readonly typeId: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* Identifier of this component. Should always be
|
|
3305
|
+
* minecraft:breathable.
|
|
3306
|
+
*/
|
|
3270
3307
|
static readonly componentId = 'minecraft:breathable';
|
|
3271
3308
|
/**
|
|
3272
3309
|
* @remarks
|
|
@@ -3283,7 +3320,15 @@ export class EntityBreathableComponent extends IEntityComponent {
|
|
|
3283
3320
|
* climb up ladders.
|
|
3284
3321
|
*/
|
|
3285
3322
|
export class EntityCanClimbComponent extends IEntityComponent {
|
|
3323
|
+
/**
|
|
3324
|
+
* Identifier of this component. Should always be
|
|
3325
|
+
* minecraft:can_climb.
|
|
3326
|
+
*/
|
|
3286
3327
|
readonly typeId: string;
|
|
3328
|
+
/**
|
|
3329
|
+
* Identifier of this component. Should always be
|
|
3330
|
+
* minecraft:can_climb.
|
|
3331
|
+
*/
|
|
3287
3332
|
static readonly componentId = 'minecraft:can_climb';
|
|
3288
3333
|
protected constructor();
|
|
3289
3334
|
}
|
|
@@ -3293,7 +3338,15 @@ export class EntityCanClimbComponent extends IEntityComponent {
|
|
|
3293
3338
|
* solid block is required underneath it.
|
|
3294
3339
|
*/
|
|
3295
3340
|
export class EntityCanFlyComponent extends IEntityComponent {
|
|
3341
|
+
/**
|
|
3342
|
+
* Identifier of this component. Should always be
|
|
3343
|
+
* minecraft:can_fly.
|
|
3344
|
+
*/
|
|
3296
3345
|
readonly typeId: string;
|
|
3346
|
+
/**
|
|
3347
|
+
* Identifier of this component. Should always be
|
|
3348
|
+
* minecraft:can_fly.
|
|
3349
|
+
*/
|
|
3297
3350
|
static readonly componentId = 'minecraft:can_fly';
|
|
3298
3351
|
protected constructor();
|
|
3299
3352
|
}
|
|
@@ -3302,7 +3355,15 @@ export class EntityCanFlyComponent extends IEntityComponent {
|
|
|
3302
3355
|
* power jump like the horse does within Minecraft.
|
|
3303
3356
|
*/
|
|
3304
3357
|
export class EntityCanPowerJumpComponent extends IEntityComponent {
|
|
3358
|
+
/**
|
|
3359
|
+
* Identifier of this component. Should always be
|
|
3360
|
+
* minecraft:can_power_jump.
|
|
3361
|
+
*/
|
|
3305
3362
|
readonly typeId: string;
|
|
3363
|
+
/**
|
|
3364
|
+
* Identifier of this component. Should always be
|
|
3365
|
+
* minecraft:can_power_jump.
|
|
3366
|
+
*/
|
|
3306
3367
|
static readonly componentId = 'minecraft:can_power_jump';
|
|
3307
3368
|
protected constructor();
|
|
3308
3369
|
}
|
|
@@ -3311,11 +3372,19 @@ export class EntityCanPowerJumpComponent extends IEntityComponent {
|
|
|
3311
3372
|
* that have predefined color values (sheep, llama, shulker).
|
|
3312
3373
|
*/
|
|
3313
3374
|
export class EntityColorComponent extends IEntityComponent {
|
|
3375
|
+
/**
|
|
3376
|
+
* Identifier of this component. Should always be
|
|
3377
|
+
* minecraft:color.
|
|
3378
|
+
*/
|
|
3314
3379
|
readonly typeId: string;
|
|
3315
3380
|
/**
|
|
3316
3381
|
* The palette color value of the entity.
|
|
3317
3382
|
*/
|
|
3318
3383
|
value: number;
|
|
3384
|
+
/**
|
|
3385
|
+
* Identifier of this component. Should always be
|
|
3386
|
+
* minecraft:color.
|
|
3387
|
+
*/
|
|
3319
3388
|
static readonly componentId = 'minecraft:color';
|
|
3320
3389
|
protected constructor();
|
|
3321
3390
|
}
|
|
@@ -3373,28 +3442,6 @@ export class EntityCreateEventSignal {
|
|
|
3373
3442
|
unsubscribe(callback: (arg: EntityCreateEvent) => void): void;
|
|
3374
3443
|
protected constructor();
|
|
3375
3444
|
}
|
|
3376
|
-
/**
|
|
3377
|
-
* Specifies additional filters that are used in registering a
|
|
3378
|
-
* data driven trigger event for entities.
|
|
3379
|
-
*/
|
|
3380
|
-
export class EntityDataDrivenTriggerEventOptions {
|
|
3381
|
-
/**
|
|
3382
|
-
* If this value is set, this event will only fire for entities
|
|
3383
|
-
* that match the entities within this collection.
|
|
3384
|
-
*/
|
|
3385
|
-
entities: Entity[];
|
|
3386
|
-
/**
|
|
3387
|
-
* If this value is set, this event will only fire if the
|
|
3388
|
-
* impacted entities' type matches this parameter.
|
|
3389
|
-
*/
|
|
3390
|
-
entityTypes: string[];
|
|
3391
|
-
/**
|
|
3392
|
-
* If this value is set, this event will only fire if the
|
|
3393
|
-
* impacted triggered event matches one of the events listed in
|
|
3394
|
-
* this parameter.
|
|
3395
|
-
*/
|
|
3396
|
-
eventTypes: string[];
|
|
3397
|
-
}
|
|
3398
3445
|
/**
|
|
3399
3446
|
* As part of the Ageable component, represents a set of items
|
|
3400
3447
|
* that can be fed to an entity and the rate at which that
|
|
@@ -3414,28 +3461,20 @@ export class EntityDefinitionFeedItem {
|
|
|
3414
3461
|
readonly item: string;
|
|
3415
3462
|
protected constructor();
|
|
3416
3463
|
}
|
|
3417
|
-
/**
|
|
3418
|
-
* Contains optional parameters for registering an entity
|
|
3419
|
-
* event.
|
|
3420
|
-
*/
|
|
3421
|
-
export class EntityEventOptions {
|
|
3422
|
-
/**
|
|
3423
|
-
* If this value is set, this event will only fire for entities
|
|
3424
|
-
* that match the entities within this collection.
|
|
3425
|
-
*/
|
|
3426
|
-
entities: Entity[];
|
|
3427
|
-
/**
|
|
3428
|
-
* If this value is set, this event will only fire if the
|
|
3429
|
-
* impacted entities' type matches this parameter.
|
|
3430
|
-
*/
|
|
3431
|
-
entityTypes: string[];
|
|
3432
|
-
}
|
|
3433
3464
|
/**
|
|
3434
3465
|
* When added, this component signifies that this entity
|
|
3435
3466
|
* doesn't take damage from fire.
|
|
3436
3467
|
*/
|
|
3437
3468
|
export class EntityFireImmuneComponent extends IEntityComponent {
|
|
3469
|
+
/**
|
|
3470
|
+
* Identifier of this component. Should always be
|
|
3471
|
+
* minecraft:fire_immune.
|
|
3472
|
+
*/
|
|
3438
3473
|
readonly typeId: string;
|
|
3474
|
+
/**
|
|
3475
|
+
* Identifier of this component. Should always be
|
|
3476
|
+
* minecraft:fire_immune.
|
|
3477
|
+
*/
|
|
3439
3478
|
static readonly componentId = 'minecraft:fire_immune';
|
|
3440
3479
|
protected constructor();
|
|
3441
3480
|
}
|
|
@@ -3444,7 +3483,15 @@ export class EntityFireImmuneComponent extends IEntityComponent {
|
|
|
3444
3483
|
* float in liquid blocks.
|
|
3445
3484
|
*/
|
|
3446
3485
|
export class EntityFloatsInLiquidComponent extends IEntityComponent {
|
|
3486
|
+
/**
|
|
3487
|
+
* Identifier of this component. Should always be
|
|
3488
|
+
* minecraft:floats_in_liquid.
|
|
3489
|
+
*/
|
|
3447
3490
|
readonly typeId: string;
|
|
3491
|
+
/**
|
|
3492
|
+
* Identifier of this component. Should always be
|
|
3493
|
+
* minecraft:floats_in_liquid.
|
|
3494
|
+
*/
|
|
3448
3495
|
static readonly componentId = 'minecraft:floats_in_liquid';
|
|
3449
3496
|
protected constructor();
|
|
3450
3497
|
}
|
|
@@ -3452,11 +3499,19 @@ export class EntityFloatsInLiquidComponent extends IEntityComponent {
|
|
|
3452
3499
|
* Represents the flying speed of an entity.
|
|
3453
3500
|
*/
|
|
3454
3501
|
export class EntityFlyingSpeedComponent extends IEntityComponent {
|
|
3502
|
+
/**
|
|
3503
|
+
* Identifier of this component. Should always be
|
|
3504
|
+
* minecraft:flying_speed.
|
|
3505
|
+
*/
|
|
3455
3506
|
readonly typeId: string;
|
|
3456
3507
|
/**
|
|
3457
3508
|
* Speed while flying value of the entity.
|
|
3458
3509
|
*/
|
|
3459
3510
|
value: number;
|
|
3511
|
+
/**
|
|
3512
|
+
* Identifier of this component. Should always be
|
|
3513
|
+
* minecraft:flying_speed.
|
|
3514
|
+
*/
|
|
3460
3515
|
static readonly componentId = 'minecraft:flying_speed';
|
|
3461
3516
|
protected constructor();
|
|
3462
3517
|
}
|
|
@@ -3464,6 +3519,10 @@ export class EntityFlyingSpeedComponent extends IEntityComponent {
|
|
|
3464
3519
|
* Defines how much friction affects this entity.
|
|
3465
3520
|
*/
|
|
3466
3521
|
export class EntityFrictionModifierComponent extends IEntityComponent {
|
|
3522
|
+
/**
|
|
3523
|
+
* Identifier of this component. Should always be
|
|
3524
|
+
* minecraft:friction_modifier.
|
|
3525
|
+
*/
|
|
3467
3526
|
readonly typeId: string;
|
|
3468
3527
|
/**
|
|
3469
3528
|
* The higher the number, the more the friction affects this
|
|
@@ -3471,6 +3530,10 @@ export class EntityFrictionModifierComponent extends IEntityComponent {
|
|
|
3471
3530
|
* means twice as much.
|
|
3472
3531
|
*/
|
|
3473
3532
|
value: number;
|
|
3533
|
+
/**
|
|
3534
|
+
* Identifier of this component. Should always be
|
|
3535
|
+
* minecraft:friction_modifier.
|
|
3536
|
+
*/
|
|
3474
3537
|
static readonly componentId = 'minecraft:friction_modifier';
|
|
3475
3538
|
protected constructor();
|
|
3476
3539
|
}
|
|
@@ -3479,12 +3542,20 @@ export class EntityFrictionModifierComponent extends IEntityComponent {
|
|
|
3479
3542
|
* at.
|
|
3480
3543
|
*/
|
|
3481
3544
|
export class EntityGroundOffsetComponent extends IEntityComponent {
|
|
3545
|
+
/**
|
|
3546
|
+
* Identifier of this component. Should always be
|
|
3547
|
+
* minecraft:ground_offset.
|
|
3548
|
+
*/
|
|
3482
3549
|
readonly typeId: string;
|
|
3483
3550
|
/**
|
|
3484
3551
|
* The value of the entity's offset from the terrain, in
|
|
3485
3552
|
* blocks.
|
|
3486
3553
|
*/
|
|
3487
3554
|
value: number;
|
|
3555
|
+
/**
|
|
3556
|
+
* Identifier of this component. Should always be
|
|
3557
|
+
* minecraft:ground_offset.
|
|
3558
|
+
*/
|
|
3488
3559
|
static readonly componentId = 'minecraft:ground_offset';
|
|
3489
3560
|
protected constructor();
|
|
3490
3561
|
}
|
|
@@ -3508,7 +3579,15 @@ export class EntityHealableComponent extends IEntityComponent {
|
|
|
3508
3579
|
* @throws This property can throw when used.
|
|
3509
3580
|
*/
|
|
3510
3581
|
readonly items: FeedItem[];
|
|
3582
|
+
/**
|
|
3583
|
+
* Identifier of this component. Should always be
|
|
3584
|
+
* minecraft:healable.
|
|
3585
|
+
*/
|
|
3511
3586
|
readonly typeId: string;
|
|
3587
|
+
/**
|
|
3588
|
+
* Identifier of this component. Should always be
|
|
3589
|
+
* minecraft:healable.
|
|
3590
|
+
*/
|
|
3512
3591
|
static readonly componentId = 'minecraft:healable';
|
|
3513
3592
|
protected constructor();
|
|
3514
3593
|
}
|
|
@@ -3522,12 +3601,20 @@ export class EntityHealthComponent extends IEntityComponent {
|
|
|
3522
3601
|
* @throws This property can throw when used.
|
|
3523
3602
|
*/
|
|
3524
3603
|
readonly current: number;
|
|
3604
|
+
/**
|
|
3605
|
+
* Identifier of this component. Should always be
|
|
3606
|
+
* minecraft:health.
|
|
3607
|
+
*/
|
|
3525
3608
|
readonly typeId: string;
|
|
3526
3609
|
/**
|
|
3527
3610
|
* Value for health as defined through entity components.
|
|
3528
3611
|
* @throws This property can throw when used.
|
|
3529
3612
|
*/
|
|
3530
3613
|
readonly value: number;
|
|
3614
|
+
/**
|
|
3615
|
+
* Identifier of this component. Should always be
|
|
3616
|
+
* minecraft:health.
|
|
3617
|
+
*/
|
|
3531
3618
|
static readonly componentId = 'minecraft:health';
|
|
3532
3619
|
/**
|
|
3533
3620
|
* @remarks
|
|
@@ -3710,7 +3797,15 @@ export class EntityInventoryComponent extends IEntityComponent {
|
|
|
3710
3797
|
* @throws This property can throw when used.
|
|
3711
3798
|
*/
|
|
3712
3799
|
readonly restrictToOwner: boolean;
|
|
3800
|
+
/**
|
|
3801
|
+
* Identifier of this component. Should always be
|
|
3802
|
+
* minecraft:inventory.
|
|
3803
|
+
*/
|
|
3713
3804
|
readonly typeId: string;
|
|
3805
|
+
/**
|
|
3806
|
+
* Identifier of this component. Should always be
|
|
3807
|
+
* minecraft:inventory.
|
|
3808
|
+
*/
|
|
3714
3809
|
static readonly componentId = 'minecraft:inventory';
|
|
3715
3810
|
protected constructor();
|
|
3716
3811
|
}
|
|
@@ -3719,7 +3814,15 @@ export class EntityInventoryComponent extends IEntityComponent {
|
|
|
3719
3814
|
* baby.
|
|
3720
3815
|
*/
|
|
3721
3816
|
export class EntityIsBabyComponent extends IEntityComponent {
|
|
3817
|
+
/**
|
|
3818
|
+
* Identifier of this component. Should always be
|
|
3819
|
+
* minecraft:is_baby.
|
|
3820
|
+
*/
|
|
3722
3821
|
readonly typeId: string;
|
|
3822
|
+
/**
|
|
3823
|
+
* Identifier of this component. Should always be
|
|
3824
|
+
* minecraft:is_baby.
|
|
3825
|
+
*/
|
|
3723
3826
|
static readonly componentId = 'minecraft:is_baby';
|
|
3724
3827
|
protected constructor();
|
|
3725
3828
|
}
|
|
@@ -3728,7 +3831,15 @@ export class EntityIsBabyComponent extends IEntityComponent {
|
|
|
3728
3831
|
* charged.
|
|
3729
3832
|
*/
|
|
3730
3833
|
export class EntityIsChargedComponent extends IEntityComponent {
|
|
3834
|
+
/**
|
|
3835
|
+
* Identifier of this component. Should always be
|
|
3836
|
+
* minecraft:is_charged.
|
|
3837
|
+
*/
|
|
3731
3838
|
readonly typeId: string;
|
|
3839
|
+
/**
|
|
3840
|
+
* Identifier of this component. Should always be
|
|
3841
|
+
* minecraft:is_charged.
|
|
3842
|
+
*/
|
|
3732
3843
|
static readonly componentId = 'minecraft:is_charged';
|
|
3733
3844
|
protected constructor();
|
|
3734
3845
|
}
|
|
@@ -3737,7 +3848,15 @@ export class EntityIsChargedComponent extends IEntityComponent {
|
|
|
3737
3848
|
* currently carrying a chest.
|
|
3738
3849
|
*/
|
|
3739
3850
|
export class EntityIsChestedComponent extends IEntityComponent {
|
|
3851
|
+
/**
|
|
3852
|
+
* Identifier of this component. Should always be
|
|
3853
|
+
* minecraft:is_chested.
|
|
3854
|
+
*/
|
|
3740
3855
|
readonly typeId: string;
|
|
3856
|
+
/**
|
|
3857
|
+
* Identifier of this component. Should always be
|
|
3858
|
+
* minecraft:is_chested.
|
|
3859
|
+
*/
|
|
3741
3860
|
static readonly componentId = 'minecraft:is_chested';
|
|
3742
3861
|
protected constructor();
|
|
3743
3862
|
}
|
|
@@ -3746,7 +3865,15 @@ export class EntityIsChestedComponent extends IEntityComponent {
|
|
|
3746
3865
|
* on this entity to change its color.
|
|
3747
3866
|
*/
|
|
3748
3867
|
export class EntityIsDyableComponent extends IEntityComponent {
|
|
3868
|
+
/**
|
|
3869
|
+
* Identifier of this component. Should always be
|
|
3870
|
+
* minecraft:is_dyeable.
|
|
3871
|
+
*/
|
|
3749
3872
|
readonly typeId: string;
|
|
3873
|
+
/**
|
|
3874
|
+
* Identifier of this component. Should always be
|
|
3875
|
+
* minecraft:is_dyeable.
|
|
3876
|
+
*/
|
|
3750
3877
|
static readonly componentId = 'minecraft:is_dyeable';
|
|
3751
3878
|
protected constructor();
|
|
3752
3879
|
}
|
|
@@ -3755,7 +3882,15 @@ export class EntityIsDyableComponent extends IEntityComponent {
|
|
|
3755
3882
|
* hide from hostile mobs while invisible.
|
|
3756
3883
|
*/
|
|
3757
3884
|
export class EntityIsHiddenWhenInvisibleComponent extends IEntityComponent {
|
|
3885
|
+
/**
|
|
3886
|
+
* Identifier of this component. Should always be
|
|
3887
|
+
* minecraft:is_hidden_when_invisible.
|
|
3888
|
+
*/
|
|
3758
3889
|
readonly typeId: string;
|
|
3890
|
+
/**
|
|
3891
|
+
* Identifier of this component. Should always be
|
|
3892
|
+
* minecraft:is_hidden_when_invisible.
|
|
3893
|
+
*/
|
|
3759
3894
|
static readonly componentId = 'minecraft:is_hidden_when_invisible';
|
|
3760
3895
|
protected constructor();
|
|
3761
3896
|
}
|
|
@@ -3764,7 +3899,15 @@ export class EntityIsHiddenWhenInvisibleComponent extends IEntityComponent {
|
|
|
3764
3899
|
* currently on fire.
|
|
3765
3900
|
*/
|
|
3766
3901
|
export class EntityIsIgnitedComponent extends IEntityComponent {
|
|
3902
|
+
/**
|
|
3903
|
+
* Identifier of this component. Should always be
|
|
3904
|
+
* minecraft:is_ignited.
|
|
3905
|
+
*/
|
|
3767
3906
|
readonly typeId: string;
|
|
3907
|
+
/**
|
|
3908
|
+
* Identifier of this component. Should always be
|
|
3909
|
+
* minecraft:is_ignited.
|
|
3910
|
+
*/
|
|
3768
3911
|
static readonly componentId = 'minecraft:is_ignited';
|
|
3769
3912
|
protected constructor();
|
|
3770
3913
|
}
|
|
@@ -3773,7 +3916,15 @@ export class EntityIsIgnitedComponent extends IEntityComponent {
|
|
|
3773
3916
|
* illager captain.
|
|
3774
3917
|
*/
|
|
3775
3918
|
export class EntityIsIllagerCaptainComponent extends IEntityComponent {
|
|
3919
|
+
/**
|
|
3920
|
+
* Identifier of this component. Should always be
|
|
3921
|
+
* minecraft:is_illager_captain.
|
|
3922
|
+
*/
|
|
3776
3923
|
readonly typeId: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* Identifier of this component. Should always be
|
|
3926
|
+
* minecraft:is_illager_captain.
|
|
3927
|
+
*/
|
|
3777
3928
|
static readonly componentId = 'minecraft:is_illager_captain';
|
|
3778
3929
|
protected constructor();
|
|
3779
3930
|
}
|
|
@@ -3782,7 +3933,15 @@ export class EntityIsIllagerCaptainComponent extends IEntityComponent {
|
|
|
3782
3933
|
* currently saddled.
|
|
3783
3934
|
*/
|
|
3784
3935
|
export class EntityIsSaddledComponent extends IEntityComponent {
|
|
3936
|
+
/**
|
|
3937
|
+
* Identifier of this component. Should always be
|
|
3938
|
+
* minecraft:is_saddled.
|
|
3939
|
+
*/
|
|
3785
3940
|
readonly typeId: string;
|
|
3941
|
+
/**
|
|
3942
|
+
* Identifier of this component. Should always be
|
|
3943
|
+
* minecraft:is_saddled.
|
|
3944
|
+
*/
|
|
3786
3945
|
static readonly componentId = 'minecraft:is_saddled';
|
|
3787
3946
|
protected constructor();
|
|
3788
3947
|
}
|
|
@@ -3791,7 +3950,15 @@ export class EntityIsSaddledComponent extends IEntityComponent {
|
|
|
3791
3950
|
* currently shaking.
|
|
3792
3951
|
*/
|
|
3793
3952
|
export class EntityIsShakingComponent extends IEntityComponent {
|
|
3953
|
+
/**
|
|
3954
|
+
* Identifier of this component. Should always be
|
|
3955
|
+
* minecraft:is_shaking.
|
|
3956
|
+
*/
|
|
3794
3957
|
readonly typeId: string;
|
|
3958
|
+
/**
|
|
3959
|
+
* Identifier of this component. Should always be
|
|
3960
|
+
* minecraft:is_shaking.
|
|
3961
|
+
*/
|
|
3795
3962
|
static readonly componentId = 'minecraft:is_shaking';
|
|
3796
3963
|
protected constructor();
|
|
3797
3964
|
}
|
|
@@ -3800,7 +3967,15 @@ export class EntityIsShakingComponent extends IEntityComponent {
|
|
|
3800
3967
|
* currently sheared.
|
|
3801
3968
|
*/
|
|
3802
3969
|
export class EntityIsShearedComponent extends IEntityComponent {
|
|
3970
|
+
/**
|
|
3971
|
+
* Identifier of this component. Should always be
|
|
3972
|
+
* minecraft:is_sheared.
|
|
3973
|
+
*/
|
|
3803
3974
|
readonly typeId: string;
|
|
3975
|
+
/**
|
|
3976
|
+
* Identifier of this component. Should always be
|
|
3977
|
+
* minecraft:is_sheared.
|
|
3978
|
+
*/
|
|
3804
3979
|
static readonly componentId = 'minecraft:is_sheared';
|
|
3805
3980
|
protected constructor();
|
|
3806
3981
|
}
|
|
@@ -3809,7 +3984,15 @@ export class EntityIsShearedComponent extends IEntityComponent {
|
|
|
3809
3984
|
* stacked.
|
|
3810
3985
|
*/
|
|
3811
3986
|
export class EntityIsStackableComponent extends IEntityComponent {
|
|
3987
|
+
/**
|
|
3988
|
+
* Identifier of this component. Should always be
|
|
3989
|
+
* minecraft:is_stackable.
|
|
3990
|
+
*/
|
|
3812
3991
|
readonly typeId: string;
|
|
3992
|
+
/**
|
|
3993
|
+
* Identifier of this component. Should always be
|
|
3994
|
+
* minecraft:is_stackable.
|
|
3995
|
+
*/
|
|
3813
3996
|
static readonly componentId = 'minecraft:is_stackable';
|
|
3814
3997
|
protected constructor();
|
|
3815
3998
|
}
|
|
@@ -3818,7 +4001,15 @@ export class EntityIsStackableComponent extends IEntityComponent {
|
|
|
3818
4001
|
* currently stunned.
|
|
3819
4002
|
*/
|
|
3820
4003
|
export class EntityIsStunnedComponent extends IEntityComponent {
|
|
4004
|
+
/**
|
|
4005
|
+
* Identifier of this component. Should always be
|
|
4006
|
+
* minecraft:is_stunned.
|
|
4007
|
+
*/
|
|
3821
4008
|
readonly typeId: string;
|
|
4009
|
+
/**
|
|
4010
|
+
* Identifier of this component. Should always be
|
|
4011
|
+
* minecraft:is_stunned.
|
|
4012
|
+
*/
|
|
3822
4013
|
static readonly componentId = 'minecraft:is_stunned';
|
|
3823
4014
|
protected constructor();
|
|
3824
4015
|
}
|
|
@@ -3827,7 +4018,15 @@ export class EntityIsStunnedComponent extends IEntityComponent {
|
|
|
3827
4018
|
* currently tamed.
|
|
3828
4019
|
*/
|
|
3829
4020
|
export class EntityIsTamedComponent extends IEntityComponent {
|
|
4021
|
+
/**
|
|
4022
|
+
* Identifier of this component. Should always be
|
|
4023
|
+
* minecraft:is_tamed.
|
|
4024
|
+
*/
|
|
3830
4025
|
readonly typeId: string;
|
|
4026
|
+
/**
|
|
4027
|
+
* Identifier of this component. Should always be
|
|
4028
|
+
* minecraft:is_tamed.
|
|
4029
|
+
*/
|
|
3831
4030
|
static readonly componentId = 'minecraft:is_tamed';
|
|
3832
4031
|
protected constructor();
|
|
3833
4032
|
}
|
|
@@ -3843,7 +4042,13 @@ export class EntityItemComponent extends IEntityComponent {
|
|
|
3843
4042
|
* @throws This property can throw when used.
|
|
3844
4043
|
*/
|
|
3845
4044
|
readonly itemStack: ItemStack;
|
|
4045
|
+
/**
|
|
4046
|
+
* Identifier of this component.
|
|
4047
|
+
*/
|
|
3846
4048
|
readonly typeId: string;
|
|
4049
|
+
/**
|
|
4050
|
+
* Identifier of this component.
|
|
4051
|
+
*/
|
|
3847
4052
|
static readonly componentId = 'minecraft:item';
|
|
3848
4053
|
protected constructor();
|
|
3849
4054
|
}
|
|
@@ -3853,7 +4058,7 @@ export class EntityItemComponent extends IEntityComponent {
|
|
|
3853
4058
|
* statements, Array.from(iterator), and more.
|
|
3854
4059
|
*/
|
|
3855
4060
|
export class EntityIterator implements Iterable<Entity> {
|
|
3856
|
-
|
|
4061
|
+
[Symbol.iterator](): Iterator<Entity>;
|
|
3857
4062
|
/**
|
|
3858
4063
|
* @remarks
|
|
3859
4064
|
* Retrieves the next item in this iteration. The resulting
|
|
@@ -3873,6 +4078,10 @@ export class EntityLavaMovementComponent extends IEntityComponent {
|
|
|
3873
4078
|
* @throws This property can throw when used.
|
|
3874
4079
|
*/
|
|
3875
4080
|
readonly current: number;
|
|
4081
|
+
/**
|
|
4082
|
+
* Identifier of this component. Should always be
|
|
4083
|
+
* minecraft:lava_movement.
|
|
4084
|
+
*/
|
|
3876
4085
|
readonly typeId: string;
|
|
3877
4086
|
/**
|
|
3878
4087
|
* Value for movement speed on lava as defined through entity
|
|
@@ -3880,6 +4089,10 @@ export class EntityLavaMovementComponent extends IEntityComponent {
|
|
|
3880
4089
|
* @throws This property can throw when used.
|
|
3881
4090
|
*/
|
|
3882
4091
|
readonly value: number;
|
|
4092
|
+
/**
|
|
4093
|
+
* Identifier of this component. Should always be
|
|
4094
|
+
* minecraft:lava_movement.
|
|
4095
|
+
*/
|
|
3883
4096
|
static readonly componentId = 'minecraft:lava_movement';
|
|
3884
4097
|
/**
|
|
3885
4098
|
* @remarks
|
|
@@ -3924,7 +4137,15 @@ export class EntityLeashableComponent extends IEntityComponent {
|
|
|
3924
4137
|
* @throws This property can throw when used.
|
|
3925
4138
|
*/
|
|
3926
4139
|
readonly softDistance: number;
|
|
4140
|
+
/**
|
|
4141
|
+
* Identifier of this component. Should always be
|
|
4142
|
+
* minecraft:leashable.
|
|
4143
|
+
*/
|
|
3927
4144
|
readonly typeId: string;
|
|
4145
|
+
/**
|
|
4146
|
+
* Identifier of this component. Should always be
|
|
4147
|
+
* minecraft:leashable.
|
|
4148
|
+
*/
|
|
3928
4149
|
static readonly componentId = 'minecraft:leashable';
|
|
3929
4150
|
/**
|
|
3930
4151
|
* @remarks
|
|
@@ -3947,12 +4168,20 @@ export class EntityLeashableComponent extends IEntityComponent {
|
|
|
3947
4168
|
* differentiate variants.
|
|
3948
4169
|
*/
|
|
3949
4170
|
export class EntityMarkVariantComponent extends IEntityComponent {
|
|
4171
|
+
/**
|
|
4172
|
+
* Identifier of this component. Should always be
|
|
4173
|
+
* minecraft:mark_variant.
|
|
4174
|
+
*/
|
|
3950
4175
|
readonly typeId: string;
|
|
3951
4176
|
/**
|
|
3952
4177
|
* The identifier of the variant. By convention, 0 is the
|
|
3953
4178
|
* identifier of the base entity.
|
|
3954
4179
|
*/
|
|
3955
4180
|
value: number;
|
|
4181
|
+
/**
|
|
4182
|
+
* Identifier of this component. Should always be
|
|
4183
|
+
* minecraft:mark_variant.
|
|
4184
|
+
*/
|
|
3956
4185
|
static readonly componentId = 'minecraft:mark_variant';
|
|
3957
4186
|
protected constructor();
|
|
3958
4187
|
}
|
|
@@ -3961,7 +4190,15 @@ export class EntityMarkVariantComponent extends IEntityComponent {
|
|
|
3961
4190
|
* entity that mounts it.
|
|
3962
4191
|
*/
|
|
3963
4192
|
export class EntityMountTamingComponent extends IEntityComponent {
|
|
4193
|
+
/**
|
|
4194
|
+
* Identifier of this component. Should always be
|
|
4195
|
+
* minecraft:mount_taming.
|
|
4196
|
+
*/
|
|
3964
4197
|
readonly typeId: string;
|
|
4198
|
+
/**
|
|
4199
|
+
* Identifier of this component. Should always be
|
|
4200
|
+
* minecraft:mount_taming.
|
|
4201
|
+
*/
|
|
3965
4202
|
static readonly componentId = 'minecraft:tamemount';
|
|
3966
4203
|
/**
|
|
3967
4204
|
* @remarks
|
|
@@ -3983,7 +4220,15 @@ export class EntityMovementAmphibiousComponent extends IEntityComponent {
|
|
|
3983
4220
|
* @throws This property can throw when used.
|
|
3984
4221
|
*/
|
|
3985
4222
|
readonly maxTurn: number;
|
|
4223
|
+
/**
|
|
4224
|
+
* Identifier of this component. Should always be
|
|
4225
|
+
* minecraft:movement.amphibious.
|
|
4226
|
+
*/
|
|
3986
4227
|
readonly typeId: string;
|
|
4228
|
+
/**
|
|
4229
|
+
* Identifier of this component. Should always be
|
|
4230
|
+
* minecraft:movement.amphibious.
|
|
4231
|
+
*/
|
|
3987
4232
|
static readonly componentId = 'minecraft:movement.amphibious';
|
|
3988
4233
|
protected constructor();
|
|
3989
4234
|
}
|
|
@@ -3996,7 +4241,15 @@ export class EntityMovementBasicComponent extends IEntityComponent {
|
|
|
3996
4241
|
* @throws This property can throw when used.
|
|
3997
4242
|
*/
|
|
3998
4243
|
readonly maxTurn: number;
|
|
4244
|
+
/**
|
|
4245
|
+
* Identifier of this component. Should always be
|
|
4246
|
+
* minecraft:movement.basic.
|
|
4247
|
+
*/
|
|
3999
4248
|
readonly typeId: string;
|
|
4249
|
+
/**
|
|
4250
|
+
* Identifier of this component. Should always be
|
|
4251
|
+
* minecraft:movement.basic.
|
|
4252
|
+
*/
|
|
4000
4253
|
static readonly componentId = 'minecraft:movement.basic';
|
|
4001
4254
|
protected constructor();
|
|
4002
4255
|
}
|
|
@@ -4010,6 +4263,10 @@ export class EntityMovementComponent extends IEntityComponent {
|
|
|
4010
4263
|
* @throws This property can throw when used.
|
|
4011
4264
|
*/
|
|
4012
4265
|
readonly current: number;
|
|
4266
|
+
/**
|
|
4267
|
+
* Identifier of this component. Should always be
|
|
4268
|
+
* minecraft:movement.
|
|
4269
|
+
*/
|
|
4013
4270
|
readonly typeId: string;
|
|
4014
4271
|
/**
|
|
4015
4272
|
* Value for default movement speed as defined through entity
|
|
@@ -4017,6 +4274,10 @@ export class EntityMovementComponent extends IEntityComponent {
|
|
|
4017
4274
|
* @throws This property can throw when used.
|
|
4018
4275
|
*/
|
|
4019
4276
|
readonly value: number;
|
|
4277
|
+
/**
|
|
4278
|
+
* Identifier of this component. Should always be
|
|
4279
|
+
* minecraft:movement.
|
|
4280
|
+
*/
|
|
4020
4281
|
static readonly componentId = 'minecraft:movement';
|
|
4021
4282
|
/**
|
|
4022
4283
|
* @remarks
|
|
@@ -4057,7 +4318,15 @@ export class EntityMovementFlyComponent extends IEntityComponent {
|
|
|
4057
4318
|
* @throws This property can throw when used.
|
|
4058
4319
|
*/
|
|
4059
4320
|
readonly maxTurn: number;
|
|
4321
|
+
/**
|
|
4322
|
+
* Identifier of this component. Should always be
|
|
4323
|
+
* minecraft:movement.fly.
|
|
4324
|
+
*/
|
|
4060
4325
|
readonly typeId: string;
|
|
4326
|
+
/**
|
|
4327
|
+
* Identifier of this component. Should always be
|
|
4328
|
+
* minecraft:movement.fly.
|
|
4329
|
+
*/
|
|
4061
4330
|
static readonly componentId = 'minecraft:movement.fly';
|
|
4062
4331
|
protected constructor();
|
|
4063
4332
|
}
|
|
@@ -4071,7 +4340,15 @@ export class EntityMovementGenericComponent extends IEntityComponent {
|
|
|
4071
4340
|
* @throws This property can throw when used.
|
|
4072
4341
|
*/
|
|
4073
4342
|
readonly maxTurn: number;
|
|
4343
|
+
/**
|
|
4344
|
+
* Identifier of this component. Should always be
|
|
4345
|
+
* minecraft:movement.generic.
|
|
4346
|
+
*/
|
|
4074
4347
|
readonly typeId: string;
|
|
4348
|
+
/**
|
|
4349
|
+
* Identifier of this component. Should always be
|
|
4350
|
+
* minecraft:movement.generic.
|
|
4351
|
+
*/
|
|
4075
4352
|
static readonly componentId = 'minecraft:movement.generic';
|
|
4076
4353
|
protected constructor();
|
|
4077
4354
|
}
|
|
@@ -4094,7 +4371,15 @@ export class EntityMovementGlideComponent extends IEntityComponent {
|
|
|
4094
4371
|
* @throws This property can throw when used.
|
|
4095
4372
|
*/
|
|
4096
4373
|
readonly startSpeed: number;
|
|
4374
|
+
/**
|
|
4375
|
+
* Identifier of this component. Should always be
|
|
4376
|
+
* minecraft:movement.glide.
|
|
4377
|
+
*/
|
|
4097
4378
|
readonly typeId: string;
|
|
4379
|
+
/**
|
|
4380
|
+
* Identifier of this component. Should always be
|
|
4381
|
+
* minecraft:movement.glide.
|
|
4382
|
+
*/
|
|
4098
4383
|
static readonly componentId = 'minecraft:movement.glide';
|
|
4099
4384
|
protected constructor();
|
|
4100
4385
|
}
|
|
@@ -4107,7 +4392,15 @@ export class EntityMovementHoverComponent extends IEntityComponent {
|
|
|
4107
4392
|
* @throws This property can throw when used.
|
|
4108
4393
|
*/
|
|
4109
4394
|
readonly maxTurn: number;
|
|
4395
|
+
/**
|
|
4396
|
+
* Identifier of this component. Should always be
|
|
4397
|
+
* minecraft:movement.hover.
|
|
4398
|
+
*/
|
|
4110
4399
|
readonly typeId: string;
|
|
4400
|
+
/**
|
|
4401
|
+
* Identifier of this component. Should always be
|
|
4402
|
+
* minecraft:movement.hover.
|
|
4403
|
+
*/
|
|
4111
4404
|
static readonly componentId = 'minecraft:movement.hover';
|
|
4112
4405
|
protected constructor();
|
|
4113
4406
|
}
|
|
@@ -4121,7 +4414,15 @@ export class EntityMovementJumpComponent extends IEntityComponent {
|
|
|
4121
4414
|
* @throws This property can throw when used.
|
|
4122
4415
|
*/
|
|
4123
4416
|
readonly maxTurn: number;
|
|
4417
|
+
/**
|
|
4418
|
+
* Identifier of this component. Should always be
|
|
4419
|
+
* minecraft:movement.jump.
|
|
4420
|
+
*/
|
|
4124
4421
|
readonly typeId: string;
|
|
4422
|
+
/**
|
|
4423
|
+
* Identifier of this component. Should always be
|
|
4424
|
+
* minecraft:movement.jump.
|
|
4425
|
+
*/
|
|
4125
4426
|
static readonly componentId = 'minecraft:movement.jump';
|
|
4126
4427
|
protected constructor();
|
|
4127
4428
|
}
|
|
@@ -4135,7 +4436,15 @@ export class EntityMovementSkipComponent extends IEntityComponent {
|
|
|
4135
4436
|
* @throws This property can throw when used.
|
|
4136
4437
|
*/
|
|
4137
4438
|
readonly maxTurn: number;
|
|
4439
|
+
/**
|
|
4440
|
+
* Identifier of this component. Should always be
|
|
4441
|
+
* minecraft:movement.skip.
|
|
4442
|
+
*/
|
|
4138
4443
|
readonly typeId: string;
|
|
4444
|
+
/**
|
|
4445
|
+
* Identifier of this component. Should always be
|
|
4446
|
+
* minecraft:movement.skip.
|
|
4447
|
+
*/
|
|
4139
4448
|
static readonly componentId = 'minecraft:movement.skip';
|
|
4140
4449
|
protected constructor();
|
|
4141
4450
|
}
|
|
@@ -4159,7 +4468,15 @@ export class EntityMovementSwayComponent extends IEntityComponent {
|
|
|
4159
4468
|
* @throws This property can throw when used.
|
|
4160
4469
|
*/
|
|
4161
4470
|
readonly swayFrequency: number;
|
|
4471
|
+
/**
|
|
4472
|
+
* Identifier of this component. Should always be
|
|
4473
|
+
* minecraft:movement.sway.
|
|
4474
|
+
*/
|
|
4162
4475
|
readonly typeId: string;
|
|
4476
|
+
/**
|
|
4477
|
+
* Identifier of this component. Should always be
|
|
4478
|
+
* minecraft:movement.sway.
|
|
4479
|
+
*/
|
|
4163
4480
|
static readonly componentId = 'minecraft:movement.sway';
|
|
4164
4481
|
protected constructor();
|
|
4165
4482
|
}
|
|
@@ -4278,7 +4595,15 @@ export class EntityNavigationClimbComponent extends IEntityComponent {
|
|
|
4278
4595
|
* @throws This property can throw when used.
|
|
4279
4596
|
*/
|
|
4280
4597
|
readonly isAmphibious: boolean;
|
|
4598
|
+
/**
|
|
4599
|
+
* Identifier of this component. Should always be
|
|
4600
|
+
* minecraft:navigation.climb.
|
|
4601
|
+
*/
|
|
4281
4602
|
readonly typeId: string;
|
|
4603
|
+
/**
|
|
4604
|
+
* Identifier of this component. Should always be
|
|
4605
|
+
* minecraft:navigation.climb.
|
|
4606
|
+
*/
|
|
4282
4607
|
static readonly componentId = 'minecraft:navigation.climb';
|
|
4283
4608
|
protected constructor();
|
|
4284
4609
|
}
|
|
@@ -4397,7 +4722,15 @@ export class EntityNavigationFloatComponent extends IEntityComponent {
|
|
|
4397
4722
|
* @throws This property can throw when used.
|
|
4398
4723
|
*/
|
|
4399
4724
|
readonly isAmphibious: boolean;
|
|
4725
|
+
/**
|
|
4726
|
+
* Identifier of this component. Should always be
|
|
4727
|
+
* minecraft:navigation.float.
|
|
4728
|
+
*/
|
|
4400
4729
|
readonly typeId: string;
|
|
4730
|
+
/**
|
|
4731
|
+
* Identifier of this component. Should always be
|
|
4732
|
+
* minecraft:navigation.float.
|
|
4733
|
+
*/
|
|
4401
4734
|
static readonly componentId = 'minecraft:navigation.float';
|
|
4402
4735
|
protected constructor();
|
|
4403
4736
|
}
|
|
@@ -4516,7 +4849,15 @@ export class EntityNavigationFlyComponent extends IEntityComponent {
|
|
|
4516
4849
|
* @throws This property can throw when used.
|
|
4517
4850
|
*/
|
|
4518
4851
|
readonly isAmphibious: boolean;
|
|
4852
|
+
/**
|
|
4853
|
+
* Identifier of this component. Should always be
|
|
4854
|
+
* minecraft:navigation.fly.
|
|
4855
|
+
*/
|
|
4519
4856
|
readonly typeId: string;
|
|
4857
|
+
/**
|
|
4858
|
+
* Identifier of this component. Should always be
|
|
4859
|
+
* minecraft:navigation.fly.
|
|
4860
|
+
*/
|
|
4520
4861
|
static readonly componentId = 'minecraft:navigation.fly';
|
|
4521
4862
|
protected constructor();
|
|
4522
4863
|
}
|
|
@@ -4636,7 +4977,15 @@ export class EntityNavigationGenericComponent extends IEntityComponent {
|
|
|
4636
4977
|
* @throws This property can throw when used.
|
|
4637
4978
|
*/
|
|
4638
4979
|
readonly isAmphibious: boolean;
|
|
4980
|
+
/**
|
|
4981
|
+
* Identifier of this component. Should always be
|
|
4982
|
+
* minecraft:navigation.generic.
|
|
4983
|
+
*/
|
|
4639
4984
|
readonly typeId: string;
|
|
4985
|
+
/**
|
|
4986
|
+
* Identifier of this component. Should always be
|
|
4987
|
+
* minecraft:navigation.generic.
|
|
4988
|
+
*/
|
|
4640
4989
|
static readonly componentId = 'minecraft:navigation.generic';
|
|
4641
4990
|
protected constructor();
|
|
4642
4991
|
}
|
|
@@ -4756,7 +5105,15 @@ export class EntityNavigationHoverComponent extends IEntityComponent {
|
|
|
4756
5105
|
* @throws This property can throw when used.
|
|
4757
5106
|
*/
|
|
4758
5107
|
readonly isAmphibious: boolean;
|
|
5108
|
+
/**
|
|
5109
|
+
* Identifier of this component. Should always be
|
|
5110
|
+
* minecraft:navigation.hover.
|
|
5111
|
+
*/
|
|
4759
5112
|
readonly typeId: string;
|
|
5113
|
+
/**
|
|
5114
|
+
* Identifier of this component. Should always be
|
|
5115
|
+
* minecraft:navigation.hover.
|
|
5116
|
+
*/
|
|
4760
5117
|
static readonly componentId = 'minecraft:navigation.hover';
|
|
4761
5118
|
protected constructor();
|
|
4762
5119
|
}
|
|
@@ -4875,7 +5232,15 @@ export class EntityNavigationWalkComponent extends IEntityComponent {
|
|
|
4875
5232
|
* @throws This property can throw when used.
|
|
4876
5233
|
*/
|
|
4877
5234
|
readonly isAmphibious: boolean;
|
|
5235
|
+
/**
|
|
5236
|
+
* Identifier of this component. Should always be
|
|
5237
|
+
* minecraft:navigation.swim.
|
|
5238
|
+
*/
|
|
4878
5239
|
readonly typeId: string;
|
|
5240
|
+
/**
|
|
5241
|
+
* Identifier of this component. Should always be
|
|
5242
|
+
* minecraft:navigation.swim.
|
|
5243
|
+
*/
|
|
4879
5244
|
static readonly componentId = 'minecraft:navigation.walk';
|
|
4880
5245
|
protected constructor();
|
|
4881
5246
|
}
|
|
@@ -4883,11 +5248,19 @@ export class EntityNavigationWalkComponent extends IEntityComponent {
|
|
|
4883
5248
|
* Sets the distance through which the entity can push through.
|
|
4884
5249
|
*/
|
|
4885
5250
|
export class EntityPushThroughComponent extends IEntityComponent {
|
|
5251
|
+
/**
|
|
5252
|
+
* Identifier of this component. Should always be
|
|
5253
|
+
* minecraft:push_through.
|
|
5254
|
+
*/
|
|
4886
5255
|
readonly typeId: string;
|
|
4887
5256
|
/**
|
|
4888
5257
|
* The value of the entity's push-through, in blocks.
|
|
4889
5258
|
*/
|
|
4890
5259
|
value: number;
|
|
5260
|
+
/**
|
|
5261
|
+
* Identifier of this component. Should always be
|
|
5262
|
+
* minecraft:push_through.
|
|
5263
|
+
*/
|
|
4891
5264
|
static readonly componentId = 'minecraft:push_through';
|
|
4892
5265
|
protected constructor();
|
|
4893
5266
|
}
|
|
@@ -4944,7 +5317,15 @@ export class EntityRideableComponent extends IEntityComponent {
|
|
|
4944
5317
|
* @throws This property can throw when used.
|
|
4945
5318
|
*/
|
|
4946
5319
|
readonly seats: Seat[];
|
|
5320
|
+
/**
|
|
5321
|
+
* Identifier of this component. Should always be
|
|
5322
|
+
* minecraft:rideable.
|
|
5323
|
+
*/
|
|
4947
5324
|
readonly typeId: string;
|
|
5325
|
+
/**
|
|
5326
|
+
* Identifier of this component. Should always be
|
|
5327
|
+
* minecraft:rideable.
|
|
5328
|
+
*/
|
|
4948
5329
|
static readonly componentId = 'minecraft:rideable';
|
|
4949
5330
|
/**
|
|
4950
5331
|
* @remarks
|
|
@@ -4976,6 +5357,10 @@ export class EntityRideableComponent extends IEntityComponent {
|
|
|
4976
5357
|
* Sets the entity's visual size.
|
|
4977
5358
|
*/
|
|
4978
5359
|
export class EntityScaleComponent extends IEntityComponent {
|
|
5360
|
+
/**
|
|
5361
|
+
* Identifier of this component. Should always be
|
|
5362
|
+
* minecraft:scale.
|
|
5363
|
+
*/
|
|
4979
5364
|
readonly typeId: string;
|
|
4980
5365
|
/**
|
|
4981
5366
|
* The value of the scale. 1.0 means the entity will appear at
|
|
@@ -4983,6 +5368,10 @@ export class EntityScaleComponent extends IEntityComponent {
|
|
|
4983
5368
|
* make the entity bigger.
|
|
4984
5369
|
*/
|
|
4985
5370
|
value: number;
|
|
5371
|
+
/**
|
|
5372
|
+
* Identifier of this component. Should always be
|
|
5373
|
+
* minecraft:scale.
|
|
5374
|
+
*/
|
|
4986
5375
|
static readonly componentId = 'minecraft:scale';
|
|
4987
5376
|
protected constructor();
|
|
4988
5377
|
}
|
|
@@ -4991,12 +5380,20 @@ export class EntityScaleComponent extends IEntityComponent {
|
|
|
4991
5380
|
* base skins for villagers.
|
|
4992
5381
|
*/
|
|
4993
5382
|
export class EntitySkinIdComponent extends IEntityComponent {
|
|
5383
|
+
/**
|
|
5384
|
+
* Identifier of this component. Should always be
|
|
5385
|
+
* minecraft:skin_id.
|
|
5386
|
+
*/
|
|
4994
5387
|
readonly typeId: string;
|
|
4995
5388
|
/**
|
|
4996
5389
|
* The identifier of the skin. By convention, 0 is the
|
|
4997
5390
|
* identifier of the base skin.
|
|
4998
5391
|
*/
|
|
4999
5392
|
value: number;
|
|
5393
|
+
/**
|
|
5394
|
+
* Identifier of this component. Should always be
|
|
5395
|
+
* minecraft:skin_id.
|
|
5396
|
+
*/
|
|
5000
5397
|
static readonly componentId = 'minecraft:skin_id';
|
|
5001
5398
|
protected constructor();
|
|
5002
5399
|
}
|
|
@@ -5010,6 +5407,10 @@ export class EntityStrengthComponent extends IEntityComponent {
|
|
|
5010
5407
|
* @throws This property can throw when used.
|
|
5011
5408
|
*/
|
|
5012
5409
|
readonly max: number;
|
|
5410
|
+
/**
|
|
5411
|
+
* Identifier of this component. Should always be
|
|
5412
|
+
* minecraft:strength.
|
|
5413
|
+
*/
|
|
5013
5414
|
readonly typeId: string;
|
|
5014
5415
|
/**
|
|
5015
5416
|
* Current strength value of this entity, after any effects or
|
|
@@ -5017,6 +5418,10 @@ export class EntityStrengthComponent extends IEntityComponent {
|
|
|
5017
5418
|
* @throws This property can throw when used.
|
|
5018
5419
|
*/
|
|
5019
5420
|
readonly value: number;
|
|
5421
|
+
/**
|
|
5422
|
+
* Identifier of this component. Should always be
|
|
5423
|
+
* minecraft:strength.
|
|
5424
|
+
*/
|
|
5020
5425
|
static readonly componentId = 'minecraft:strength';
|
|
5021
5426
|
protected constructor();
|
|
5022
5427
|
}
|
|
@@ -5040,7 +5445,15 @@ export class EntityTameableComponent extends IEntityComponent {
|
|
|
5040
5445
|
* @throws This property can throw when used.
|
|
5041
5446
|
*/
|
|
5042
5447
|
readonly tameItems: string[];
|
|
5448
|
+
/**
|
|
5449
|
+
* Identifier of this component. Should always be
|
|
5450
|
+
* minecraft:tameable.
|
|
5451
|
+
*/
|
|
5043
5452
|
readonly typeId: string;
|
|
5453
|
+
/**
|
|
5454
|
+
* Identifier of this component. Should always be
|
|
5455
|
+
* minecraft:tameable.
|
|
5456
|
+
*/
|
|
5044
5457
|
static readonly componentId = 'minecraft:tameable';
|
|
5045
5458
|
/**
|
|
5046
5459
|
* @remarks
|
|
@@ -5064,7 +5477,7 @@ export class EntityType {
|
|
|
5064
5477
|
protected constructor();
|
|
5065
5478
|
}
|
|
5066
5479
|
export class EntityTypeIterator implements Iterable<EntityType> {
|
|
5067
|
-
|
|
5480
|
+
[Symbol.iterator](): Iterator<EntityType>;
|
|
5068
5481
|
next(): IteratorResult<EntityType>;
|
|
5069
5482
|
protected constructor();
|
|
5070
5483
|
}
|
|
@@ -5098,6 +5511,10 @@ export class EntityUnderwaterMovementComponent extends IEntityComponent {
|
|
|
5098
5511
|
* @throws This property can throw when used.
|
|
5099
5512
|
*/
|
|
5100
5513
|
readonly current: number;
|
|
5514
|
+
/**
|
|
5515
|
+
* Identifier of this component. Should always be
|
|
5516
|
+
* minecraft:underwater_movement.
|
|
5517
|
+
*/
|
|
5101
5518
|
readonly typeId: string;
|
|
5102
5519
|
/**
|
|
5103
5520
|
* Value for movement speed underwater as defined through
|
|
@@ -5105,6 +5522,10 @@ export class EntityUnderwaterMovementComponent extends IEntityComponent {
|
|
|
5105
5522
|
* @throws This property can throw when used.
|
|
5106
5523
|
*/
|
|
5107
5524
|
readonly value: number;
|
|
5525
|
+
/**
|
|
5526
|
+
* Identifier of this component. Should always be
|
|
5527
|
+
* minecraft:underwater_movement.
|
|
5528
|
+
*/
|
|
5108
5529
|
static readonly componentId = 'minecraft:underwater_movement';
|
|
5109
5530
|
/**
|
|
5110
5531
|
* @remarks
|
|
@@ -5144,6 +5565,10 @@ export class EntityUnderwaterMovementComponent extends IEntityComponent {
|
|
|
5144
5565
|
* entity from others. (e.g. ocelot, villager).
|
|
5145
5566
|
*/
|
|
5146
5567
|
export class EntityVariantComponent extends IEntityComponent {
|
|
5568
|
+
/**
|
|
5569
|
+
* Identifier of this component. Should always be
|
|
5570
|
+
* minecraft:variant.
|
|
5571
|
+
*/
|
|
5147
5572
|
readonly typeId: string;
|
|
5148
5573
|
/**
|
|
5149
5574
|
* The identifier of the variant. By convention, 0 is the
|
|
@@ -5151,6 +5576,10 @@ export class EntityVariantComponent extends IEntityComponent {
|
|
|
5151
5576
|
* @throws This property can throw when used.
|
|
5152
5577
|
*/
|
|
5153
5578
|
readonly value: number;
|
|
5579
|
+
/**
|
|
5580
|
+
* Identifier of this component. Should always be
|
|
5581
|
+
* minecraft:variant.
|
|
5582
|
+
*/
|
|
5154
5583
|
static readonly componentId = 'minecraft:variant';
|
|
5155
5584
|
protected constructor();
|
|
5156
5585
|
}
|
|
@@ -5159,7 +5588,15 @@ export class EntityVariantComponent extends IEntityComponent {
|
|
|
5159
5588
|
* to become a jockey.
|
|
5160
5589
|
*/
|
|
5161
5590
|
export class EntityWantsJockeyComponent extends IEntityComponent {
|
|
5591
|
+
/**
|
|
5592
|
+
* Identifier of this component. Should always be
|
|
5593
|
+
* minecraft:wants_jockey.
|
|
5594
|
+
*/
|
|
5162
5595
|
readonly typeId: string;
|
|
5596
|
+
/**
|
|
5597
|
+
* Identifier of this component. Should always be
|
|
5598
|
+
* minecraft:wants_jockey.
|
|
5599
|
+
*/
|
|
5163
5600
|
static readonly componentId = 'minecraft:wants_jockey';
|
|
5164
5601
|
protected constructor();
|
|
5165
5602
|
}
|
|
@@ -6123,7 +6560,7 @@ export class ItemType {
|
|
|
6123
6560
|
protected constructor();
|
|
6124
6561
|
}
|
|
6125
6562
|
export class ItemTypeIterator implements Iterable<ItemType> {
|
|
6126
|
-
|
|
6563
|
+
[Symbol.iterator](): Iterator<ItemType>;
|
|
6127
6564
|
next(): IteratorResult<ItemType>;
|
|
6128
6565
|
protected constructor();
|
|
6129
6566
|
}
|
|
@@ -6325,6 +6762,7 @@ export class Location {
|
|
|
6325
6762
|
export class MessageReceiveEvent {
|
|
6326
6763
|
readonly id: string;
|
|
6327
6764
|
readonly message: string;
|
|
6765
|
+
readonly player: Player;
|
|
6328
6766
|
readonly sourceType: MessageSourceType;
|
|
6329
6767
|
protected constructor();
|
|
6330
6768
|
}
|
|
@@ -6346,6 +6784,7 @@ export class MinecraftBlockTypes {
|
|
|
6346
6784
|
* Represents an acacia fence gate within Minecraft.
|
|
6347
6785
|
*/
|
|
6348
6786
|
static readonly acaciaFenceGate: BlockType;
|
|
6787
|
+
static readonly acaciaHangingSign: BlockType;
|
|
6349
6788
|
/**
|
|
6350
6789
|
* Represents an acacia pressure plate within Minecraft.
|
|
6351
6790
|
*/
|
|
@@ -6414,10 +6853,27 @@ export class MinecraftBlockTypes {
|
|
|
6414
6853
|
* Represents a bamboo tree within Minecraft.
|
|
6415
6854
|
*/
|
|
6416
6855
|
static readonly bamboo: BlockType;
|
|
6856
|
+
static readonly bambooButton: BlockType;
|
|
6857
|
+
static readonly bambooDoor: BlockType;
|
|
6858
|
+
static readonly bambooDoubleSlab: BlockType;
|
|
6859
|
+
static readonly bambooFence: BlockType;
|
|
6860
|
+
static readonly bambooFenceGate: BlockType;
|
|
6861
|
+
static readonly bambooHangingSign: BlockType;
|
|
6862
|
+
static readonly bambooMosaic: BlockType;
|
|
6863
|
+
static readonly bambooMosaicDoubleSlab: BlockType;
|
|
6864
|
+
static readonly bambooMosaicSlab: BlockType;
|
|
6865
|
+
static readonly bambooMosaicStairs: BlockType;
|
|
6866
|
+
static readonly bambooPlanks: BlockType;
|
|
6867
|
+
static readonly bambooPressurePlate: BlockType;
|
|
6417
6868
|
/**
|
|
6418
6869
|
* Represents a bamboo sapling within Minecraft.
|
|
6419
6870
|
*/
|
|
6420
6871
|
static readonly bambooSapling: BlockType;
|
|
6872
|
+
static readonly bambooSlab: BlockType;
|
|
6873
|
+
static readonly bambooStairs: BlockType;
|
|
6874
|
+
static readonly bambooStandingSign: BlockType;
|
|
6875
|
+
static readonly bambooTrapdoor: BlockType;
|
|
6876
|
+
static readonly bambooWallSign: BlockType;
|
|
6421
6877
|
/**
|
|
6422
6878
|
* Represents a barrel within Minecraft.
|
|
6423
6879
|
*/
|
|
@@ -6475,6 +6931,7 @@ export class MinecraftBlockTypes {
|
|
|
6475
6931
|
* Represents a birch fence gate within Minecraft.
|
|
6476
6932
|
*/
|
|
6477
6933
|
static readonly birchFenceGate: BlockType;
|
|
6934
|
+
static readonly birchHangingSign: BlockType;
|
|
6478
6935
|
/**
|
|
6479
6936
|
* Represents a birch pressure plate within Minecraft.
|
|
6480
6937
|
*/
|
|
@@ -6685,6 +7142,7 @@ export class MinecraftBlockTypes {
|
|
|
6685
7142
|
* Represents a chest within Minecraft.
|
|
6686
7143
|
*/
|
|
6687
7144
|
static readonly chest: BlockType;
|
|
7145
|
+
static readonly chiseledBookshelf: BlockType;
|
|
6688
7146
|
/**
|
|
6689
7147
|
* Represents a set of chiseled deepslate within Minecraft.
|
|
6690
7148
|
*/
|
|
@@ -6869,6 +7327,7 @@ export class MinecraftBlockTypes {
|
|
|
6869
7327
|
* Represents a crimson fungus within Minecraft.
|
|
6870
7328
|
*/
|
|
6871
7329
|
static readonly crimsonFungus: BlockType;
|
|
7330
|
+
static readonly crimsonHangingSign: BlockType;
|
|
6872
7331
|
/**
|
|
6873
7332
|
* Represents crimson hyphae within Minecraft.
|
|
6874
7333
|
*/
|
|
@@ -6955,6 +7414,7 @@ export class MinecraftBlockTypes {
|
|
|
6955
7414
|
* Represents a dark oak fence gate within Minecraft.
|
|
6956
7415
|
*/
|
|
6957
7416
|
static readonly darkOakFenceGate: BlockType;
|
|
7417
|
+
static readonly darkOakHangingSign: BlockType;
|
|
6958
7418
|
/**
|
|
6959
7419
|
* Represents a dark oak pressure plate within Minecraft.
|
|
6960
7420
|
*/
|
|
@@ -8064,6 +8524,7 @@ export class MinecraftBlockTypes {
|
|
|
8064
8524
|
* Represents a jungle wood fence gate within Minecraft.
|
|
8065
8525
|
*/
|
|
8066
8526
|
static readonly jungleFenceGate: BlockType;
|
|
8527
|
+
static readonly jungleHangingSign: BlockType;
|
|
8067
8528
|
/**
|
|
8068
8529
|
* Represents a jungle wood pressure plate within Minecraft.
|
|
8069
8530
|
*/
|
|
@@ -8246,6 +8707,7 @@ export class MinecraftBlockTypes {
|
|
|
8246
8707
|
static readonly mangroveDoubleSlab: BlockType;
|
|
8247
8708
|
static readonly mangroveFence: BlockType;
|
|
8248
8709
|
static readonly mangroveFenceGate: BlockType;
|
|
8710
|
+
static readonly mangroveHangingSign: BlockType;
|
|
8249
8711
|
static readonly mangroveLeaves: BlockType;
|
|
8250
8712
|
static readonly mangroveLog: BlockType;
|
|
8251
8713
|
static readonly mangrovePlanks: BlockType;
|
|
@@ -8362,6 +8824,7 @@ export class MinecraftBlockTypes {
|
|
|
8362
8824
|
* Represents a note block within Minecraft.
|
|
8363
8825
|
*/
|
|
8364
8826
|
static readonly noteblock: BlockType;
|
|
8827
|
+
static readonly oakHangingSign: BlockType;
|
|
8365
8828
|
/**
|
|
8366
8829
|
* Represents a set of oak stairs within Minecraft.
|
|
8367
8830
|
*/
|
|
@@ -8866,6 +9329,7 @@ export class MinecraftBlockTypes {
|
|
|
8866
9329
|
* Represents a spruce wood fence gate within Minecraft.
|
|
8867
9330
|
*/
|
|
8868
9331
|
static readonly spruceFenceGate: BlockType;
|
|
9332
|
+
static readonly spruceHangingSign: BlockType;
|
|
8869
9333
|
/**
|
|
8870
9334
|
* Represents a spruce wood pressure plate within Minecraft.
|
|
8871
9335
|
*/
|
|
@@ -9127,6 +9591,7 @@ export class MinecraftBlockTypes {
|
|
|
9127
9591
|
* Represents warped fungus within Minecraft.
|
|
9128
9592
|
*/
|
|
9129
9593
|
static readonly warpedFungus: BlockType;
|
|
9594
|
+
static readonly warpedHangingSign: BlockType;
|
|
9130
9595
|
/**
|
|
9131
9596
|
* Represents warped hyphae within Minecraft.
|
|
9132
9597
|
*/
|
|
@@ -12400,7 +12865,10 @@ export class Player extends Entity {
|
|
|
12400
12865
|
*/
|
|
12401
12866
|
readonly headLocation: Location;
|
|
12402
12867
|
/**
|
|
12403
|
-
*
|
|
12868
|
+
* Unique identifier of the player. This identifier is intended
|
|
12869
|
+
* to be consistent across loads of a world instance. No
|
|
12870
|
+
* meaning should be inferred from the value and structure of
|
|
12871
|
+
* this unique identifier - do not parse or interpret it.
|
|
12404
12872
|
* @throws This property can throw when used.
|
|
12405
12873
|
*/
|
|
12406
12874
|
readonly id: string;
|
|
@@ -12412,7 +12880,7 @@ export class Player extends Entity {
|
|
|
12412
12880
|
* Current location of the player.
|
|
12413
12881
|
* @throws This property can throw when used.
|
|
12414
12882
|
*/
|
|
12415
|
-
readonly location:
|
|
12883
|
+
readonly location: Vector3;
|
|
12416
12884
|
/**
|
|
12417
12885
|
* Name of the player.
|
|
12418
12886
|
* @throws This property can throw when used.
|
|
@@ -12449,6 +12917,11 @@ export class Player extends Entity {
|
|
|
12449
12917
|
* @throws This property can throw when used.
|
|
12450
12918
|
*/
|
|
12451
12919
|
readonly target: Entity;
|
|
12920
|
+
/**
|
|
12921
|
+
* Unique identifier of the type of the entity - for example,
|
|
12922
|
+
* 'minecraft:player'.
|
|
12923
|
+
* @throws This property can throw when used.
|
|
12924
|
+
*/
|
|
12452
12925
|
readonly typeId: string;
|
|
12453
12926
|
/**
|
|
12454
12927
|
* Current speed of the player across X, Y, and Z dimensions.
|
|
@@ -12603,24 +13076,6 @@ export class Player extends Entity {
|
|
|
12603
13076
|
* @throws This function can throw errors.
|
|
12604
13077
|
*/
|
|
12605
13078
|
removeTag(tag: string): boolean;
|
|
12606
|
-
/**
|
|
12607
|
-
* @remarks
|
|
12608
|
-
* Runs a particular command from the context of this player.
|
|
12609
|
-
* @param commandString
|
|
12610
|
-
* Command to run. Note that command strings should not start
|
|
12611
|
-
* with slash.
|
|
12612
|
-
* @returns
|
|
12613
|
-
* For commands that return data, returns a JSON structure with
|
|
12614
|
-
* command response values.
|
|
12615
|
-
* @throws This function can throw errors.
|
|
12616
|
-
* @example commands.js
|
|
12617
|
-
* ```typescript
|
|
12618
|
-
* player.runCommand("say You got a new high score!");
|
|
12619
|
-
* player.runCommand("scoreboard players set @s score 10");
|
|
12620
|
-
*
|
|
12621
|
-
* ```
|
|
12622
|
-
*/
|
|
12623
|
-
runCommand(commandString: string): any;
|
|
12624
13079
|
/**
|
|
12625
13080
|
* @remarks
|
|
12626
13081
|
* Runs a particular command asynchronously from the context of
|
|
@@ -12660,7 +13115,7 @@ export class Player extends Entity {
|
|
|
12660
13115
|
* X/Y/Z components of the velocity.
|
|
12661
13116
|
* @throws This function can throw errors.
|
|
12662
13117
|
*/
|
|
12663
|
-
setVelocity(velocity:
|
|
13118
|
+
setVelocity(velocity: Vector3): void;
|
|
12664
13119
|
/**
|
|
12665
13120
|
* @remarks
|
|
12666
13121
|
* Sets the item cooldown time for a particular cooldown
|
|
@@ -12687,7 +13142,13 @@ export class Player extends Entity {
|
|
|
12687
13142
|
* @param keepVelocity
|
|
12688
13143
|
* @throws This function can throw errors.
|
|
12689
13144
|
*/
|
|
12690
|
-
teleport(
|
|
13145
|
+
teleport(
|
|
13146
|
+
location: Vector3,
|
|
13147
|
+
dimension: Dimension,
|
|
13148
|
+
xRotation: number,
|
|
13149
|
+
yRotation: number,
|
|
13150
|
+
keepVelocity?: boolean,
|
|
13151
|
+
): void;
|
|
12691
13152
|
/**
|
|
12692
13153
|
* @remarks
|
|
12693
13154
|
* Teleports the selected player to a new location, and will
|
|
@@ -12701,7 +13162,7 @@ export class Player extends Entity {
|
|
|
12701
13162
|
* @param keepVelocity
|
|
12702
13163
|
* @throws This function can throw errors.
|
|
12703
13164
|
*/
|
|
12704
|
-
teleportFacing(location:
|
|
13165
|
+
teleportFacing(location: Vector3, dimension: Dimension, facingLocation: Vector3, keepVelocity?: boolean): void;
|
|
12705
13166
|
/**
|
|
12706
13167
|
* @remarks
|
|
12707
13168
|
* Sends a message that is displayed on the connected client
|
|
@@ -12804,7 +13265,7 @@ export class PlayerInventoryComponentContainer extends InventoryComponentContain
|
|
|
12804
13265
|
* statements, Array.from(iterator), and more.
|
|
12805
13266
|
*/
|
|
12806
13267
|
export class PlayerIterator implements Iterable<Player> {
|
|
12807
|
-
|
|
13268
|
+
[Symbol.iterator](): Iterator<Player>;
|
|
12808
13269
|
/**
|
|
12809
13270
|
* @remarks
|
|
12810
13271
|
* Retrieves the next item in this iteration. The resulting
|
|
@@ -13094,21 +13555,6 @@ export class ScoreboardObjective {
|
|
|
13094
13555
|
getScores(): ScoreboardScoreInfo[];
|
|
13095
13556
|
protected constructor();
|
|
13096
13557
|
}
|
|
13097
|
-
/**
|
|
13098
|
-
* Contains additional options for how a scoreboard should be
|
|
13099
|
-
* displayed within its display slot.
|
|
13100
|
-
*/
|
|
13101
|
-
export class ScoreboardObjectiveDisplayOptions {
|
|
13102
|
-
/**
|
|
13103
|
-
* Objective to be displayed.
|
|
13104
|
-
*/
|
|
13105
|
-
readonly objective: ScoreboardObjective;
|
|
13106
|
-
/**
|
|
13107
|
-
* The sort order to display the objective items within.
|
|
13108
|
-
*/
|
|
13109
|
-
readonly sortOrder: ObjectiveSortOrder;
|
|
13110
|
-
constructor(objective: ScoreboardObjective, sortOrder?: ObjectiveSortOrder);
|
|
13111
|
-
}
|
|
13112
13558
|
/**
|
|
13113
13559
|
* Contains a pair of a scoreboard participant and its
|
|
13114
13560
|
* respective score.
|
|
@@ -13221,12 +13667,16 @@ export class StringBlockProperty extends IBlockProperty {
|
|
|
13221
13667
|
* A class that provides system-level events and functions.
|
|
13222
13668
|
*/
|
|
13223
13669
|
export class System {
|
|
13670
|
+
readonly currentTick: number;
|
|
13224
13671
|
/**
|
|
13225
13672
|
* Contains a set of events that are applicable for the
|
|
13226
13673
|
* lifecycle of items in the Minecraft system.
|
|
13227
13674
|
*/
|
|
13228
13675
|
readonly events: SystemEvents;
|
|
13229
|
-
|
|
13676
|
+
clearRun(runId: number): void;
|
|
13677
|
+
clearRunSchedule(runScheduleId: number): void;
|
|
13678
|
+
run(callback: () => void, tickDelay?: number): number;
|
|
13679
|
+
runSchedule(callback: () => void, tickInterval?: number): number;
|
|
13230
13680
|
protected constructor();
|
|
13231
13681
|
}
|
|
13232
13682
|
/**
|
|
@@ -13343,7 +13793,7 @@ export class Vector {
|
|
|
13343
13793
|
* @param a
|
|
13344
13794
|
* @param b
|
|
13345
13795
|
*/
|
|
13346
|
-
static add(a:
|
|
13796
|
+
static add(a: Vector3, b: Vector3): Vector;
|
|
13347
13797
|
/**
|
|
13348
13798
|
* @remarks
|
|
13349
13799
|
* Creates a new instance of an abstract vector.
|
|
@@ -13361,21 +13811,21 @@ export class Vector {
|
|
|
13361
13811
|
* @param a
|
|
13362
13812
|
* @param b
|
|
13363
13813
|
*/
|
|
13364
|
-
static cross(a:
|
|
13814
|
+
static cross(a: Vector3, b: Vector3): Vector;
|
|
13365
13815
|
/**
|
|
13366
13816
|
* @remarks
|
|
13367
13817
|
* Returns the distance between two vectors.
|
|
13368
13818
|
* @param a
|
|
13369
13819
|
* @param b
|
|
13370
13820
|
*/
|
|
13371
|
-
static distance(a:
|
|
13821
|
+
static distance(a: Vector3, b: Vector3): number;
|
|
13372
13822
|
/**
|
|
13373
13823
|
* @remarks
|
|
13374
13824
|
* Returns the component-wise division of these vectors.
|
|
13375
13825
|
* @param a
|
|
13376
13826
|
* @param b
|
|
13377
13827
|
*/
|
|
13378
|
-
static divide(a:
|
|
13828
|
+
static divide(a: Vector3, b: number | Vector3): Vector;
|
|
13379
13829
|
/**
|
|
13380
13830
|
* @remarks
|
|
13381
13831
|
* Compares this vector and another vector to one another.
|
|
@@ -13403,7 +13853,7 @@ export class Vector {
|
|
|
13403
13853
|
* @param b
|
|
13404
13854
|
* @param t
|
|
13405
13855
|
*/
|
|
13406
|
-
static lerp(a:
|
|
13856
|
+
static lerp(a: Vector3, b: Vector3, t: number): Vector;
|
|
13407
13857
|
/**
|
|
13408
13858
|
* @remarks
|
|
13409
13859
|
* Returns a vector that is made from the largest components of
|
|
@@ -13411,7 +13861,7 @@ export class Vector {
|
|
|
13411
13861
|
* @param a
|
|
13412
13862
|
* @param b
|
|
13413
13863
|
*/
|
|
13414
|
-
static max(a:
|
|
13864
|
+
static max(a: Vector3, b: Vector3): Vector;
|
|
13415
13865
|
/**
|
|
13416
13866
|
* @remarks
|
|
13417
13867
|
* Returns a vector that is made from the smallest components
|
|
@@ -13419,14 +13869,14 @@ export class Vector {
|
|
|
13419
13869
|
* @param a
|
|
13420
13870
|
* @param b
|
|
13421
13871
|
*/
|
|
13422
|
-
static min(a:
|
|
13872
|
+
static min(a: Vector3, b: Vector3): Vector;
|
|
13423
13873
|
/**
|
|
13424
13874
|
* @remarks
|
|
13425
13875
|
* Returns the component-wise product of these vectors.
|
|
13426
13876
|
* @param a
|
|
13427
13877
|
* @param b
|
|
13428
13878
|
*/
|
|
13429
|
-
static multiply(a:
|
|
13879
|
+
static multiply(a: Vector3, b: number | Vector3): Vector;
|
|
13430
13880
|
/**
|
|
13431
13881
|
* @remarks
|
|
13432
13882
|
* Returns this vector as a normalized vector.
|
|
@@ -13440,14 +13890,14 @@ export class Vector {
|
|
|
13440
13890
|
* @param b
|
|
13441
13891
|
* @param s
|
|
13442
13892
|
*/
|
|
13443
|
-
static slerp(a:
|
|
13893
|
+
static slerp(a: Vector3, b: Vector3, s: number): Vector;
|
|
13444
13894
|
/**
|
|
13445
13895
|
* @remarks
|
|
13446
13896
|
* Returns the subtraction of these vectors.
|
|
13447
13897
|
* @param a
|
|
13448
13898
|
* @param b
|
|
13449
13899
|
*/
|
|
13450
|
-
static subtract(a:
|
|
13900
|
+
static subtract(a: Vector3, b: Vector3): Vector;
|
|
13451
13901
|
}
|
|
13452
13902
|
/**
|
|
13453
13903
|
* Contains information related to changes in weather in the
|
|
@@ -13504,6 +13954,7 @@ export class World {
|
|
|
13504
13954
|
readonly scoreboard: Scoreboard;
|
|
13505
13955
|
broadcastClientMessage(id: string, value: string): void;
|
|
13506
13956
|
getAbsoluteTime(): number;
|
|
13957
|
+
getAllPlayers(): Player[];
|
|
13507
13958
|
/**
|
|
13508
13959
|
* @param dimensionId
|
|
13509
13960
|
* @returns
|
|
@@ -13655,6 +14106,64 @@ export class XYRotation {
|
|
|
13655
14106
|
y: number;
|
|
13656
14107
|
protected constructor();
|
|
13657
14108
|
}
|
|
14109
|
+
/**
|
|
14110
|
+
* Contains additional options for configuring a block raycast
|
|
14111
|
+
* query.
|
|
14112
|
+
*/
|
|
14113
|
+
export interface BlockRaycastOptions {
|
|
14114
|
+
/**
|
|
14115
|
+
* If true, liquid blocks will be considered as blocks that
|
|
14116
|
+
* 'stop' the raycast.
|
|
14117
|
+
*/
|
|
14118
|
+
includeLiquidBlocks?: boolean;
|
|
14119
|
+
/**
|
|
14120
|
+
* If true, passable blocks like vines and flowers will be
|
|
14121
|
+
* considered as blocks that 'stop' the raycast.
|
|
14122
|
+
*/
|
|
14123
|
+
includePassableBlocks?: boolean;
|
|
14124
|
+
/**
|
|
14125
|
+
* Maximum distance, in blocks, to process the raycast.
|
|
14126
|
+
*/
|
|
14127
|
+
maxDistance?: number;
|
|
14128
|
+
}
|
|
14129
|
+
/**
|
|
14130
|
+
* Specifies additional filters that are used in registering a
|
|
14131
|
+
* data driven trigger event for entities.
|
|
14132
|
+
*/
|
|
14133
|
+
export interface EntityDataDrivenTriggerEventOptions {
|
|
14134
|
+
/**
|
|
14135
|
+
* If this value is set, this event will only fire for entities
|
|
14136
|
+
* that match the entities within this collection.
|
|
14137
|
+
*/
|
|
14138
|
+
entities?: Entity[];
|
|
14139
|
+
/**
|
|
14140
|
+
* If this value is set, this event will only fire if the
|
|
14141
|
+
* impacted entities' type matches this parameter.
|
|
14142
|
+
*/
|
|
14143
|
+
entityTypes?: string[];
|
|
14144
|
+
/**
|
|
14145
|
+
* If this value is set, this event will only fire if the
|
|
14146
|
+
* impacted triggered event matches one of the events listed in
|
|
14147
|
+
* this parameter.
|
|
14148
|
+
*/
|
|
14149
|
+
eventTypes?: string[];
|
|
14150
|
+
}
|
|
14151
|
+
/**
|
|
14152
|
+
* Contains optional parameters for registering an entity
|
|
14153
|
+
* event.
|
|
14154
|
+
*/
|
|
14155
|
+
export interface EntityEventOptions {
|
|
14156
|
+
/**
|
|
14157
|
+
* If this value is set, this event will only fire for entities
|
|
14158
|
+
* that match the entities within this collection.
|
|
14159
|
+
*/
|
|
14160
|
+
entities?: Entity[];
|
|
14161
|
+
/**
|
|
14162
|
+
* If this value is set, this event will only fire if the
|
|
14163
|
+
* impacted entities' type matches this parameter.
|
|
14164
|
+
*/
|
|
14165
|
+
entityTypes?: string[];
|
|
14166
|
+
}
|
|
13658
14167
|
/**
|
|
13659
14168
|
* Contains options for selecting entities within an area.
|
|
13660
14169
|
*/
|
|
@@ -13842,12 +14351,6 @@ export interface IRawMessage {
|
|
|
13842
14351
|
translate?: string;
|
|
13843
14352
|
with?: IRawMessage | string[];
|
|
13844
14353
|
}
|
|
13845
|
-
// tslint:disable-next-line:interface-name
|
|
13846
|
-
export interface IVec3 {
|
|
13847
|
-
x: number;
|
|
13848
|
-
y: number;
|
|
13849
|
-
z: number;
|
|
13850
|
-
}
|
|
13851
14354
|
/**
|
|
13852
14355
|
* Additional configuration options for {@link
|
|
13853
14356
|
* World.playMusic}/{@link World.queueMusic} methods.
|
|
@@ -13866,6 +14369,20 @@ export interface MusicOptions {
|
|
|
13866
14369
|
*/
|
|
13867
14370
|
volume?: number;
|
|
13868
14371
|
}
|
|
14372
|
+
/**
|
|
14373
|
+
* Contains additional options for how a scoreboard should be
|
|
14374
|
+
* displayed within its display slot.
|
|
14375
|
+
*/
|
|
14376
|
+
export interface ScoreboardObjectiveDisplayOptions {
|
|
14377
|
+
/**
|
|
14378
|
+
* Objective to be displayed.
|
|
14379
|
+
*/
|
|
14380
|
+
objective: ScoreboardObjective;
|
|
14381
|
+
/**
|
|
14382
|
+
* The sort order to display the objective items within.
|
|
14383
|
+
*/
|
|
14384
|
+
sortOrder?: ObjectiveSortOrder;
|
|
14385
|
+
}
|
|
13869
14386
|
/**
|
|
13870
14387
|
* Additional configuration options for the {@link
|
|
13871
14388
|
* Player.playSound}/{@link World.playSound} method.
|
|
@@ -13906,6 +14423,23 @@ export interface TitleDisplayOptions {
|
|
|
13906
14423
|
*/
|
|
13907
14424
|
subtitle?: string;
|
|
13908
14425
|
}
|
|
14426
|
+
/**
|
|
14427
|
+
* Contains a description of a vector.
|
|
14428
|
+
*/
|
|
14429
|
+
export interface Vector3 {
|
|
14430
|
+
/**
|
|
14431
|
+
* X component of this vector.
|
|
14432
|
+
*/
|
|
14433
|
+
x: number;
|
|
14434
|
+
/**
|
|
14435
|
+
* Y component of this vector.
|
|
14436
|
+
*/
|
|
14437
|
+
y: number;
|
|
14438
|
+
/**
|
|
14439
|
+
* Z component of this vector.
|
|
14440
|
+
*/
|
|
14441
|
+
z: number;
|
|
14442
|
+
}
|
|
13909
14443
|
export const TicksPerDay = 24000;
|
|
13910
14444
|
/**
|
|
13911
14445
|
* How many times the server ticks per second of real time.
|