@minecraft/server 0.0.1-internal

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 ADDED
@@ -0,0 +1,3744 @@
1
+ // Type definitions for Minecraft Bedrock Edition script APIs (experimental) 0.1
2
+ // Project: https://docs.microsoft.com/minecraft/creator/
3
+ // Definitions by: Jake Shirley <https://github.com/JakeShirley>
4
+ // Mike Ammerlaan <https://github.com/mammerla>
5
+ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
6
+
7
+ /* *****************************************************************************
8
+ Copyright (c) Microsoft Corporation.
9
+ ***************************************************************************** */
10
+ /**
11
+ *
12
+ * Manifest Details
13
+ * ```json
14
+ * {
15
+ * "module_name": "@minecraft/server",
16
+ * "version": "0.1.0"
17
+ * }
18
+ * ```
19
+ *
20
+ */
21
+ export enum Direction {
22
+ down = 'down',
23
+ east = 'east',
24
+ north = 'north',
25
+ south = 'south',
26
+ up = 'up',
27
+ west = 'west',
28
+ }
29
+ export enum DisplaySlotId {
30
+ belowname = 'belowname',
31
+ list = 'list',
32
+ sidebar = 'sidebar',
33
+ }
34
+ export enum EntityDamageCause {
35
+ anvil = 'anvil',
36
+ blockExplosion = 'blockExplosion',
37
+ charging = 'charging',
38
+ contact = 'contact',
39
+ drowning = 'drowning',
40
+ entityAttack = 'entityAttack',
41
+ entityExplosion = 'entityExplosion',
42
+ fall = 'fall',
43
+ fallingBlock = 'fallingBlock',
44
+ fire = 'fire',
45
+ fireTick = 'fireTick',
46
+ fireworks = 'fireworks',
47
+ flyIntoWall = 'flyIntoWall',
48
+ freezing = 'freezing',
49
+ lava = 'lava',
50
+ lightning = 'lightning',
51
+ magic = 'magic',
52
+ magma = 'magma',
53
+ none = 'none',
54
+ override = 'override',
55
+ piston = 'piston',
56
+ projectile = 'projectile',
57
+ stalactite = 'stalactite',
58
+ stalagmite = 'stalagmite',
59
+ starve = 'starve',
60
+ suffocation = 'suffocation',
61
+ suicide = 'suicide',
62
+ temperature = 'temperature',
63
+ thorns = 'thorns',
64
+ 'void' = 'void',
65
+ wither = 'wither',
66
+ }
67
+ export enum FluidType {
68
+ lava = 'lava',
69
+ potion = 'potion',
70
+ powderSnow = 'powderSnow',
71
+ water = 'water',
72
+ }
73
+ export enum GameMode {
74
+ adventure = 'adventure',
75
+ creative = 'creative',
76
+ spectator = 'spectator',
77
+ survival = 'survival',
78
+ }
79
+ export enum MessageSourceType {
80
+ clientScript = 'clientScript',
81
+ entityCommand = 'entityCommand',
82
+ serverCommand = 'serverCommand',
83
+ serverScript = 'serverScript',
84
+ }
85
+ export enum ObjectiveSortOrder {
86
+ ascending = 0,
87
+ descending = 1,
88
+ }
89
+ export enum ScoreboardIdentityType {
90
+ entity = 'entity',
91
+ fakePlayer = 'fakePlayer',
92
+ player = 'player',
93
+ }
94
+ export enum TimeOfDay {
95
+ Day = 1000,
96
+ Noon = 6000,
97
+ Sunset = 12000,
98
+ Night = 13000,
99
+ Midnight = 18000,
100
+ Sunrise = 23000,
101
+ }
102
+ export enum WatchdogTerminateReason {
103
+ hang = 'hang',
104
+ stackOverflow = 'stackOverflow',
105
+ }
106
+ export class BeforeChatEvent {
107
+ cancel: boolean;
108
+ message: string;
109
+ sender: Player;
110
+ sendToTargets: boolean;
111
+ targets: Player[];
112
+ protected constructor();
113
+ }
114
+ export class BeforeChatEventSignal {
115
+ subscribe(callback: (arg: BeforeChatEvent) => void): (arg: BeforeChatEvent) => void;
116
+ unsubscribe(callback: (arg: BeforeChatEvent) => void): void;
117
+ protected constructor();
118
+ }
119
+ export class BeforeDataDrivenEntityTriggerEvent {
120
+ cancel: boolean;
121
+ readonly entity: Entity;
122
+ readonly id: string;
123
+ modifiers: DefinitionModifier[];
124
+ protected constructor();
125
+ }
126
+ export class BeforeDataDrivenEntityTriggerEventSignal {
127
+ subscribe(
128
+ callback: (arg: BeforeDataDrivenEntityTriggerEvent) => void,
129
+ options?: EntityDataDrivenTriggerEventOptions,
130
+ ): (arg: BeforeDataDrivenEntityTriggerEvent) => void;
131
+ unsubscribe(callback: (arg: BeforeDataDrivenEntityTriggerEvent) => void): void;
132
+ protected constructor();
133
+ }
134
+ export class BeforeExplosionEvent {
135
+ cancel: boolean;
136
+ readonly dimension: Dimension;
137
+ impactedBlocks: BlockLocation[];
138
+ readonly source: Entity;
139
+ protected constructor();
140
+ }
141
+ export class BeforeExplosionEventSignal {
142
+ subscribe(callback: (arg: BeforeExplosionEvent) => void): (arg: BeforeExplosionEvent) => void;
143
+ unsubscribe(callback: (arg: BeforeExplosionEvent) => void): void;
144
+ protected constructor();
145
+ }
146
+ export class BeforeItemDefinitionEventSignal {
147
+ subscribe(
148
+ callback: (arg: BeforeItemDefinitionTriggeredEvent) => void,
149
+ ): (arg: BeforeItemDefinitionTriggeredEvent) => void;
150
+ unsubscribe(callback: (arg: BeforeItemDefinitionTriggeredEvent) => void): void;
151
+ protected constructor();
152
+ }
153
+ export class BeforeItemDefinitionTriggeredEvent {
154
+ cancel: boolean;
155
+ readonly eventName: string;
156
+ item: ItemStack;
157
+ readonly source: Entity;
158
+ protected constructor();
159
+ }
160
+ export class BeforeItemUseEvent {
161
+ cancel: boolean;
162
+ item: ItemStack;
163
+ readonly source: Entity;
164
+ protected constructor();
165
+ }
166
+ export class BeforeItemUseEventSignal {
167
+ subscribe(callback: (arg: BeforeItemUseEvent) => void): (arg: BeforeItemUseEvent) => void;
168
+ unsubscribe(callback: (arg: BeforeItemUseEvent) => void): void;
169
+ protected constructor();
170
+ }
171
+ export class BeforeItemUseOnEvent {
172
+ readonly blockFace: Direction;
173
+ readonly blockLocation: BlockLocation;
174
+ cancel: boolean;
175
+ readonly faceLocationX: number;
176
+ readonly faceLocationY: number;
177
+ item: ItemStack;
178
+ readonly source: Entity;
179
+ protected constructor();
180
+ }
181
+ export class BeforeItemUseOnEventSignal {
182
+ subscribe(callback: (arg: BeforeItemUseOnEvent) => void): (arg: BeforeItemUseOnEvent) => void;
183
+ unsubscribe(callback: (arg: BeforeItemUseOnEvent) => void): void;
184
+ protected constructor();
185
+ }
186
+ export class BeforePistonActivateEvent extends BlockEvent {
187
+ readonly block: Block;
188
+ cancel: boolean;
189
+ readonly dimension: Dimension;
190
+ readonly isExpanding: boolean;
191
+ readonly piston: BlockPistonComponent;
192
+ protected constructor();
193
+ }
194
+ export class BeforePistonActivateEventSignal {
195
+ subscribe(callback: (arg: BeforePistonActivateEvent) => void): (arg: BeforePistonActivateEvent) => void;
196
+ unsubscribe(callback: (arg: BeforePistonActivateEvent) => void): void;
197
+ protected constructor();
198
+ }
199
+ export class BeforeWatchdogTerminateEvent {
200
+ cancel: boolean;
201
+ readonly terminateReason: WatchdogTerminateReason;
202
+ protected constructor();
203
+ }
204
+ export class BeforeWatchdogTerminateEventSignal {
205
+ subscribe(callback: (arg: BeforeWatchdogTerminateEvent) => void): (arg: BeforeWatchdogTerminateEvent) => void;
206
+ unsubscribe(callback: (arg: BeforeWatchdogTerminateEvent) => void): void;
207
+ protected constructor();
208
+ }
209
+ export class Block {
210
+ readonly dimension: Dimension;
211
+ isWaterlogged: boolean;
212
+ readonly location: BlockLocation;
213
+ readonly permutation: BlockPermutation;
214
+ readonly 'type': BlockType;
215
+ readonly typeId: string;
216
+ readonly x: number;
217
+ readonly y: number;
218
+ readonly z: number;
219
+ getComponent(componentName: string): any;
220
+ getTags(): string[];
221
+ hasTag(tag: string): boolean;
222
+ setPermutation(permutation: BlockPermutation): void;
223
+ setType(blockType: BlockType): void;
224
+ protected constructor();
225
+ }
226
+ export class BlockAreaSize {
227
+ x: number;
228
+ y: number;
229
+ z: number;
230
+ constructor(x: number, y: number, z: number);
231
+ equals(other: BlockAreaSize): boolean;
232
+ }
233
+ export class BlockBreakEvent extends BlockEvent {
234
+ readonly block: Block;
235
+ readonly brokenBlockPermutation: BlockPermutation;
236
+ readonly dimension: Dimension;
237
+ readonly player: Player;
238
+ protected constructor();
239
+ }
240
+ export class BlockBreakEventSignal {
241
+ subscribe(callback: (arg: BlockBreakEvent) => void): (arg: BlockBreakEvent) => void;
242
+ unsubscribe(callback: (arg: BlockBreakEvent) => void): void;
243
+ protected constructor();
244
+ }
245
+ // tslint:disable-next-line:no-unnecessary-class
246
+ export class BlockComponent {
247
+ protected constructor();
248
+ }
249
+ export class BlockEvent {
250
+ readonly block: Block;
251
+ readonly dimension: Dimension;
252
+ protected constructor();
253
+ }
254
+ export class BlockExplodeEvent extends BlockEvent {
255
+ readonly block: Block;
256
+ readonly dimension: Dimension;
257
+ readonly source: Entity;
258
+ protected constructor();
259
+ }
260
+ export class BlockExplodeEventSignal {
261
+ subscribe(callback: (arg: BlockExplodeEvent) => void): (arg: BlockExplodeEvent) => void;
262
+ unsubscribe(callback: (arg: BlockExplodeEvent) => void): void;
263
+ protected constructor();
264
+ }
265
+ export class BlockHitInformation {
266
+ readonly block: Block;
267
+ readonly face: Direction;
268
+ readonly faceLocationX: number;
269
+ readonly faceLocationY: number;
270
+ protected constructor();
271
+ }
272
+ export class BlockInventoryComponent extends BlockComponent {
273
+ readonly container: BlockInventoryComponentContainer;
274
+ readonly location: BlockLocation;
275
+ readonly typeId: string;
276
+ static readonly componentId = 'minecraft:inventory';
277
+ protected constructor();
278
+ }
279
+ export class BlockInventoryComponentContainer extends Container {
280
+ readonly emptySlotsCount: number;
281
+ readonly size: number;
282
+ addItem(itemStack: ItemStack): void;
283
+ getItem(slot: number): ItemStack;
284
+ setItem(slot: number, itemStack: ItemStack): void;
285
+ swapItems(slot: number, otherSlot: number, otherContainer: Container): boolean;
286
+ transferItem(fromSlot: number, toSlot: number, toContainer: Container): boolean;
287
+ protected constructor();
288
+ }
289
+ export class BlockLavaContainerComponent extends BlockComponent {
290
+ fillLevel: number;
291
+ readonly location: BlockLocation;
292
+ readonly typeId: string;
293
+ static readonly componentId = 'minecraft:lavaContainer';
294
+ protected constructor();
295
+ }
296
+ export class BlockLocation {
297
+ x: number;
298
+ y: number;
299
+ z: number;
300
+ above(): BlockLocation;
301
+ blocksBetween(other: BlockLocation): BlockLocation[];
302
+ constructor(x: number, y: number, z: number);
303
+ equals(other: BlockLocation): boolean;
304
+ offset(x: number, y: number, z: number): BlockLocation;
305
+ }
306
+ export class BlockPermutation {
307
+ readonly 'type': BlockType;
308
+ clone(): BlockPermutation;
309
+ getAllProperties(): IBlockProperty[];
310
+ getProperty(propertyName: string): IBlockProperty;
311
+ getTags(): string[];
312
+ hasTag(tag: string): boolean;
313
+ protected constructor();
314
+ }
315
+ export class BlockPistonComponent extends BlockComponent {
316
+ readonly attachedBlocks: BlockLocation[];
317
+ readonly isExpanded: boolean;
318
+ readonly isExpanding: boolean;
319
+ readonly isMoving: boolean;
320
+ readonly isRetracted: boolean;
321
+ readonly isRetracting: boolean;
322
+ readonly location: BlockLocation;
323
+ readonly typeId: string;
324
+ static readonly componentId = 'minecraft:piston';
325
+ protected constructor();
326
+ }
327
+ export class BlockPlaceEvent extends BlockEvent {
328
+ readonly block: Block;
329
+ readonly dimension: Dimension;
330
+ readonly player: Player;
331
+ protected constructor();
332
+ }
333
+ export class BlockPlaceEventSignal {
334
+ subscribe(callback: (arg: BlockPlaceEvent) => void): (arg: BlockPlaceEvent) => void;
335
+ unsubscribe(callback: (arg: BlockPlaceEvent) => void): void;
336
+ protected constructor();
337
+ }
338
+ export class BlockPotionContainerComponent extends BlockComponent {
339
+ fillLevel: number;
340
+ readonly location: BlockLocation;
341
+ readonly typeId: string;
342
+ static readonly componentId = 'minecraft:potionContainer';
343
+ setPotionType(item: ItemStack): void;
344
+ protected constructor();
345
+ }
346
+ // tslint:disable-next-line:no-unnecessary-class
347
+ export class BlockProperties {
348
+ static readonly active = 'active';
349
+ static readonly age = 'age';
350
+ static readonly ageBit = 'age_bit';
351
+ static readonly allowUnderwaterBit = 'allow_underwater_bit';
352
+ static readonly attachedBit = 'attached_bit';
353
+ static readonly attachment = 'attachment';
354
+ static readonly bambooLeafSize = 'bamboo_leaf_size';
355
+ static readonly bambooStalkThickness = 'bamboo_stalk_thickness';
356
+ static readonly bigDripleafHead = 'big_dripleaf_head';
357
+ static readonly bigDripleafTilt = 'big_dripleaf_tilt';
358
+ static readonly biteCounter = 'bite_counter';
359
+ static readonly blockLightLevel = 'block_light_level';
360
+ static readonly bloom = 'bloom';
361
+ static readonly brewingStandSlotABit = 'brewing_stand_slot_a_bit';
362
+ static readonly brewingStandSlotBBit = 'brewing_stand_slot_b_bit';
363
+ static readonly brewingStandSlotCBit = 'brewing_stand_slot_c_bit';
364
+ static readonly buttonPressedBit = 'button_pressed_bit';
365
+ static readonly candles = 'candles';
366
+ static readonly canSummon = 'can_summon';
367
+ static readonly cauldronLiquid = 'cauldron_liquid';
368
+ static readonly chemistryTableType = 'chemistry_table_type';
369
+ static readonly chiselType = 'chisel_type';
370
+ static readonly clusterCount = 'cluster_count';
371
+ static readonly color = 'color';
372
+ static readonly colorBit = 'color_bit';
373
+ static readonly composterFillLevel = 'composter_fill_level';
374
+ static readonly conditionalBit = 'conditional_bit';
375
+ static readonly coralColor = 'coral_color';
376
+ static readonly coralDirection = 'coral_direction';
377
+ static readonly coralFanDirection = 'coral_fan_direction';
378
+ static readonly coralHangTypeBit = 'coral_hang_type_bit';
379
+ static readonly coveredBit = 'covered_bit';
380
+ static readonly crackedState = 'cracked_state';
381
+ static readonly damage = 'damage';
382
+ static readonly deadBit = 'dead_bit';
383
+ static readonly deprecated = 'deprecated';
384
+ static readonly direction = 'direction';
385
+ static readonly dirtType = 'dirt_type';
386
+ static readonly disarmedBit = 'disarmed_bit';
387
+ static readonly doorHingeBit = 'door_hinge_bit';
388
+ static readonly doublePlantType = 'double_plant_type';
389
+ static readonly dragDown = 'drag_down';
390
+ static readonly dripstoneThickness = 'dripstone_thickness';
391
+ static readonly endPortalEyeBit = 'end_portal_eye_bit';
392
+ static readonly explodeBit = 'explode_bit';
393
+ static readonly extinguished = 'extinguished';
394
+ static readonly facingDirection = 'facing_direction';
395
+ static readonly fillLevel = 'fill_level';
396
+ static readonly flowerType = 'flower_type';
397
+ static readonly groundSignDirection = 'ground_sign_direction';
398
+ static readonly growingPlantAge = 'growing_plant_age';
399
+ static readonly growth = 'growth';
400
+ static readonly hanging = 'hanging';
401
+ static readonly headPieceBit = 'head_piece_bit';
402
+ static readonly height = 'height';
403
+ static readonly honeyLevel = 'honey_level';
404
+ static readonly hugeMushroomBits = 'huge_mushroom_bits';
405
+ static readonly infiniburnBit = 'infiniburn_bit';
406
+ static readonly inWallBit = 'in_wall_bit';
407
+ static readonly itemFrameMapBit = 'item_frame_map_bit';
408
+ static readonly itemFramePhotoBit = 'item_frame_photo_bit';
409
+ static readonly kelpAge = 'kelp_age';
410
+ static readonly leverDirection = 'lever_direction';
411
+ static readonly liquidDepth = 'liquid_depth';
412
+ static readonly lit = 'lit';
413
+ static readonly moisturizedAmount = 'moisturized_amount';
414
+ static readonly monsterEggStoneType = 'monster_egg_stone_type';
415
+ static readonly multiFaceDirectionBits = 'multi_face_direction_bits';
416
+ static readonly newLeafType = 'new_leaf_type';
417
+ static readonly newLogType = 'new_log_type';
418
+ static readonly noDropBit = 'no_drop_bit';
419
+ static readonly occupiedBit = 'occupied_bit';
420
+ static readonly oldLeafType = 'old_leaf_type';
421
+ static readonly oldLogType = 'old_log_type';
422
+ static readonly openBit = 'open_bit';
423
+ static readonly outputLitBit = 'output_lit_bit';
424
+ static readonly outputSubtractBit = 'output_subtract_bit';
425
+ static readonly persistentBit = 'persistent_bit';
426
+ static readonly pillarAxis = 'pillar_axis';
427
+ static readonly portalAxis = 'portal_axis';
428
+ static readonly poweredBit = 'powered_bit';
429
+ static readonly prismarineBlockType = 'prismarine_block_type';
430
+ static readonly propaguleStage = 'propagule_stage';
431
+ static readonly railDataBit = 'rail_data_bit';
432
+ static readonly railDirection = 'rail_direction';
433
+ static readonly redstoneSignal = 'redstone_signal';
434
+ static readonly repeaterDelay = 'repeater_delay';
435
+ static readonly respawnAnchorCharge = 'respawn_anchor_charge';
436
+ static readonly rotation = 'rotation';
437
+ static readonly sandStoneType = 'sand_stone_type';
438
+ static readonly sandType = 'sand_type';
439
+ static readonly saplingType = 'sapling_type';
440
+ static readonly seaGrassType = 'sea_grass_type';
441
+ static readonly spongeType = 'sponge_type';
442
+ static readonly stability = 'stability';
443
+ static readonly stabilityCheck = 'stability_check';
444
+ static readonly stoneBrickType = 'stone_brick_type';
445
+ static readonly stoneSlabType = 'stone_slab_type';
446
+ static readonly stoneSlabType2 = 'stone_slab_type_2';
447
+ static readonly stoneSlabType3 = 'stone_slab_type_3';
448
+ static readonly stoneSlabType4 = 'stone_slab_type_4';
449
+ static readonly stoneType = 'stone_type';
450
+ static readonly strippedBit = 'stripped_bit';
451
+ static readonly structureBlockType = 'structure_block_type';
452
+ static readonly structureVoidType = 'structure_void_type';
453
+ static readonly suspendedBit = 'suspended_bit';
454
+ static readonly tallGrassType = 'tall_grass_type';
455
+ static readonly toggleBit = 'toggle_bit';
456
+ static readonly topSlotBit = 'top_slot_bit';
457
+ static readonly torchFacingDirection = 'torch_facing_direction';
458
+ static readonly triggeredBit = 'triggered_bit';
459
+ static readonly turtleEggCount = 'turtle_egg_count';
460
+ static readonly twistingVinesAge = 'twisting_vines_age';
461
+ static readonly updateBit = 'update_bit';
462
+ static readonly upperBlockBit = 'upper_block_bit';
463
+ static readonly upsideDownBit = 'upside_down_bit';
464
+ static readonly vineDirectionBits = 'vine_direction_bits';
465
+ static readonly wallBlockType = 'wall_block_type';
466
+ static readonly wallConnectionTypeEast = 'wall_connection_type_east';
467
+ static readonly wallConnectionTypeNorth = 'wall_connection_type_north';
468
+ static readonly wallConnectionTypeSouth = 'wall_connection_type_south';
469
+ static readonly wallConnectionTypeWest = 'wall_connection_type_west';
470
+ static readonly wallPostBit = 'wall_post_bit';
471
+ static readonly weepingVinesAge = 'weeping_vines_age';
472
+ static readonly weirdoDirection = 'weirdo_direction';
473
+ static readonly woodType = 'wood_type';
474
+ protected constructor();
475
+ }
476
+ export class BlockRaycastOptions {
477
+ includeLiquidBlocks: boolean;
478
+ includePassableBlocks: boolean;
479
+ maxDistance: number;
480
+ }
481
+ export class BlockRecordPlayerComponent extends BlockComponent {
482
+ readonly location: BlockLocation;
483
+ readonly typeId: string;
484
+ static readonly componentId = 'minecraft:recordPlayer';
485
+ clearRecord(): void;
486
+ isPlaying(): boolean;
487
+ setRecord(recordItemType: ItemType): void;
488
+ protected constructor();
489
+ }
490
+ export class BlockSignComponent extends BlockComponent {
491
+ readonly location: BlockLocation;
492
+ readonly text: string;
493
+ readonly typeId: string;
494
+ static readonly componentId = 'minecraft:sign';
495
+ protected constructor();
496
+ }
497
+ export class BlockSnowContainerComponent extends BlockComponent {
498
+ fillLevel: number;
499
+ readonly location: BlockLocation;
500
+ readonly typeId: string;
501
+ static readonly componentId = 'minecraft:snowContainer';
502
+ protected constructor();
503
+ }
504
+ export class BlockType {
505
+ readonly canBeWaterlogged: boolean;
506
+ readonly id: string;
507
+ createDefaultBlockPermutation(): BlockPermutation;
508
+ protected constructor();
509
+ }
510
+ export class BlockWaterContainerComponent extends BlockComponent {
511
+ customColor: Color;
512
+ fillLevel: number;
513
+ readonly location: BlockLocation;
514
+ readonly typeId: string;
515
+ static readonly componentId = 'minecraft:waterContainer';
516
+ addDye(itemType: ItemType): void;
517
+ protected constructor();
518
+ }
519
+ export class BoolBlockProperty extends IBlockProperty {
520
+ readonly name: string;
521
+ readonly validValues: boolean[];
522
+ value: boolean;
523
+ protected constructor();
524
+ }
525
+ export class ButtonPushEvent extends BlockEvent {
526
+ readonly block: Block;
527
+ readonly dimension: Dimension;
528
+ readonly source: Entity;
529
+ protected constructor();
530
+ }
531
+ export class ButtonPushEventSignal {
532
+ subscribe(callback: (arg: ButtonPushEvent) => void): (arg: ButtonPushEvent) => void;
533
+ unsubscribe(callback: (arg: ButtonPushEvent) => void): void;
534
+ protected constructor();
535
+ }
536
+ export class ChatEvent {
537
+ message: string;
538
+ sender: Player;
539
+ sendToTargets: boolean;
540
+ targets: Player[];
541
+ protected constructor();
542
+ }
543
+ export class ChatEventSignal {
544
+ subscribe(callback: (arg: ChatEvent) => void): (arg: ChatEvent) => void;
545
+ unsubscribe(callback: (arg: ChatEvent) => void): void;
546
+ protected constructor();
547
+ }
548
+ export class Color {
549
+ alpha: number;
550
+ blue: number;
551
+ green: number;
552
+ red: number;
553
+ constructor(red: number, green: number, blue: number, alpha: number);
554
+ }
555
+ export class CommandResult {
556
+ readonly successCount: number;
557
+ protected constructor();
558
+ }
559
+ export class Container {
560
+ readonly emptySlotsCount: number;
561
+ readonly size: number;
562
+ addItem(itemStack: ItemStack): void;
563
+ getItem(slot: number): ItemStack;
564
+ setItem(slot: number, itemStack: ItemStack): void;
565
+ swapItems(slot: number, otherSlot: number, otherContainer: Container): boolean;
566
+ transferItem(fromSlot: number, toSlot: number, toContainer: Container): boolean;
567
+ protected constructor();
568
+ }
569
+ export class DataDrivenEntityTriggerEvent {
570
+ readonly entity: Entity;
571
+ readonly id: string;
572
+ readonly modifiers: DefinitionModifier[];
573
+ protected constructor();
574
+ }
575
+ export class DataDrivenEntityTriggerEventSignal {
576
+ subscribe(
577
+ callback: (arg: DataDrivenEntityTriggerEvent) => void,
578
+ options?: EntityDataDrivenTriggerEventOptions,
579
+ ): (arg: DataDrivenEntityTriggerEvent) => void;
580
+ unsubscribe(callback: (arg: DataDrivenEntityTriggerEvent) => void): void;
581
+ protected constructor();
582
+ }
583
+ export class DefinitionModifier {
584
+ readonly componentGroupsToAdd: string[];
585
+ readonly componentGroupsToRemove: string[];
586
+ triggers: Trigger[];
587
+ }
588
+ export class Dimension {
589
+ readonly id: string;
590
+ createExplosion(location: Location, radius: number, explosionOptions?: ExplosionOptions): void;
591
+ getBlock(location: BlockLocation): Block;
592
+ getBlockFromRay(location: Location, direction: Vector, options?: BlockRaycastOptions): Block;
593
+ getEntities(getEntities?: EntityQueryOptions): EntityIterator;
594
+ getEntitiesAtBlockLocation(location: BlockLocation): Entity[];
595
+ getEntitiesFromRay(location: Location, direction: Vector, options?: EntityRaycastOptions): Entity[];
596
+ getPlayers(getPlayers?: EntityQueryOptions): PlayerIterator;
597
+ runCommand(commandString: string): any;
598
+ runCommandAsync(commandString: string): Promise<CommandResult>;
599
+ spawnEntity(identifier: string, location: BlockLocation | Location): Entity;
600
+ spawnItem(item: ItemStack, location: BlockLocation | Location): Entity;
601
+ spawnParticle(effectName: string, location: Location, molangVariables: MolangVariableMap): void;
602
+ protected constructor();
603
+ }
604
+ export class DirectionBlockProperty extends IBlockProperty {
605
+ readonly name: string;
606
+ readonly validValues: Direction[];
607
+ value: Direction;
608
+ protected constructor();
609
+ }
610
+ export class DynamicPropertiesDefinition {
611
+ defineBoolean(identifier: string): void;
612
+ defineNumber(identifier: string): void;
613
+ defineString(identifier: string, maxLength: number): void;
614
+ }
615
+ export class Effect {
616
+ readonly amplifier: number;
617
+ readonly displayName: string;
618
+ readonly duration: number;
619
+ protected constructor();
620
+ }
621
+ export class EffectAddEvent {
622
+ effect: Effect;
623
+ effectState: number;
624
+ entity: Entity;
625
+ protected constructor();
626
+ }
627
+ export class EffectAddEventSignal {
628
+ subscribe(callback: (arg: EffectAddEvent) => void, options?: EntityEventOptions): (arg: EffectAddEvent) => void;
629
+ unsubscribe(callback: (arg: EffectAddEvent) => void): void;
630
+ protected constructor();
631
+ }
632
+ export class EffectType {
633
+ getName(): string;
634
+ protected constructor();
635
+ }
636
+ export class Enchantment {
637
+ level: number;
638
+ readonly 'type': EnchantmentType;
639
+ constructor(enchantmentType: EnchantmentType, level?: number);
640
+ }
641
+ export class EnchantmentList implements Iterable<Enchantment> {
642
+ readonly slot: number;
643
+ [Symbol.iterator](): Iterator<Enchantment>;
644
+ addEnchantment(enchantment: Enchantment): boolean;
645
+ canAddEnchantment(enchantment: Enchantment): boolean;
646
+ constructor(enchantmentSlot: number);
647
+ getEnchantment(enchantmentType: EnchantmentType): Enchantment;
648
+ hasEnchantment(enchantmentType: EnchantmentType): number;
649
+ next(): IteratorResult<Enchantment>;
650
+ removeEnchantment(enchantmentType: EnchantmentType): void;
651
+ }
652
+ // tslint:disable-next-line:no-unnecessary-class
653
+ export class EnchantmentSlot {
654
+ static readonly all = -1;
655
+ static readonly armorFeet = 4;
656
+ static readonly armorHead = 1;
657
+ static readonly armorLegs = 8;
658
+ static readonly armorTorso = 2;
659
+ static readonly axe = 512;
660
+ static readonly bow = 32;
661
+ static readonly carrotStick = 8192;
662
+ static readonly cosmeticHead = 262144;
663
+ static readonly crossbow = 65536;
664
+ static readonly elytra = 16384;
665
+ static readonly fishingRod = 4096;
666
+ static readonly flintsteel = 256;
667
+ static readonly gArmor = 15;
668
+ static readonly gDigging = 3648;
669
+ static readonly gTool = 131520;
670
+ static readonly hoe = 64;
671
+ static readonly none = 0;
672
+ static readonly pickaxe = 1024;
673
+ static readonly shears = 128;
674
+ static readonly shield = 131072;
675
+ static readonly shovel = 2048;
676
+ static readonly spear = 32768;
677
+ static readonly sword = 16;
678
+ protected constructor();
679
+ }
680
+ export class EnchantmentType {
681
+ readonly id: string;
682
+ readonly maxLevel: number;
683
+ protected constructor();
684
+ }
685
+ export class Entity {
686
+ readonly dimension: Dimension;
687
+ readonly headLocation: Location;
688
+ readonly id: string;
689
+ isSneaking: boolean;
690
+ readonly location: Location;
691
+ nameTag: string;
692
+ readonly rotation: XYRotation;
693
+ readonly scoreboard: ScoreboardIdentity;
694
+ readonly target: Entity;
695
+ readonly typeId: string;
696
+ readonly velocity: Vector;
697
+ readonly viewVector: Vector;
698
+ addEffect(effectType: EffectType, duration: number, amplifier?: number, showParticles?: boolean): void;
699
+ addTag(tag: string): boolean;
700
+ getBlockFromViewVector(options?: BlockRaycastOptions): Block;
701
+ getComponent(componentId: string): IEntityComponent;
702
+ getComponents(): IEntityComponent[];
703
+ getDynamicProperty(identifier: string): boolean | number | string;
704
+ getEffect(effectType: EffectType): Effect;
705
+ getEntitiesFromViewVector(options?: EntityRaycastOptions): Entity[];
706
+ getTags(): string[];
707
+ hasComponent(componentId: string): boolean;
708
+ hasTag(tag: string): boolean;
709
+ kill(): void;
710
+ removeDynamicProperty(identifier: string): boolean;
711
+ removeTag(tag: string): boolean;
712
+ runCommand(commandString: string): any;
713
+ runCommandAsync(commandString: string): Promise<CommandResult>;
714
+ setDynamicProperty(identifier: string, value: boolean | number | string): void;
715
+ setRotation(degreesX: number, degreesY: number): void;
716
+ setVelocity(velocity: IVec3): void;
717
+ teleport(location: IVec3, dimension: Dimension, xRotation: number, yRotation: number, keepVelocity?: boolean): void;
718
+ teleportFacing(location: IVec3, dimension: Dimension, facingLocation: IVec3, keepVelocity?: boolean): void;
719
+ triggerEvent(eventName: string): void;
720
+ protected constructor();
721
+ }
722
+ export class EntityAddRiderComponent extends IEntityComponent {
723
+ readonly entityType: string;
724
+ readonly spawnEvent: string;
725
+ readonly typeId: string;
726
+ static readonly componentId = 'minecraft:addrider';
727
+ protected constructor();
728
+ }
729
+ export class EntityAgeableComponent extends IEntityComponent {
730
+ readonly dropItems: string[];
731
+ readonly duration: number;
732
+ readonly feedItems: EntityDefinitionFeedItem[];
733
+ readonly growUp: Trigger;
734
+ readonly typeId: string;
735
+ static readonly componentId = 'minecraft:ageable';
736
+ protected constructor();
737
+ }
738
+ export class EntityBreathableComponent extends IEntityComponent {
739
+ readonly breatheBlocks: BlockPermutation[];
740
+ readonly breathesAir: boolean;
741
+ readonly breathesLava: boolean;
742
+ readonly breathesSolids: boolean;
743
+ readonly breathesWater: boolean;
744
+ readonly generatesBubbles: boolean;
745
+ readonly inhaleTime: number;
746
+ readonly nonBreatheBlocks: BlockPermutation[];
747
+ readonly suffocateTime: number;
748
+ readonly totalSupply: number;
749
+ readonly typeId: string;
750
+ static readonly componentId = 'minecraft:breathable';
751
+ setAirSupply(value: number): void;
752
+ protected constructor();
753
+ }
754
+ export class EntityCanClimbComponent extends IEntityComponent {
755
+ readonly typeId: string;
756
+ static readonly componentId = 'minecraft:can_climb';
757
+ protected constructor();
758
+ }
759
+ export class EntityCanFlyComponent extends IEntityComponent {
760
+ readonly typeId: string;
761
+ static readonly componentId = 'minecraft:can_fly';
762
+ protected constructor();
763
+ }
764
+ export class EntityCanPowerJumpComponent extends IEntityComponent {
765
+ readonly typeId: string;
766
+ static readonly componentId = 'minecraft:can_power_jump';
767
+ protected constructor();
768
+ }
769
+ export class EntityColorComponent extends IEntityComponent {
770
+ readonly typeId: string;
771
+ value: number;
772
+ static readonly componentId = 'minecraft:color';
773
+ protected constructor();
774
+ }
775
+ export class EntityCreateEvent {
776
+ entity: Entity;
777
+ protected constructor();
778
+ }
779
+ export class EntityCreateEventSignal {
780
+ subscribe(callback: (arg: EntityCreateEvent) => void): (arg: EntityCreateEvent) => void;
781
+ unsubscribe(callback: (arg: EntityCreateEvent) => void): void;
782
+ protected constructor();
783
+ }
784
+ export class EntityDataDrivenTriggerEventOptions {
785
+ entities: Entity[];
786
+ entityTypes: string[];
787
+ eventTypes: string[];
788
+ }
789
+ export class EntityDefinitionFeedItem {
790
+ readonly growth: number;
791
+ readonly item: string;
792
+ protected constructor();
793
+ }
794
+ export class EntityEventOptions {
795
+ entities: Entity[];
796
+ entityTypes: string[];
797
+ }
798
+ export class EntityFireImmuneComponent extends IEntityComponent {
799
+ readonly typeId: string;
800
+ static readonly componentId = 'minecraft:fire_immune';
801
+ protected constructor();
802
+ }
803
+ export class EntityFloatsInLiquidComponent extends IEntityComponent {
804
+ readonly typeId: string;
805
+ static readonly componentId = 'minecraft:floats_in_liquid';
806
+ protected constructor();
807
+ }
808
+ export class EntityFlyingSpeedComponent extends IEntityComponent {
809
+ readonly typeId: string;
810
+ value: number;
811
+ static readonly componentId = 'minecraft:flying_speed';
812
+ protected constructor();
813
+ }
814
+ export class EntityFrictionModifierComponent extends IEntityComponent {
815
+ readonly typeId: string;
816
+ value: number;
817
+ static readonly componentId = 'minecraft:friction_modifier';
818
+ protected constructor();
819
+ }
820
+ export class EntityGroundOffsetComponent extends IEntityComponent {
821
+ readonly typeId: string;
822
+ value: number;
823
+ static readonly componentId = 'minecraft:ground_offset';
824
+ protected constructor();
825
+ }
826
+ export class EntityHealableComponent extends IEntityComponent {
827
+ readonly filters: FilterGroup;
828
+ readonly forceUse: boolean;
829
+ readonly items: FeedItem[];
830
+ readonly typeId: string;
831
+ static readonly componentId = 'minecraft:healable';
832
+ protected constructor();
833
+ }
834
+ export class EntityHealthComponent extends IEntityComponent {
835
+ readonly current: number;
836
+ readonly typeId: string;
837
+ readonly value: number;
838
+ static readonly componentId = 'minecraft:health';
839
+ resetToDefaultValue(): void;
840
+ resetToMaxValue(): void;
841
+ resetToMinValue(): void;
842
+ setCurrent(value: number): void;
843
+ protected constructor();
844
+ }
845
+ export class EntityHitEvent {
846
+ readonly entity: Entity;
847
+ readonly hitBlock?: Block;
848
+ readonly hitEntity?: Entity;
849
+ protected constructor();
850
+ }
851
+ export class EntityHitEventSignal {
852
+ subscribe(callback: (arg: EntityHitEvent) => void, options?: EntityEventOptions): (arg: EntityHitEvent) => void;
853
+ unsubscribe(callback: (arg: EntityHitEvent) => void): void;
854
+ protected constructor();
855
+ }
856
+ export class EntityHitInformation {
857
+ readonly entity: Entity;
858
+ protected constructor();
859
+ }
860
+ export class EntityHurtEvent {
861
+ readonly cause: EntityDamageCause;
862
+ readonly damage: number;
863
+ readonly damagingEntity: Entity;
864
+ readonly hurtEntity: Entity;
865
+ readonly projectile: Entity;
866
+ protected constructor();
867
+ }
868
+ export class EntityHurtEventSignal {
869
+ subscribe(callback: (arg: EntityHurtEvent) => void, options?: EntityEventOptions): (arg: EntityHurtEvent) => void;
870
+ unsubscribe(callback: (arg: EntityHurtEvent) => void): void;
871
+ protected constructor();
872
+ }
873
+ export class EntityInventoryComponent extends IEntityComponent {
874
+ readonly additionalSlotsPerStrength: number;
875
+ readonly canBeSiphonedFrom: boolean;
876
+ readonly container: InventoryComponentContainer;
877
+ readonly containerType: string;
878
+ readonly inventorySize: number;
879
+ readonly 'private': boolean;
880
+ readonly restrictToOwner: boolean;
881
+ readonly typeId: string;
882
+ static readonly componentId = 'minecraft:inventory';
883
+ protected constructor();
884
+ }
885
+ export class EntityIsBabyComponent extends IEntityComponent {
886
+ readonly typeId: string;
887
+ static readonly componentId = 'minecraft:is_baby';
888
+ protected constructor();
889
+ }
890
+ export class EntityIsChargedComponent extends IEntityComponent {
891
+ readonly typeId: string;
892
+ static readonly componentId = 'minecraft:is_charged';
893
+ protected constructor();
894
+ }
895
+ export class EntityIsChestedComponent extends IEntityComponent {
896
+ readonly typeId: string;
897
+ static readonly componentId = 'minecraft:is_chested';
898
+ protected constructor();
899
+ }
900
+ export class EntityIsDyableComponent extends IEntityComponent {
901
+ readonly typeId: string;
902
+ static readonly componentId = 'minecraft:is_dyeable';
903
+ protected constructor();
904
+ }
905
+ export class EntityIsHiddenWhenInvisibleComponent extends IEntityComponent {
906
+ readonly typeId: string;
907
+ static readonly componentId = 'minecraft:is_hidden_when_invisible';
908
+ protected constructor();
909
+ }
910
+ export class EntityIsIgnitedComponent extends IEntityComponent {
911
+ readonly typeId: string;
912
+ static readonly componentId = 'minecraft:is_ignited';
913
+ protected constructor();
914
+ }
915
+ export class EntityIsIllagerCaptainComponent extends IEntityComponent {
916
+ readonly typeId: string;
917
+ static readonly componentId = 'minecraft:is_illager_captain';
918
+ protected constructor();
919
+ }
920
+ export class EntityIsSaddledComponent extends IEntityComponent {
921
+ readonly typeId: string;
922
+ static readonly componentId = 'minecraft:is_saddled';
923
+ protected constructor();
924
+ }
925
+ export class EntityIsShakingComponent extends IEntityComponent {
926
+ readonly typeId: string;
927
+ static readonly componentId = 'minecraft:is_shaking';
928
+ protected constructor();
929
+ }
930
+ export class EntityIsShearedComponent extends IEntityComponent {
931
+ readonly typeId: string;
932
+ static readonly componentId = 'minecraft:is_sheared';
933
+ protected constructor();
934
+ }
935
+ export class EntityIsStackableComponent extends IEntityComponent {
936
+ readonly typeId: string;
937
+ static readonly componentId = 'minecraft:is_stackable';
938
+ protected constructor();
939
+ }
940
+ export class EntityIsStunnedComponent extends IEntityComponent {
941
+ readonly typeId: string;
942
+ static readonly componentId = 'minecraft:is_stunned';
943
+ protected constructor();
944
+ }
945
+ export class EntityIsTamedComponent extends IEntityComponent {
946
+ readonly typeId: string;
947
+ static readonly componentId = 'minecraft:is_tamed';
948
+ protected constructor();
949
+ }
950
+ export class EntityItemComponent extends IEntityComponent {
951
+ readonly itemStack: ItemStack;
952
+ readonly typeId: string;
953
+ static readonly componentId = 'minecraft:item';
954
+ protected constructor();
955
+ }
956
+ export class EntityIterator implements Iterable<Entity> {
957
+ [Symbol.iterator](): Iterator<Entity>;
958
+ next(): IteratorResult<Entity>;
959
+ protected constructor();
960
+ }
961
+ export class EntityLavaMovementComponent extends IEntityComponent {
962
+ readonly current: number;
963
+ readonly typeId: string;
964
+ readonly value: number;
965
+ static readonly componentId = 'minecraft:lava_movement';
966
+ resetToDefaultValue(): void;
967
+ resetToMaxValue(): void;
968
+ resetToMinValue(): void;
969
+ setCurrent(value: number): void;
970
+ protected constructor();
971
+ }
972
+ export class EntityLeashableComponent extends IEntityComponent {
973
+ readonly softDistance: number;
974
+ readonly typeId: string;
975
+ static readonly componentId = 'minecraft:leashable';
976
+ leash(leashHolder: Entity): void;
977
+ unleash(): void;
978
+ protected constructor();
979
+ }
980
+ export class EntityMarkVariantComponent extends IEntityComponent {
981
+ readonly typeId: string;
982
+ value: number;
983
+ static readonly componentId = 'minecraft:mark_variant';
984
+ protected constructor();
985
+ }
986
+ export class EntityMountTamingComponent extends IEntityComponent {
987
+ readonly typeId: string;
988
+ static readonly componentId = 'minecraft:tamemount';
989
+ setTamed(showParticles: boolean): void;
990
+ protected constructor();
991
+ }
992
+ export class EntityMovementAmphibiousComponent extends IEntityComponent {
993
+ readonly maxTurn: number;
994
+ readonly typeId: string;
995
+ static readonly componentId = 'minecraft:movement.amphibious';
996
+ protected constructor();
997
+ }
998
+ export class EntityMovementBasicComponent extends IEntityComponent {
999
+ readonly maxTurn: number;
1000
+ readonly typeId: string;
1001
+ static readonly componentId = 'minecraft:movement.basic';
1002
+ protected constructor();
1003
+ }
1004
+ export class EntityMovementComponent extends IEntityComponent {
1005
+ readonly current: number;
1006
+ readonly typeId: string;
1007
+ readonly value: number;
1008
+ static readonly componentId = 'minecraft:movement';
1009
+ resetToDefaultValue(): void;
1010
+ resetToMaxValue(): void;
1011
+ resetToMinValue(): void;
1012
+ setCurrent(value: number): void;
1013
+ protected constructor();
1014
+ }
1015
+ export class EntityMovementFlyComponent extends IEntityComponent {
1016
+ readonly maxTurn: number;
1017
+ readonly typeId: string;
1018
+ static readonly componentId = 'minecraft:movement.fly';
1019
+ protected constructor();
1020
+ }
1021
+ export class EntityMovementGenericComponent extends IEntityComponent {
1022
+ readonly maxTurn: number;
1023
+ readonly typeId: string;
1024
+ static readonly componentId = 'minecraft:movement.generic';
1025
+ protected constructor();
1026
+ }
1027
+ export class EntityMovementGlideComponent extends IEntityComponent {
1028
+ readonly maxTurn: number;
1029
+ readonly speedWhenTurning: number;
1030
+ readonly startSpeed: number;
1031
+ readonly typeId: string;
1032
+ static readonly componentId = 'minecraft:movement.glide';
1033
+ protected constructor();
1034
+ }
1035
+ export class EntityMovementHoverComponent extends IEntityComponent {
1036
+ readonly maxTurn: number;
1037
+ readonly typeId: string;
1038
+ static readonly componentId = 'minecraft:movement.hover';
1039
+ protected constructor();
1040
+ }
1041
+ export class EntityMovementJumpComponent extends IEntityComponent {
1042
+ readonly maxTurn: number;
1043
+ readonly typeId: string;
1044
+ static readonly componentId = 'minecraft:movement.jump';
1045
+ protected constructor();
1046
+ }
1047
+ export class EntityMovementSkipComponent extends IEntityComponent {
1048
+ readonly maxTurn: number;
1049
+ readonly typeId: string;
1050
+ static readonly componentId = 'minecraft:movement.skip';
1051
+ protected constructor();
1052
+ }
1053
+ export class EntityMovementSwayComponent extends IEntityComponent {
1054
+ readonly maxTurn: number;
1055
+ readonly swayAmplitude: number;
1056
+ readonly swayFrequency: number;
1057
+ readonly typeId: string;
1058
+ static readonly componentId = 'minecraft:movement.sway';
1059
+ protected constructor();
1060
+ }
1061
+ export class EntityNavigationClimbComponent extends IEntityComponent {
1062
+ readonly avoidDamageBlocks: boolean;
1063
+ readonly avoidPortals: boolean;
1064
+ readonly avoidSun: boolean;
1065
+ readonly avoidWater: boolean;
1066
+ readonly canBreach: boolean;
1067
+ readonly canBreakDoors: boolean;
1068
+ readonly canFloat: boolean;
1069
+ readonly canJump: boolean;
1070
+ readonly canOpenDoors: boolean;
1071
+ readonly canOpenIronDoors: boolean;
1072
+ readonly canPassDoors: boolean;
1073
+ readonly canPathFromAir: boolean;
1074
+ readonly canPathOverLava: boolean;
1075
+ readonly canPathOverWater: boolean;
1076
+ readonly canSink: boolean;
1077
+ readonly canSwim: boolean;
1078
+ readonly canWalk: boolean;
1079
+ readonly canWalkInLava: boolean;
1080
+ readonly isAmphibious: boolean;
1081
+ readonly typeId: string;
1082
+ static readonly componentId = 'minecraft:navigation.climb';
1083
+ protected constructor();
1084
+ }
1085
+ export class EntityNavigationFloatComponent extends IEntityComponent {
1086
+ readonly avoidDamageBlocks: boolean;
1087
+ readonly avoidPortals: boolean;
1088
+ readonly avoidSun: boolean;
1089
+ readonly avoidWater: boolean;
1090
+ readonly canBreach: boolean;
1091
+ readonly canBreakDoors: boolean;
1092
+ readonly canFloat: boolean;
1093
+ readonly canJump: boolean;
1094
+ readonly canOpenDoors: boolean;
1095
+ readonly canOpenIronDoors: boolean;
1096
+ readonly canPassDoors: boolean;
1097
+ readonly canPathFromAir: boolean;
1098
+ readonly canPathOverLava: boolean;
1099
+ readonly canPathOverWater: boolean;
1100
+ readonly canSink: boolean;
1101
+ readonly canSwim: boolean;
1102
+ readonly canWalk: boolean;
1103
+ readonly canWalkInLava: boolean;
1104
+ readonly isAmphibious: boolean;
1105
+ readonly typeId: string;
1106
+ static readonly componentId = 'minecraft:navigation.float';
1107
+ protected constructor();
1108
+ }
1109
+ export class EntityNavigationFlyComponent extends IEntityComponent {
1110
+ readonly avoidDamageBlocks: boolean;
1111
+ readonly avoidPortals: boolean;
1112
+ readonly avoidSun: boolean;
1113
+ readonly avoidWater: boolean;
1114
+ readonly canBreach: boolean;
1115
+ readonly canBreakDoors: boolean;
1116
+ readonly canFloat: boolean;
1117
+ readonly canJump: boolean;
1118
+ readonly canOpenDoors: boolean;
1119
+ readonly canOpenIronDoors: boolean;
1120
+ readonly canPassDoors: boolean;
1121
+ readonly canPathFromAir: boolean;
1122
+ readonly canPathOverLava: boolean;
1123
+ readonly canPathOverWater: boolean;
1124
+ readonly canSink: boolean;
1125
+ readonly canSwim: boolean;
1126
+ readonly canWalk: boolean;
1127
+ readonly canWalkInLava: boolean;
1128
+ readonly isAmphibious: boolean;
1129
+ readonly typeId: string;
1130
+ static readonly componentId = 'minecraft:navigation.fly';
1131
+ protected constructor();
1132
+ }
1133
+ export class EntityNavigationGenericComponent extends IEntityComponent {
1134
+ readonly avoidDamageBlocks: boolean;
1135
+ readonly avoidPortals: boolean;
1136
+ readonly avoidSun: boolean;
1137
+ readonly avoidWater: boolean;
1138
+ readonly canBreach: boolean;
1139
+ readonly canBreakDoors: boolean;
1140
+ readonly canFloat: boolean;
1141
+ readonly canJump: boolean;
1142
+ readonly canOpenDoors: boolean;
1143
+ readonly canOpenIronDoors: boolean;
1144
+ readonly canPassDoors: boolean;
1145
+ readonly canPathFromAir: boolean;
1146
+ readonly canPathOverLava: boolean;
1147
+ readonly canPathOverWater: boolean;
1148
+ readonly canSink: boolean;
1149
+ readonly canSwim: boolean;
1150
+ readonly canWalk: boolean;
1151
+ readonly canWalkInLava: boolean;
1152
+ readonly isAmphibious: boolean;
1153
+ readonly typeId: string;
1154
+ static readonly componentId = 'minecraft:navigation.generic';
1155
+ protected constructor();
1156
+ }
1157
+ export class EntityNavigationHoverComponent extends IEntityComponent {
1158
+ readonly avoidDamageBlocks: boolean;
1159
+ readonly avoidPortals: boolean;
1160
+ readonly avoidSun: boolean;
1161
+ readonly avoidWater: boolean;
1162
+ readonly canBreach: boolean;
1163
+ readonly canBreakDoors: boolean;
1164
+ readonly canFloat: boolean;
1165
+ readonly canJump: boolean;
1166
+ readonly canOpenDoors: boolean;
1167
+ readonly canOpenIronDoors: boolean;
1168
+ readonly canPassDoors: boolean;
1169
+ readonly canPathFromAir: boolean;
1170
+ readonly canPathOverLava: boolean;
1171
+ readonly canPathOverWater: boolean;
1172
+ readonly canSink: boolean;
1173
+ readonly canSwim: boolean;
1174
+ readonly canWalk: boolean;
1175
+ readonly canWalkInLava: boolean;
1176
+ readonly isAmphibious: boolean;
1177
+ readonly typeId: string;
1178
+ static readonly componentId = 'minecraft:navigation.hover';
1179
+ protected constructor();
1180
+ }
1181
+ export class EntityNavigationWalkComponent extends IEntityComponent {
1182
+ readonly avoidDamageBlocks: boolean;
1183
+ readonly avoidPortals: boolean;
1184
+ readonly avoidSun: boolean;
1185
+ readonly avoidWater: boolean;
1186
+ readonly canBreach: boolean;
1187
+ readonly canBreakDoors: boolean;
1188
+ readonly canFloat: boolean;
1189
+ readonly canJump: boolean;
1190
+ readonly canOpenDoors: boolean;
1191
+ readonly canOpenIronDoors: boolean;
1192
+ readonly canPassDoors: boolean;
1193
+ readonly canPathFromAir: boolean;
1194
+ readonly canPathOverLava: boolean;
1195
+ readonly canPathOverWater: boolean;
1196
+ readonly canSink: boolean;
1197
+ readonly canSwim: boolean;
1198
+ readonly canWalk: boolean;
1199
+ readonly canWalkInLava: boolean;
1200
+ readonly isAmphibious: boolean;
1201
+ readonly typeId: string;
1202
+ static readonly componentId = 'minecraft:navigation.walk';
1203
+ protected constructor();
1204
+ }
1205
+ export class EntityPushThroughComponent extends IEntityComponent {
1206
+ readonly typeId: string;
1207
+ value: number;
1208
+ static readonly componentId = 'minecraft:push_through';
1209
+ protected constructor();
1210
+ }
1211
+ export class EntityRideableComponent extends IEntityComponent {
1212
+ readonly controllingSeat: number;
1213
+ readonly crouchingSkipInteract: boolean;
1214
+ readonly familyTypes: string[];
1215
+ readonly interactText: string;
1216
+ readonly pullInEntities: boolean;
1217
+ readonly riderCanInteract: boolean;
1218
+ readonly seatCount: number;
1219
+ readonly seats: Seat[];
1220
+ readonly typeId: string;
1221
+ static readonly componentId = 'minecraft:rideable';
1222
+ addRider(rider: Entity): boolean;
1223
+ ejectRider(rider: Entity): void;
1224
+ ejectRiders(): void;
1225
+ protected constructor();
1226
+ }
1227
+ export class EntityScaleComponent extends IEntityComponent {
1228
+ readonly typeId: string;
1229
+ value: number;
1230
+ static readonly componentId = 'minecraft:scale';
1231
+ protected constructor();
1232
+ }
1233
+ export class EntitySkinIdComponent extends IEntityComponent {
1234
+ readonly typeId: string;
1235
+ value: number;
1236
+ static readonly componentId = 'minecraft:skin_id';
1237
+ protected constructor();
1238
+ }
1239
+ export class EntityStrengthComponent extends IEntityComponent {
1240
+ readonly max: number;
1241
+ readonly typeId: string;
1242
+ readonly value: number;
1243
+ static readonly componentId = 'minecraft:strength';
1244
+ protected constructor();
1245
+ }
1246
+ export class EntityTameableComponent extends IEntityComponent {
1247
+ readonly probability: number;
1248
+ readonly tameEvent: Trigger;
1249
+ readonly tameItems: string[];
1250
+ readonly typeId: string;
1251
+ static readonly componentId = 'minecraft:tameable';
1252
+ tame(): boolean;
1253
+ protected constructor();
1254
+ }
1255
+ export class EntityType {
1256
+ readonly id: string;
1257
+ protected constructor();
1258
+ }
1259
+ export class EntityTypeIterator implements Iterable<EntityType> {
1260
+ [Symbol.iterator](): Iterator<EntityType>;
1261
+ next(): IteratorResult<EntityType>;
1262
+ protected constructor();
1263
+ }
1264
+ // tslint:disable-next-line:no-unnecessary-class
1265
+ export class EntityTypes {
1266
+ static get(identifier: string): EntityType;
1267
+ static getAll(): EntityTypeIterator;
1268
+ protected constructor();
1269
+ }
1270
+ export class EntityUnderwaterMovementComponent extends IEntityComponent {
1271
+ readonly current: number;
1272
+ readonly typeId: string;
1273
+ readonly value: number;
1274
+ static readonly componentId = 'minecraft:underwater_movement';
1275
+ resetToDefaultValue(): void;
1276
+ resetToMaxValue(): void;
1277
+ resetToMinValue(): void;
1278
+ setCurrent(value: number): void;
1279
+ protected constructor();
1280
+ }
1281
+ export class EntityVariantComponent extends IEntityComponent {
1282
+ readonly typeId: string;
1283
+ readonly value: number;
1284
+ static readonly componentId = 'minecraft:variant';
1285
+ protected constructor();
1286
+ }
1287
+ export class EntityWantsJockeyComponent extends IEntityComponent {
1288
+ readonly typeId: string;
1289
+ static readonly componentId = 'minecraft:wants_jockey';
1290
+ protected constructor();
1291
+ }
1292
+ export class Events {
1293
+ readonly beforeChat: BeforeChatEventSignal;
1294
+ readonly beforeDataDrivenEntityTriggerEvent: BeforeDataDrivenEntityTriggerEventSignal;
1295
+ readonly beforeExplosion: BeforeExplosionEventSignal;
1296
+ readonly beforeItemDefinitionEvent: BeforeItemDefinitionEventSignal;
1297
+ readonly beforeItemUse: BeforeItemUseEventSignal;
1298
+ readonly beforeItemUseOn: BeforeItemUseOnEventSignal;
1299
+ readonly beforePistonActivate: BeforePistonActivateEventSignal;
1300
+ readonly blockBreak: BlockBreakEventSignal;
1301
+ readonly blockExplode: BlockExplodeEventSignal;
1302
+ readonly blockPlace: BlockPlaceEventSignal;
1303
+ readonly buttonPush: ButtonPushEventSignal;
1304
+ readonly chat: ChatEventSignal;
1305
+ readonly dataDrivenEntityTriggerEvent: DataDrivenEntityTriggerEventSignal;
1306
+ readonly effectAdd: EffectAddEventSignal;
1307
+ readonly entityCreate: EntityCreateEventSignal;
1308
+ readonly entityHit: EntityHitEventSignal;
1309
+ readonly entityHurt: EntityHurtEventSignal;
1310
+ readonly explosion: ExplosionEventSignal;
1311
+ readonly itemCompleteCharge: ItemCompleteChargeEventSignal;
1312
+ readonly itemDefinitionEvent: ItemDefinitionEventSignal;
1313
+ readonly itemReleaseCharge: ItemReleaseChargeEventSignal;
1314
+ readonly itemStartCharge: ItemStartChargeEventSignal;
1315
+ readonly itemStartUseOn: ItemStartUseOnEventSignal;
1316
+ readonly itemStopCharge: ItemStopChargeEventSignal;
1317
+ readonly itemStopUseOn: ItemStopUseOnEventSignal;
1318
+ readonly itemUse: ItemUseEventSignal;
1319
+ readonly itemUseOn: ItemUseOnEventSignal;
1320
+ readonly leverActivate: LeverActionEventSignal;
1321
+ readonly messageReceive: ServerMessageSignal;
1322
+ readonly pistonActivate: PistonActivateEventSignal;
1323
+ readonly playerJoin: PlayerJoinEventSignal;
1324
+ readonly playerLeave: PlayerLeaveEventSignal;
1325
+ projectileHit: ProjectileHitEventSignal;
1326
+ readonly tick: TickEventSignal;
1327
+ readonly weatherChange: WeatherChangeEventSignal;
1328
+ readonly worldInitialize: WorldInitializeEventSignal;
1329
+ protected constructor();
1330
+ }
1331
+ export class ExplosionEvent {
1332
+ readonly dimension: Dimension;
1333
+ readonly impactedBlocks: BlockLocation[];
1334
+ readonly source: Entity;
1335
+ protected constructor();
1336
+ }
1337
+ export class ExplosionEventSignal {
1338
+ subscribe(callback: (arg: ExplosionEvent) => void): (arg: ExplosionEvent) => void;
1339
+ unsubscribe(callback: (arg: ExplosionEvent) => void): void;
1340
+ protected constructor();
1341
+ }
1342
+ export class FeedItem {
1343
+ readonly effects: FeedItemEffect[];
1344
+ readonly healAmount: number;
1345
+ readonly item: string;
1346
+ protected constructor();
1347
+ }
1348
+ export class FeedItemEffect {
1349
+ readonly amplifier: number;
1350
+ readonly chance: number;
1351
+ readonly duration: number;
1352
+ readonly name: string;
1353
+ protected constructor();
1354
+ }
1355
+ // tslint:disable-next-line:no-unnecessary-class
1356
+ export class FilterGroup {
1357
+ protected constructor();
1358
+ }
1359
+ // tslint:disable-next-line:no-unnecessary-class
1360
+ export class FluidContainer {
1361
+ static readonly maxFillLevel = 6;
1362
+ static readonly minFillLevel = 0;
1363
+ protected constructor();
1364
+ }
1365
+ export class IBlockProperty {
1366
+ readonly name: string;
1367
+ protected constructor();
1368
+ }
1369
+ export class IEntityComponent {
1370
+ readonly typeId: string;
1371
+ protected constructor();
1372
+ }
1373
+ export class IntBlockProperty extends IBlockProperty {
1374
+ readonly name: string;
1375
+ readonly validValues: number[];
1376
+ value: number;
1377
+ protected constructor();
1378
+ }
1379
+ export class InventoryComponentContainer extends Container {
1380
+ readonly emptySlotsCount: number;
1381
+ readonly size: number;
1382
+ addItem(itemStack: ItemStack): void;
1383
+ getItem(slot: number): ItemStack;
1384
+ setItem(slot: number, itemStack: ItemStack): void;
1385
+ swapItems(slot: number, otherSlot: number, otherContainer: Container): boolean;
1386
+ transferItem(fromSlot: number, toSlot: number, toContainer: Container): boolean;
1387
+ protected constructor();
1388
+ }
1389
+ export class ItemCompleteChargeEvent {
1390
+ readonly itemStack: ItemStack;
1391
+ readonly source: Entity;
1392
+ readonly useDuration: number;
1393
+ protected constructor();
1394
+ }
1395
+ export class ItemCompleteChargeEventSignal {
1396
+ subscribe(callback: (arg: ItemCompleteChargeEvent) => void): (arg: ItemCompleteChargeEvent) => void;
1397
+ unsubscribe(callback: (arg: ItemCompleteChargeEvent) => void): void;
1398
+ protected constructor();
1399
+ }
1400
+ export class ItemCooldownComponent {
1401
+ readonly cooldownCategory: string;
1402
+ readonly cooldownTicks: number;
1403
+ static readonly componentId = 'minecraft:cooldown';
1404
+ startCooldown(player: Player): void;
1405
+ protected constructor();
1406
+ }
1407
+ export class ItemDefinitionEventSignal {
1408
+ subscribe(callback: (arg: ItemDefinitionTriggeredEvent) => void): (arg: ItemDefinitionTriggeredEvent) => void;
1409
+ unsubscribe(callback: (arg: ItemDefinitionTriggeredEvent) => void): void;
1410
+ protected constructor();
1411
+ }
1412
+ export class ItemDefinitionTriggeredEvent {
1413
+ readonly eventName: string;
1414
+ item: ItemStack;
1415
+ readonly source: Entity;
1416
+ protected constructor();
1417
+ }
1418
+ export class ItemDurabilityComponent {
1419
+ damage: number;
1420
+ readonly damageRange: NumberRange;
1421
+ readonly maxDurability: number;
1422
+ static readonly componentId = 'minecraft:durability';
1423
+ getDamageChance(unbreaking?: number): number;
1424
+ protected constructor();
1425
+ }
1426
+ export class ItemEnchantsComponent {
1427
+ enchantments: EnchantmentList;
1428
+ static readonly componentId = 'minecraft:enchantments';
1429
+ removeAllEnchantments(): void;
1430
+ protected constructor();
1431
+ }
1432
+ export class ItemFoodComponent {
1433
+ readonly canAlwaysEat: boolean;
1434
+ readonly nutrition: number;
1435
+ readonly saturationModifier: number;
1436
+ readonly usingConvertsTo: string;
1437
+ static readonly componentId = 'minecraft:food';
1438
+ protected constructor();
1439
+ }
1440
+ export class ItemReleaseChargeEvent {
1441
+ readonly itemStack: ItemStack;
1442
+ readonly source: Entity;
1443
+ readonly useDuration: number;
1444
+ protected constructor();
1445
+ }
1446
+ export class ItemReleaseChargeEventSignal {
1447
+ subscribe(callback: (arg: ItemReleaseChargeEvent) => void): (arg: ItemReleaseChargeEvent) => void;
1448
+ unsubscribe(callback: (arg: ItemReleaseChargeEvent) => void): void;
1449
+ protected constructor();
1450
+ }
1451
+ // tslint:disable-next-line:no-unnecessary-class
1452
+ export class Items {
1453
+ static get(itemId: string): ItemType;
1454
+ protected constructor();
1455
+ }
1456
+ export class ItemStack {
1457
+ amount: number;
1458
+ data: number;
1459
+ nameTag?: string;
1460
+ readonly typeId: string;
1461
+ constructor(itemType: ItemType, amount?: number, data?: number);
1462
+ getComponent(componentId: string): any;
1463
+ getComponents(): any[];
1464
+ getLore(): string[];
1465
+ hasComponent(componentId: string): boolean;
1466
+ setLore(loreList: string[]): void;
1467
+ triggerEvent(eventName: string): void;
1468
+ }
1469
+ export class ItemStartChargeEvent {
1470
+ readonly itemStack: ItemStack;
1471
+ readonly source: Entity;
1472
+ readonly useDuration: number;
1473
+ protected constructor();
1474
+ }
1475
+ export class ItemStartChargeEventSignal {
1476
+ subscribe(callback: (arg: ItemStartChargeEvent) => void): (arg: ItemStartChargeEvent) => void;
1477
+ unsubscribe(callback: (arg: ItemStartChargeEvent) => void): void;
1478
+ protected constructor();
1479
+ }
1480
+ export class ItemStartUseOnEvent {
1481
+ readonly blockFace: Direction;
1482
+ readonly blockLocation: BlockLocation;
1483
+ readonly buildBlockLocation: BlockLocation;
1484
+ item: ItemStack;
1485
+ readonly source: Entity;
1486
+ protected constructor();
1487
+ }
1488
+ export class ItemStartUseOnEventSignal {
1489
+ subscribe(callback: (arg: ItemStartUseOnEvent) => void): (arg: ItemStartUseOnEvent) => void;
1490
+ unsubscribe(callback: (arg: ItemStartUseOnEvent) => void): void;
1491
+ protected constructor();
1492
+ }
1493
+ export class ItemStopChargeEvent {
1494
+ readonly itemStack: ItemStack;
1495
+ readonly source: Entity;
1496
+ readonly useDuration: number;
1497
+ protected constructor();
1498
+ }
1499
+ export class ItemStopChargeEventSignal {
1500
+ subscribe(callback: (arg: ItemStopChargeEvent) => void): (arg: ItemStopChargeEvent) => void;
1501
+ unsubscribe(callback: (arg: ItemStopChargeEvent) => void): void;
1502
+ protected constructor();
1503
+ }
1504
+ export class ItemStopUseOnEvent {
1505
+ readonly blockLocation: BlockLocation;
1506
+ item: ItemStack;
1507
+ readonly source: Entity;
1508
+ protected constructor();
1509
+ }
1510
+ export class ItemStopUseOnEventSignal {
1511
+ subscribe(callback: (arg: ItemStopUseOnEvent) => void): (arg: ItemStopUseOnEvent) => void;
1512
+ unsubscribe(callback: (arg: ItemStopUseOnEvent) => void): void;
1513
+ protected constructor();
1514
+ }
1515
+ export class ItemType {
1516
+ readonly id: string;
1517
+ protected constructor();
1518
+ }
1519
+ export class ItemTypeIterator implements Iterable<ItemType> {
1520
+ [Symbol.iterator](): Iterator<ItemType>;
1521
+ next(): IteratorResult<ItemType>;
1522
+ protected constructor();
1523
+ }
1524
+ // tslint:disable-next-line:no-unnecessary-class
1525
+ export class ItemTypes {
1526
+ static get(itemId: string): ItemType;
1527
+ static getAll(): ItemTypeIterator;
1528
+ protected constructor();
1529
+ }
1530
+ export class ItemUseEvent {
1531
+ item: ItemStack;
1532
+ readonly source: Entity;
1533
+ protected constructor();
1534
+ }
1535
+ export class ItemUseEventSignal {
1536
+ subscribe(callback: (arg: ItemUseEvent) => void): (arg: ItemUseEvent) => void;
1537
+ unsubscribe(callback: (arg: ItemUseEvent) => void): void;
1538
+ protected constructor();
1539
+ }
1540
+ export class ItemUseOnEvent {
1541
+ readonly blockFace: Direction;
1542
+ readonly blockLocation: BlockLocation;
1543
+ readonly faceLocationX: number;
1544
+ readonly faceLocationY: number;
1545
+ item: ItemStack;
1546
+ readonly source: Entity;
1547
+ protected constructor();
1548
+ }
1549
+ export class ItemUseOnEventSignal {
1550
+ subscribe(callback: (arg: ItemUseOnEvent) => void): (arg: ItemUseOnEvent) => void;
1551
+ unsubscribe(callback: (arg: ItemUseOnEvent) => void): void;
1552
+ protected constructor();
1553
+ }
1554
+ export class LeverActionEvent extends BlockEvent {
1555
+ readonly block: Block;
1556
+ readonly dimension: Dimension;
1557
+ readonly isPowered: boolean;
1558
+ readonly player: Player;
1559
+ protected constructor();
1560
+ }
1561
+ export class LeverActionEventSignal {
1562
+ subscribe(callback: (arg: LeverActionEvent) => void): (arg: LeverActionEvent) => void;
1563
+ unsubscribe(callback: (arg: LeverActionEvent) => void): void;
1564
+ protected constructor();
1565
+ }
1566
+ export class Location {
1567
+ x: number;
1568
+ y: number;
1569
+ z: number;
1570
+ constructor(x: number, y: number, z: number);
1571
+ equals(other: Location): boolean;
1572
+ isNear(other: Location, epsilon: number): boolean;
1573
+ }
1574
+ export class MessageReceiveEvent {
1575
+ readonly id: string;
1576
+ readonly message: string;
1577
+ readonly sourceType: MessageSourceType;
1578
+ protected constructor();
1579
+ }
1580
+ // tslint:disable-next-line:no-unnecessary-class
1581
+ export class MinecraftBlockTypes {
1582
+ static readonly acaciaButton: BlockType;
1583
+ static readonly acaciaDoor: BlockType;
1584
+ static readonly acaciaFenceGate: BlockType;
1585
+ static readonly acaciaPressurePlate: BlockType;
1586
+ static readonly acaciaStairs: BlockType;
1587
+ static readonly acaciaStandingSign: BlockType;
1588
+ static readonly acaciaTrapdoor: BlockType;
1589
+ static readonly acaciaWallSign: BlockType;
1590
+ static readonly activatorRail: BlockType;
1591
+ static readonly air: BlockType;
1592
+ static readonly allow: BlockType;
1593
+ static readonly amethystBlock: BlockType;
1594
+ static readonly amethystCluster: BlockType;
1595
+ static readonly ancientDebris: BlockType;
1596
+ static readonly andesiteStairs: BlockType;
1597
+ static readonly anvil: BlockType;
1598
+ static readonly azalea: BlockType;
1599
+ static readonly azaleaLeaves: BlockType;
1600
+ static readonly azaleaLeavesFlowered: BlockType;
1601
+ static readonly bamboo: BlockType;
1602
+ static readonly bambooSapling: BlockType;
1603
+ static readonly barrel: BlockType;
1604
+ static readonly barrier: BlockType;
1605
+ static readonly basalt: BlockType;
1606
+ static readonly beacon: BlockType;
1607
+ static readonly bed: BlockType;
1608
+ static readonly bedrock: BlockType;
1609
+ static readonly beehive: BlockType;
1610
+ static readonly beeNest: BlockType;
1611
+ static readonly beetroot: BlockType;
1612
+ static readonly bell: BlockType;
1613
+ static readonly bigDripleaf: BlockType;
1614
+ static readonly birchButton: BlockType;
1615
+ static readonly birchDoor: BlockType;
1616
+ static readonly birchFenceGate: BlockType;
1617
+ static readonly birchPressurePlate: BlockType;
1618
+ static readonly birchStairs: BlockType;
1619
+ static readonly birchStandingSign: BlockType;
1620
+ static readonly birchTrapdoor: BlockType;
1621
+ static readonly birchWallSign: BlockType;
1622
+ static readonly blackCandle: BlockType;
1623
+ static readonly blackCandleCake: BlockType;
1624
+ static readonly blackGlazedTerracotta: BlockType;
1625
+ static readonly blackstone: BlockType;
1626
+ static readonly blackstoneDoubleSlab: BlockType;
1627
+ static readonly blackstoneSlab: BlockType;
1628
+ static readonly blackstoneStairs: BlockType;
1629
+ static readonly blackstoneWall: BlockType;
1630
+ static readonly blastFurnace: BlockType;
1631
+ static readonly blueCandle: BlockType;
1632
+ static readonly blueCandleCake: BlockType;
1633
+ static readonly blueGlazedTerracotta: BlockType;
1634
+ static readonly blueIce: BlockType;
1635
+ static readonly boneBlock: BlockType;
1636
+ static readonly bookshelf: BlockType;
1637
+ static readonly borderBlock: BlockType;
1638
+ static readonly brewingStand: BlockType;
1639
+ static readonly brickBlock: BlockType;
1640
+ static readonly brickStairs: BlockType;
1641
+ static readonly brownCandle: BlockType;
1642
+ static readonly brownCandleCake: BlockType;
1643
+ static readonly brownGlazedTerracotta: BlockType;
1644
+ static readonly brownMushroom: BlockType;
1645
+ static readonly brownMushroomBlock: BlockType;
1646
+ static readonly bubbleColumn: BlockType;
1647
+ static readonly buddingAmethyst: BlockType;
1648
+ static readonly cactus: BlockType;
1649
+ static readonly cake: BlockType;
1650
+ static readonly calcite: BlockType;
1651
+ static readonly camera: BlockType;
1652
+ static readonly campfire: BlockType;
1653
+ static readonly candle: BlockType;
1654
+ static readonly candleCake: BlockType;
1655
+ static readonly carpet: BlockType;
1656
+ static readonly carrots: BlockType;
1657
+ static readonly cartographyTable: BlockType;
1658
+ static readonly carvedPumpkin: BlockType;
1659
+ static readonly cauldron: BlockType;
1660
+ static readonly caveVines: BlockType;
1661
+ static readonly caveVinesBodyWithBerries: BlockType;
1662
+ static readonly caveVinesHeadWithBerries: BlockType;
1663
+ static readonly chain: BlockType;
1664
+ static readonly chainCommandBlock: BlockType;
1665
+ static readonly chemicalHeat: BlockType;
1666
+ static readonly chemistryTable: BlockType;
1667
+ static readonly chest: BlockType;
1668
+ static readonly chiseledDeepslate: BlockType;
1669
+ static readonly chiseledNetherBricks: BlockType;
1670
+ static readonly chiseledPolishedBlackstone: BlockType;
1671
+ static readonly chorusFlower: BlockType;
1672
+ static readonly chorusPlant: BlockType;
1673
+ static readonly clay: BlockType;
1674
+ static readonly clientRequestPlaceholderBlock: BlockType;
1675
+ static readonly coalBlock: BlockType;
1676
+ static readonly coalOre: BlockType;
1677
+ static readonly cobbledDeepslate: BlockType;
1678
+ static readonly cobbledDeepslateDoubleSlab: BlockType;
1679
+ static readonly cobbledDeepslateSlab: BlockType;
1680
+ static readonly cobbledDeepslateStairs: BlockType;
1681
+ static readonly cobbledDeepslateWall: BlockType;
1682
+ static readonly cobblestone: BlockType;
1683
+ static readonly cobblestoneWall: BlockType;
1684
+ static readonly cocoa: BlockType;
1685
+ static readonly coloredTorchBp: BlockType;
1686
+ static readonly coloredTorchRg: BlockType;
1687
+ static readonly commandBlock: BlockType;
1688
+ static readonly composter: BlockType;
1689
+ static readonly concrete: BlockType;
1690
+ static readonly concretePowder: BlockType;
1691
+ static readonly conduit: BlockType;
1692
+ static readonly copperBlock: BlockType;
1693
+ static readonly copperOre: BlockType;
1694
+ static readonly coral: BlockType;
1695
+ static readonly coralBlock: BlockType;
1696
+ static readonly coralFan: BlockType;
1697
+ static readonly coralFanDead: BlockType;
1698
+ static readonly coralFanHang: BlockType;
1699
+ static readonly coralFanHang2: BlockType;
1700
+ static readonly coralFanHang3: BlockType;
1701
+ static readonly crackedDeepslateBricks: BlockType;
1702
+ static readonly crackedDeepslateTiles: BlockType;
1703
+ static readonly crackedNetherBricks: BlockType;
1704
+ static readonly crackedPolishedBlackstoneBricks: BlockType;
1705
+ static readonly craftingTable: BlockType;
1706
+ static readonly crimsonButton: BlockType;
1707
+ static readonly crimsonDoor: BlockType;
1708
+ static readonly crimsonDoubleSlab: BlockType;
1709
+ static readonly crimsonFence: BlockType;
1710
+ static readonly crimsonFenceGate: BlockType;
1711
+ static readonly crimsonFungus: BlockType;
1712
+ static readonly crimsonHyphae: BlockType;
1713
+ static readonly crimsonNylium: BlockType;
1714
+ static readonly crimsonPlanks: BlockType;
1715
+ static readonly crimsonPressurePlate: BlockType;
1716
+ static readonly crimsonRoots: BlockType;
1717
+ static readonly crimsonSlab: BlockType;
1718
+ static readonly crimsonStairs: BlockType;
1719
+ static readonly crimsonStandingSign: BlockType;
1720
+ static readonly crimsonStem: BlockType;
1721
+ static readonly crimsonTrapdoor: BlockType;
1722
+ static readonly crimsonWallSign: BlockType;
1723
+ static readonly cryingObsidian: BlockType;
1724
+ static readonly cutCopper: BlockType;
1725
+ static readonly cutCopperSlab: BlockType;
1726
+ static readonly cutCopperStairs: BlockType;
1727
+ static readonly cyanCandle: BlockType;
1728
+ static readonly cyanCandleCake: BlockType;
1729
+ static readonly cyanGlazedTerracotta: BlockType;
1730
+ static readonly darkOakButton: BlockType;
1731
+ static readonly darkOakDoor: BlockType;
1732
+ static readonly darkOakFenceGate: BlockType;
1733
+ static readonly darkOakPressurePlate: BlockType;
1734
+ static readonly darkOakStairs: BlockType;
1735
+ static readonly darkoakStandingSign: BlockType;
1736
+ static readonly darkOakTrapdoor: BlockType;
1737
+ static readonly darkoakWallSign: BlockType;
1738
+ static readonly darkPrismarineStairs: BlockType;
1739
+ static readonly daylightDetector: BlockType;
1740
+ static readonly daylightDetectorInverted: BlockType;
1741
+ static readonly deadbush: BlockType;
1742
+ static readonly deepslate: BlockType;
1743
+ static readonly deepslateBrickDoubleSlab: BlockType;
1744
+ static readonly deepslateBricks: BlockType;
1745
+ static readonly deepslateBrickSlab: BlockType;
1746
+ static readonly deepslateBrickStairs: BlockType;
1747
+ static readonly deepslateBrickWall: BlockType;
1748
+ static readonly deepslateCoalOre: BlockType;
1749
+ static readonly deepslateCopperOre: BlockType;
1750
+ static readonly deepslateDiamondOre: BlockType;
1751
+ static readonly deepslateEmeraldOre: BlockType;
1752
+ static readonly deepslateGoldOre: BlockType;
1753
+ static readonly deepslateIronOre: BlockType;
1754
+ static readonly deepslateLapisOre: BlockType;
1755
+ static readonly deepslateRedstoneOre: BlockType;
1756
+ static readonly deepslateTileDoubleSlab: BlockType;
1757
+ static readonly deepslateTiles: BlockType;
1758
+ static readonly deepslateTileSlab: BlockType;
1759
+ static readonly deepslateTileStairs: BlockType;
1760
+ static readonly deepslateTileWall: BlockType;
1761
+ static readonly deny: BlockType;
1762
+ static readonly detectorRail: BlockType;
1763
+ static readonly diamondBlock: BlockType;
1764
+ static readonly diamondOre: BlockType;
1765
+ static readonly dioriteStairs: BlockType;
1766
+ static readonly dirt: BlockType;
1767
+ static readonly dirtWithRoots: BlockType;
1768
+ static readonly dispenser: BlockType;
1769
+ static readonly doubleCutCopperSlab: BlockType;
1770
+ static readonly doublePlant: BlockType;
1771
+ static readonly doubleStoneBlockSlab: BlockType;
1772
+ static readonly doubleStoneBlockSlab2: BlockType;
1773
+ static readonly doubleStoneBlockSlab3: BlockType;
1774
+ static readonly doubleStoneBlockSlab4: BlockType;
1775
+ static readonly doubleStoneSlab: BlockType;
1776
+ static readonly doubleStoneSlab2: BlockType;
1777
+ static readonly doubleStoneSlab3: BlockType;
1778
+ static readonly doubleStoneSlab4: BlockType;
1779
+ static readonly doubleWoodenSlab: BlockType;
1780
+ static readonly dragonEgg: BlockType;
1781
+ static readonly driedKelpBlock: BlockType;
1782
+ static readonly dripstoneBlock: BlockType;
1783
+ static readonly dropper: BlockType;
1784
+ static readonly element0: BlockType;
1785
+ static readonly element1: BlockType;
1786
+ static readonly element10: BlockType;
1787
+ static readonly element100: BlockType;
1788
+ static readonly element101: BlockType;
1789
+ static readonly element102: BlockType;
1790
+ static readonly element103: BlockType;
1791
+ static readonly element104: BlockType;
1792
+ static readonly element105: BlockType;
1793
+ static readonly element106: BlockType;
1794
+ static readonly element107: BlockType;
1795
+ static readonly element108: BlockType;
1796
+ static readonly element109: BlockType;
1797
+ static readonly element11: BlockType;
1798
+ static readonly element110: BlockType;
1799
+ static readonly element111: BlockType;
1800
+ static readonly element112: BlockType;
1801
+ static readonly element113: BlockType;
1802
+ static readonly element114: BlockType;
1803
+ static readonly element115: BlockType;
1804
+ static readonly element116: BlockType;
1805
+ static readonly element117: BlockType;
1806
+ static readonly element118: BlockType;
1807
+ static readonly element12: BlockType;
1808
+ static readonly element13: BlockType;
1809
+ static readonly element14: BlockType;
1810
+ static readonly element15: BlockType;
1811
+ static readonly element16: BlockType;
1812
+ static readonly element17: BlockType;
1813
+ static readonly element18: BlockType;
1814
+ static readonly element19: BlockType;
1815
+ static readonly element2: BlockType;
1816
+ static readonly element20: BlockType;
1817
+ static readonly element21: BlockType;
1818
+ static readonly element22: BlockType;
1819
+ static readonly element23: BlockType;
1820
+ static readonly element24: BlockType;
1821
+ static readonly element25: BlockType;
1822
+ static readonly element26: BlockType;
1823
+ static readonly element27: BlockType;
1824
+ static readonly element28: BlockType;
1825
+ static readonly element29: BlockType;
1826
+ static readonly element3: BlockType;
1827
+ static readonly element30: BlockType;
1828
+ static readonly element31: BlockType;
1829
+ static readonly element32: BlockType;
1830
+ static readonly element33: BlockType;
1831
+ static readonly element34: BlockType;
1832
+ static readonly element35: BlockType;
1833
+ static readonly element36: BlockType;
1834
+ static readonly element37: BlockType;
1835
+ static readonly element38: BlockType;
1836
+ static readonly element39: BlockType;
1837
+ static readonly element4: BlockType;
1838
+ static readonly element40: BlockType;
1839
+ static readonly element41: BlockType;
1840
+ static readonly element42: BlockType;
1841
+ static readonly element43: BlockType;
1842
+ static readonly element44: BlockType;
1843
+ static readonly element45: BlockType;
1844
+ static readonly element46: BlockType;
1845
+ static readonly element47: BlockType;
1846
+ static readonly element48: BlockType;
1847
+ static readonly element49: BlockType;
1848
+ static readonly element5: BlockType;
1849
+ static readonly element50: BlockType;
1850
+ static readonly element51: BlockType;
1851
+ static readonly element52: BlockType;
1852
+ static readonly element53: BlockType;
1853
+ static readonly element54: BlockType;
1854
+ static readonly element55: BlockType;
1855
+ static readonly element56: BlockType;
1856
+ static readonly element57: BlockType;
1857
+ static readonly element58: BlockType;
1858
+ static readonly element59: BlockType;
1859
+ static readonly element6: BlockType;
1860
+ static readonly element60: BlockType;
1861
+ static readonly element61: BlockType;
1862
+ static readonly element62: BlockType;
1863
+ static readonly element63: BlockType;
1864
+ static readonly element64: BlockType;
1865
+ static readonly element65: BlockType;
1866
+ static readonly element66: BlockType;
1867
+ static readonly element67: BlockType;
1868
+ static readonly element68: BlockType;
1869
+ static readonly element69: BlockType;
1870
+ static readonly element7: BlockType;
1871
+ static readonly element70: BlockType;
1872
+ static readonly element71: BlockType;
1873
+ static readonly element72: BlockType;
1874
+ static readonly element73: BlockType;
1875
+ static readonly element74: BlockType;
1876
+ static readonly element75: BlockType;
1877
+ static readonly element76: BlockType;
1878
+ static readonly element77: BlockType;
1879
+ static readonly element78: BlockType;
1880
+ static readonly element79: BlockType;
1881
+ static readonly element8: BlockType;
1882
+ static readonly element80: BlockType;
1883
+ static readonly element81: BlockType;
1884
+ static readonly element82: BlockType;
1885
+ static readonly element83: BlockType;
1886
+ static readonly element84: BlockType;
1887
+ static readonly element85: BlockType;
1888
+ static readonly element86: BlockType;
1889
+ static readonly element87: BlockType;
1890
+ static readonly element88: BlockType;
1891
+ static readonly element89: BlockType;
1892
+ static readonly element9: BlockType;
1893
+ static readonly element90: BlockType;
1894
+ static readonly element91: BlockType;
1895
+ static readonly element92: BlockType;
1896
+ static readonly element93: BlockType;
1897
+ static readonly element94: BlockType;
1898
+ static readonly element95: BlockType;
1899
+ static readonly element96: BlockType;
1900
+ static readonly element97: BlockType;
1901
+ static readonly element98: BlockType;
1902
+ static readonly element99: BlockType;
1903
+ static readonly emeraldBlock: BlockType;
1904
+ static readonly emeraldOre: BlockType;
1905
+ static readonly enchantingTable: BlockType;
1906
+ static readonly endBricks: BlockType;
1907
+ static readonly endBrickStairs: BlockType;
1908
+ static readonly enderChest: BlockType;
1909
+ static readonly endGateway: BlockType;
1910
+ static readonly endPortal: BlockType;
1911
+ static readonly endPortalFrame: BlockType;
1912
+ static readonly endRod: BlockType;
1913
+ static readonly endStone: BlockType;
1914
+ static readonly exposedCopper: BlockType;
1915
+ static readonly exposedCutCopper: BlockType;
1916
+ static readonly exposedCutCopperSlab: BlockType;
1917
+ static readonly exposedCutCopperStairs: BlockType;
1918
+ static readonly exposedDoubleCutCopperSlab: BlockType;
1919
+ static readonly farmland: BlockType;
1920
+ static readonly fence: BlockType;
1921
+ static readonly fenceGate: BlockType;
1922
+ static readonly fire: BlockType;
1923
+ static readonly fletchingTable: BlockType;
1924
+ static readonly floweringAzalea: BlockType;
1925
+ static readonly flowerPot: BlockType;
1926
+ static readonly flowingLava: BlockType;
1927
+ static readonly flowingWater: BlockType;
1928
+ static readonly frame: BlockType;
1929
+ static readonly frogSpawn: BlockType;
1930
+ static readonly frostedIce: BlockType;
1931
+ static readonly furnace: BlockType;
1932
+ static readonly gildedBlackstone: BlockType;
1933
+ static readonly glass: BlockType;
1934
+ static readonly glassPane: BlockType;
1935
+ static readonly glowFrame: BlockType;
1936
+ static readonly glowingobsidian: BlockType;
1937
+ static readonly glowLichen: BlockType;
1938
+ static readonly glowstone: BlockType;
1939
+ static readonly goldBlock: BlockType;
1940
+ static readonly goldenRail: BlockType;
1941
+ static readonly goldOre: BlockType;
1942
+ static readonly graniteStairs: BlockType;
1943
+ static readonly grass: BlockType;
1944
+ static readonly grassPath: BlockType;
1945
+ static readonly gravel: BlockType;
1946
+ static readonly grayCandle: BlockType;
1947
+ static readonly grayCandleCake: BlockType;
1948
+ static readonly grayGlazedTerracotta: BlockType;
1949
+ static readonly greenCandle: BlockType;
1950
+ static readonly greenCandleCake: BlockType;
1951
+ static readonly greenGlazedTerracotta: BlockType;
1952
+ static readonly grindstone: BlockType;
1953
+ static readonly hangingRoots: BlockType;
1954
+ static readonly hardenedClay: BlockType;
1955
+ static readonly hardGlass: BlockType;
1956
+ static readonly hardGlassPane: BlockType;
1957
+ static readonly hardStainedGlass: BlockType;
1958
+ static readonly hardStainedGlassPane: BlockType;
1959
+ static readonly hayBlock: BlockType;
1960
+ static readonly heavyWeightedPressurePlate: BlockType;
1961
+ static readonly honeyBlock: BlockType;
1962
+ static readonly honeycombBlock: BlockType;
1963
+ static readonly hopper: BlockType;
1964
+ static readonly ice: BlockType;
1965
+ static readonly infestedDeepslate: BlockType;
1966
+ static readonly infoUpdate: BlockType;
1967
+ static readonly infoUpdate2: BlockType;
1968
+ static readonly invisibleBedrock: BlockType;
1969
+ static readonly ironBars: BlockType;
1970
+ static readonly ironBlock: BlockType;
1971
+ static readonly ironDoor: BlockType;
1972
+ static readonly ironOre: BlockType;
1973
+ static readonly ironTrapdoor: BlockType;
1974
+ static readonly jigsaw: BlockType;
1975
+ static readonly jukebox: BlockType;
1976
+ static readonly jungleButton: BlockType;
1977
+ static readonly jungleDoor: BlockType;
1978
+ static readonly jungleFenceGate: BlockType;
1979
+ static readonly junglePressurePlate: BlockType;
1980
+ static readonly jungleStairs: BlockType;
1981
+ static readonly jungleStandingSign: BlockType;
1982
+ static readonly jungleTrapdoor: BlockType;
1983
+ static readonly jungleWallSign: BlockType;
1984
+ static readonly kelp: BlockType;
1985
+ static readonly ladder: BlockType;
1986
+ static readonly lantern: BlockType;
1987
+ static readonly lapisBlock: BlockType;
1988
+ static readonly lapisOre: BlockType;
1989
+ static readonly largeAmethystBud: BlockType;
1990
+ static readonly lava: BlockType;
1991
+ static readonly lavaCauldron: BlockType;
1992
+ static readonly leaves: BlockType;
1993
+ static readonly leaves2: BlockType;
1994
+ static readonly lectern: BlockType;
1995
+ static readonly lever: BlockType;
1996
+ static readonly lightBlock: BlockType;
1997
+ static readonly lightBlueCandle: BlockType;
1998
+ static readonly lightBlueCandleCake: BlockType;
1999
+ static readonly lightBlueGlazedTerracotta: BlockType;
2000
+ static readonly lightGrayCandle: BlockType;
2001
+ static readonly lightGrayCandleCake: BlockType;
2002
+ static readonly lightningRod: BlockType;
2003
+ static readonly lightWeightedPressurePlate: BlockType;
2004
+ static readonly limeCandle: BlockType;
2005
+ static readonly limeCandleCake: BlockType;
2006
+ static readonly limeGlazedTerracotta: BlockType;
2007
+ static readonly litBlastFurnace: BlockType;
2008
+ static readonly litDeepslateRedstoneOre: BlockType;
2009
+ static readonly litFurnace: BlockType;
2010
+ static readonly litPumpkin: BlockType;
2011
+ static readonly litRedstoneLamp: BlockType;
2012
+ static readonly litRedstoneOre: BlockType;
2013
+ static readonly litSmoker: BlockType;
2014
+ static readonly lodestone: BlockType;
2015
+ static readonly log: BlockType;
2016
+ static readonly log2: BlockType;
2017
+ static readonly loom: BlockType;
2018
+ static readonly magentaCandle: BlockType;
2019
+ static readonly magentaCandleCake: BlockType;
2020
+ static readonly magentaGlazedTerracotta: BlockType;
2021
+ static readonly magma: BlockType;
2022
+ static readonly mangroveButton: BlockType;
2023
+ static readonly mangroveDoor: BlockType;
2024
+ static readonly mangroveDoubleSlab: BlockType;
2025
+ static readonly mangroveFence: BlockType;
2026
+ static readonly mangroveFenceGate: BlockType;
2027
+ static readonly mangroveLeaves: BlockType;
2028
+ static readonly mangroveLog: BlockType;
2029
+ static readonly mangrovePlanks: BlockType;
2030
+ static readonly mangrovePressurePlate: BlockType;
2031
+ static readonly mangrovePropagule: BlockType;
2032
+ static readonly mangroveRoots: BlockType;
2033
+ static readonly mangroveSlab: BlockType;
2034
+ static readonly mangroveStairs: BlockType;
2035
+ static readonly mangroveStandingSign: BlockType;
2036
+ static readonly mangroveTrapdoor: BlockType;
2037
+ static readonly mangroveWallSign: BlockType;
2038
+ static readonly mangroveWood: BlockType;
2039
+ static readonly mediumAmethystBud: BlockType;
2040
+ static readonly melonBlock: BlockType;
2041
+ static readonly melonStem: BlockType;
2042
+ static readonly mobSpawner: BlockType;
2043
+ static readonly monsterEgg: BlockType;
2044
+ static readonly mossBlock: BlockType;
2045
+ static readonly mossCarpet: BlockType;
2046
+ static readonly mossyCobblestone: BlockType;
2047
+ static readonly mossyCobblestoneStairs: BlockType;
2048
+ static readonly mossyStoneBrickStairs: BlockType;
2049
+ static readonly movingBlock: BlockType;
2050
+ static readonly mud: BlockType;
2051
+ static readonly mudBrickDoubleSlab: BlockType;
2052
+ static readonly mudBricks: BlockType;
2053
+ static readonly mudBrickSlab: BlockType;
2054
+ static readonly mudBrickStairs: BlockType;
2055
+ static readonly mudBrickWall: BlockType;
2056
+ static readonly muddyMangroveRoots: BlockType;
2057
+ static readonly mycelium: BlockType;
2058
+ static readonly netherBrick: BlockType;
2059
+ static readonly netherBrickFence: BlockType;
2060
+ static readonly netherBrickStairs: BlockType;
2061
+ static readonly netherGoldOre: BlockType;
2062
+ static readonly netheriteBlock: BlockType;
2063
+ static readonly netherrack: BlockType;
2064
+ static readonly netherreactor: BlockType;
2065
+ static readonly netherSprouts: BlockType;
2066
+ static readonly netherWart: BlockType;
2067
+ static readonly netherWartBlock: BlockType;
2068
+ static readonly normalStoneStairs: BlockType;
2069
+ static readonly noteblock: BlockType;
2070
+ static readonly oakStairs: BlockType;
2071
+ static readonly observer: BlockType;
2072
+ static readonly obsidian: BlockType;
2073
+ static readonly ochreFroglight: BlockType;
2074
+ static readonly orangeCandle: BlockType;
2075
+ static readonly orangeCandleCake: BlockType;
2076
+ static readonly orangeGlazedTerracotta: BlockType;
2077
+ static readonly oxidizedCopper: BlockType;
2078
+ static readonly oxidizedCutCopper: BlockType;
2079
+ static readonly oxidizedCutCopperSlab: BlockType;
2080
+ static readonly oxidizedCutCopperStairs: BlockType;
2081
+ static readonly oxidizedDoubleCutCopperSlab: BlockType;
2082
+ static readonly packedIce: BlockType;
2083
+ static readonly packedMud: BlockType;
2084
+ static readonly pearlescentFroglight: BlockType;
2085
+ static readonly pinkCandle: BlockType;
2086
+ static readonly pinkCandleCake: BlockType;
2087
+ static readonly pinkGlazedTerracotta: BlockType;
2088
+ static readonly piston: BlockType;
2089
+ static readonly pistonArmCollision: BlockType;
2090
+ static readonly planks: BlockType;
2091
+ static readonly podzol: BlockType;
2092
+ static readonly pointedDripstone: BlockType;
2093
+ static readonly polishedAndesiteStairs: BlockType;
2094
+ static readonly polishedBasalt: BlockType;
2095
+ static readonly polishedBlackstone: BlockType;
2096
+ static readonly polishedBlackstoneBrickDoubleSlab: BlockType;
2097
+ static readonly polishedBlackstoneBricks: BlockType;
2098
+ static readonly polishedBlackstoneBrickSlab: BlockType;
2099
+ static readonly polishedBlackstoneBrickStairs: BlockType;
2100
+ static readonly polishedBlackstoneBrickWall: BlockType;
2101
+ static readonly polishedBlackstoneButton: BlockType;
2102
+ static readonly polishedBlackstoneDoubleSlab: BlockType;
2103
+ static readonly polishedBlackstonePressurePlate: BlockType;
2104
+ static readonly polishedBlackstoneSlab: BlockType;
2105
+ static readonly polishedBlackstoneStairs: BlockType;
2106
+ static readonly polishedBlackstoneWall: BlockType;
2107
+ static readonly polishedDeepslate: BlockType;
2108
+ static readonly polishedDeepslateDoubleSlab: BlockType;
2109
+ static readonly polishedDeepslateSlab: BlockType;
2110
+ static readonly polishedDeepslateStairs: BlockType;
2111
+ static readonly polishedDeepslateWall: BlockType;
2112
+ static readonly polishedDioriteStairs: BlockType;
2113
+ static readonly polishedGraniteStairs: BlockType;
2114
+ static readonly portal: BlockType;
2115
+ static readonly potatoes: BlockType;
2116
+ static readonly powderSnow: BlockType;
2117
+ static readonly poweredComparator: BlockType;
2118
+ static readonly poweredRepeater: BlockType;
2119
+ static readonly prismarine: BlockType;
2120
+ static readonly prismarineBricksStairs: BlockType;
2121
+ static readonly prismarineStairs: BlockType;
2122
+ static readonly pumpkin: BlockType;
2123
+ static readonly pumpkinStem: BlockType;
2124
+ static readonly purpleCandle: BlockType;
2125
+ static readonly purpleCandleCake: BlockType;
2126
+ static readonly purpleGlazedTerracotta: BlockType;
2127
+ static readonly purpurBlock: BlockType;
2128
+ static readonly purpurStairs: BlockType;
2129
+ static readonly quartzBlock: BlockType;
2130
+ static readonly quartzBricks: BlockType;
2131
+ static readonly quartzOre: BlockType;
2132
+ static readonly quartzStairs: BlockType;
2133
+ static readonly rail: BlockType;
2134
+ static readonly rawCopperBlock: BlockType;
2135
+ static readonly rawGoldBlock: BlockType;
2136
+ static readonly rawIronBlock: BlockType;
2137
+ static readonly redCandle: BlockType;
2138
+ static readonly redCandleCake: BlockType;
2139
+ static readonly redFlower: BlockType;
2140
+ static readonly redGlazedTerracotta: BlockType;
2141
+ static readonly redMushroom: BlockType;
2142
+ static readonly redMushroomBlock: BlockType;
2143
+ static readonly redNetherBrick: BlockType;
2144
+ static readonly redNetherBrickStairs: BlockType;
2145
+ static readonly redSandstone: BlockType;
2146
+ static readonly redSandstoneStairs: BlockType;
2147
+ static readonly redstoneBlock: BlockType;
2148
+ static readonly redstoneLamp: BlockType;
2149
+ static readonly redstoneOre: BlockType;
2150
+ static readonly redstoneTorch: BlockType;
2151
+ static readonly redstoneWire: BlockType;
2152
+ static readonly reeds: BlockType;
2153
+ static readonly reinforcedDeepslate: BlockType;
2154
+ static readonly repeatingCommandBlock: BlockType;
2155
+ static readonly reserved6: BlockType;
2156
+ static readonly respawnAnchor: BlockType;
2157
+ static readonly sand: BlockType;
2158
+ static readonly sandstone: BlockType;
2159
+ static readonly sandstoneStairs: BlockType;
2160
+ static readonly sapling: BlockType;
2161
+ static readonly scaffolding: BlockType;
2162
+ static readonly sculk: BlockType;
2163
+ static readonly sculkCatalyst: BlockType;
2164
+ static readonly sculkSensor: BlockType;
2165
+ static readonly sculkShrieker: BlockType;
2166
+ static readonly sculkVein: BlockType;
2167
+ static readonly seagrass: BlockType;
2168
+ static readonly seaLantern: BlockType;
2169
+ static readonly seaPickle: BlockType;
2170
+ static readonly shroomlight: BlockType;
2171
+ static readonly shulkerBox: BlockType;
2172
+ static readonly silverGlazedTerracotta: BlockType;
2173
+ static readonly skull: BlockType;
2174
+ static readonly slime: BlockType;
2175
+ static readonly smallAmethystBud: BlockType;
2176
+ static readonly smallDripleafBlock: BlockType;
2177
+ static readonly smithingTable: BlockType;
2178
+ static readonly smoker: BlockType;
2179
+ static readonly smoothBasalt: BlockType;
2180
+ static readonly smoothQuartzStairs: BlockType;
2181
+ static readonly smoothRedSandstoneStairs: BlockType;
2182
+ static readonly smoothSandstoneStairs: BlockType;
2183
+ static readonly smoothStone: BlockType;
2184
+ static readonly snow: BlockType;
2185
+ static readonly snowLayer: BlockType;
2186
+ static readonly soulCampfire: BlockType;
2187
+ static readonly soulFire: BlockType;
2188
+ static readonly soulLantern: BlockType;
2189
+ static readonly soulSand: BlockType;
2190
+ static readonly soulSoil: BlockType;
2191
+ static readonly soulTorch: BlockType;
2192
+ static readonly sponge: BlockType;
2193
+ static readonly sporeBlossom: BlockType;
2194
+ static readonly spruceButton: BlockType;
2195
+ static readonly spruceDoor: BlockType;
2196
+ static readonly spruceFenceGate: BlockType;
2197
+ static readonly sprucePressurePlate: BlockType;
2198
+ static readonly spruceStairs: BlockType;
2199
+ static readonly spruceStandingSign: BlockType;
2200
+ static readonly spruceTrapdoor: BlockType;
2201
+ static readonly spruceWallSign: BlockType;
2202
+ static readonly stainedGlass: BlockType;
2203
+ static readonly stainedGlassPane: BlockType;
2204
+ static readonly stainedHardenedClay: BlockType;
2205
+ static readonly standingBanner: BlockType;
2206
+ static readonly standingSign: BlockType;
2207
+ static readonly stickyPiston: BlockType;
2208
+ static readonly stickyPistonArmCollision: BlockType;
2209
+ static readonly stone: BlockType;
2210
+ static readonly stoneBlockSlab: BlockType;
2211
+ static readonly stoneBlockSlab2: BlockType;
2212
+ static readonly stoneBlockSlab3: BlockType;
2213
+ static readonly stoneBlockSlab4: BlockType;
2214
+ static readonly stonebrick: BlockType;
2215
+ static readonly stoneBrickStairs: BlockType;
2216
+ static readonly stoneButton: BlockType;
2217
+ static readonly stonecutter: BlockType;
2218
+ static readonly stonecutterBlock: BlockType;
2219
+ static readonly stonePressurePlate: BlockType;
2220
+ static readonly stoneSlab: BlockType;
2221
+ static readonly stoneSlab2: BlockType;
2222
+ static readonly stoneSlab3: BlockType;
2223
+ static readonly stoneSlab4: BlockType;
2224
+ static readonly stoneStairs: BlockType;
2225
+ static readonly strippedAcaciaLog: BlockType;
2226
+ static readonly strippedBirchLog: BlockType;
2227
+ static readonly strippedCrimsonHyphae: BlockType;
2228
+ static readonly strippedCrimsonStem: BlockType;
2229
+ static readonly strippedDarkOakLog: BlockType;
2230
+ static readonly strippedJungleLog: BlockType;
2231
+ static readonly strippedMangroveLog: BlockType;
2232
+ static readonly strippedMangroveWood: BlockType;
2233
+ static readonly strippedOakLog: BlockType;
2234
+ static readonly strippedSpruceLog: BlockType;
2235
+ static readonly strippedWarpedHyphae: BlockType;
2236
+ static readonly strippedWarpedStem: BlockType;
2237
+ static readonly structureBlock: BlockType;
2238
+ static readonly structureVoid: BlockType;
2239
+ static readonly sweetBerryBush: BlockType;
2240
+ static readonly tallgrass: BlockType;
2241
+ static readonly target: BlockType;
2242
+ static readonly tintedGlass: BlockType;
2243
+ static readonly tnt: BlockType;
2244
+ static readonly torch: BlockType;
2245
+ static readonly trapdoor: BlockType;
2246
+ static readonly trappedChest: BlockType;
2247
+ static readonly tripWire: BlockType;
2248
+ static readonly tripwireHook: BlockType;
2249
+ static readonly tuff: BlockType;
2250
+ static readonly turtleEgg: BlockType;
2251
+ static readonly twistingVines: BlockType;
2252
+ static readonly underwaterTorch: BlockType;
2253
+ static readonly undyedShulkerBox: BlockType;
2254
+ static readonly unknown: BlockType;
2255
+ static readonly unlitRedstoneTorch: BlockType;
2256
+ static readonly unpoweredComparator: BlockType;
2257
+ static readonly unpoweredRepeater: BlockType;
2258
+ static readonly verdantFroglight: BlockType;
2259
+ static readonly vine: BlockType;
2260
+ static readonly wallBanner: BlockType;
2261
+ static readonly wallSign: BlockType;
2262
+ static readonly warpedButton: BlockType;
2263
+ static readonly warpedDoor: BlockType;
2264
+ static readonly warpedDoubleSlab: BlockType;
2265
+ static readonly warpedFence: BlockType;
2266
+ static readonly warpedFenceGate: BlockType;
2267
+ static readonly warpedFungus: BlockType;
2268
+ static readonly warpedHyphae: BlockType;
2269
+ static readonly warpedNylium: BlockType;
2270
+ static readonly warpedPlanks: BlockType;
2271
+ static readonly warpedPressurePlate: BlockType;
2272
+ static readonly warpedRoots: BlockType;
2273
+ static readonly warpedSlab: BlockType;
2274
+ static readonly warpedStairs: BlockType;
2275
+ static readonly warpedStandingSign: BlockType;
2276
+ static readonly warpedStem: BlockType;
2277
+ static readonly warpedTrapdoor: BlockType;
2278
+ static readonly warpedWallSign: BlockType;
2279
+ static readonly warpedWartBlock: BlockType;
2280
+ static readonly water: BlockType;
2281
+ static readonly waterlily: BlockType;
2282
+ static readonly waxedCopper: BlockType;
2283
+ static readonly waxedCutCopper: BlockType;
2284
+ static readonly waxedCutCopperSlab: BlockType;
2285
+ static readonly waxedCutCopperStairs: BlockType;
2286
+ static readonly waxedDoubleCutCopperSlab: BlockType;
2287
+ static readonly waxedExposedCopper: BlockType;
2288
+ static readonly waxedExposedCutCopper: BlockType;
2289
+ static readonly waxedExposedCutCopperSlab: BlockType;
2290
+ static readonly waxedExposedCutCopperStairs: BlockType;
2291
+ static readonly waxedExposedDoubleCutCopperSlab: BlockType;
2292
+ static readonly waxedOxidizedCopper: BlockType;
2293
+ static readonly waxedOxidizedCutCopper: BlockType;
2294
+ static readonly waxedOxidizedCutCopperSlab: BlockType;
2295
+ static readonly waxedOxidizedCutCopperStairs: BlockType;
2296
+ static readonly waxedOxidizedDoubleCutCopperSlab: BlockType;
2297
+ static readonly waxedWeatheredCopper: BlockType;
2298
+ static readonly waxedWeatheredCutCopper: BlockType;
2299
+ static readonly waxedWeatheredCutCopperSlab: BlockType;
2300
+ static readonly waxedWeatheredCutCopperStairs: BlockType;
2301
+ static readonly waxedWeatheredDoubleCutCopperSlab: BlockType;
2302
+ static readonly weatheredCopper: BlockType;
2303
+ static readonly weatheredCutCopper: BlockType;
2304
+ static readonly weatheredCutCopperSlab: BlockType;
2305
+ static readonly weatheredCutCopperStairs: BlockType;
2306
+ static readonly weatheredDoubleCutCopperSlab: BlockType;
2307
+ static readonly web: BlockType;
2308
+ static readonly weepingVines: BlockType;
2309
+ static readonly wheat: BlockType;
2310
+ static readonly whiteCandle: BlockType;
2311
+ static readonly whiteCandleCake: BlockType;
2312
+ static readonly whiteGlazedTerracotta: BlockType;
2313
+ static readonly witherRose: BlockType;
2314
+ static readonly wood: BlockType;
2315
+ static readonly woodenButton: BlockType;
2316
+ static readonly woodenDoor: BlockType;
2317
+ static readonly woodenPressurePlate: BlockType;
2318
+ static readonly woodenSlab: BlockType;
2319
+ static readonly wool: BlockType;
2320
+ static readonly yellowCandle: BlockType;
2321
+ static readonly yellowCandleCake: BlockType;
2322
+ static readonly yellowFlower: BlockType;
2323
+ static readonly yellowGlazedTerracotta: BlockType;
2324
+ static get(typeName: string): BlockType;
2325
+ static getAllBlockTypes(): BlockType[];
2326
+ protected constructor();
2327
+ }
2328
+ // tslint:disable-next-line:no-unnecessary-class
2329
+ export class MinecraftDimensionTypes {
2330
+ static readonly nether = 'minecraft:nether';
2331
+ static readonly overworld = 'minecraft:overworld';
2332
+ static readonly theEnd = 'minecraft:the_end';
2333
+ protected constructor();
2334
+ }
2335
+ // tslint:disable-next-line:no-unnecessary-class
2336
+ export class MinecraftEffectTypes {
2337
+ static readonly absorption: EffectType;
2338
+ static readonly badOmen: EffectType;
2339
+ static readonly blindness: EffectType;
2340
+ static readonly conduitPower: EffectType;
2341
+ static readonly darkness: EffectType;
2342
+ static readonly empty: EffectType;
2343
+ static readonly fatalPoison: EffectType;
2344
+ static readonly fireResistance: EffectType;
2345
+ static readonly haste: EffectType;
2346
+ static readonly healthBoost: EffectType;
2347
+ static readonly hunger: EffectType;
2348
+ static readonly instantDamage: EffectType;
2349
+ static readonly instantHealth: EffectType;
2350
+ static readonly invisibility: EffectType;
2351
+ static readonly jumpBoost: EffectType;
2352
+ static readonly levitation: EffectType;
2353
+ static readonly miningFatigue: EffectType;
2354
+ static readonly nausea: EffectType;
2355
+ static readonly nightVision: EffectType;
2356
+ static readonly poison: EffectType;
2357
+ static readonly regeneration: EffectType;
2358
+ static readonly resistance: EffectType;
2359
+ static readonly saturation: EffectType;
2360
+ static readonly slowFalling: EffectType;
2361
+ static readonly slowness: EffectType;
2362
+ static readonly speed: EffectType;
2363
+ static readonly strength: EffectType;
2364
+ static readonly villageHero: EffectType;
2365
+ static readonly waterBreathing: EffectType;
2366
+ static readonly weakness: EffectType;
2367
+ static readonly wither: EffectType;
2368
+ protected constructor();
2369
+ }
2370
+ // tslint:disable-next-line:no-unnecessary-class
2371
+ export class MinecraftEnchantmentTypes {
2372
+ static readonly aquaAffinity: EnchantmentType;
2373
+ static readonly baneOfArthropods: EnchantmentType;
2374
+ static readonly binding: EnchantmentType;
2375
+ static readonly blastProtection: EnchantmentType;
2376
+ static readonly channeling: EnchantmentType;
2377
+ static readonly depthStrider: EnchantmentType;
2378
+ static readonly efficiency: EnchantmentType;
2379
+ static readonly featherFalling: EnchantmentType;
2380
+ static readonly fireAspect: EnchantmentType;
2381
+ static readonly fireProtection: EnchantmentType;
2382
+ static readonly flame: EnchantmentType;
2383
+ static readonly fortune: EnchantmentType;
2384
+ static readonly frostWalker: EnchantmentType;
2385
+ static readonly impaling: EnchantmentType;
2386
+ static readonly infinity: EnchantmentType;
2387
+ static readonly knockback: EnchantmentType;
2388
+ static readonly looting: EnchantmentType;
2389
+ static readonly loyalty: EnchantmentType;
2390
+ static readonly luckOfTheSea: EnchantmentType;
2391
+ static readonly lure: EnchantmentType;
2392
+ static readonly mending: EnchantmentType;
2393
+ static readonly multishot: EnchantmentType;
2394
+ static readonly piercing: EnchantmentType;
2395
+ static readonly power: EnchantmentType;
2396
+ static readonly projectileProtection: EnchantmentType;
2397
+ static readonly protection: EnchantmentType;
2398
+ static readonly punch: EnchantmentType;
2399
+ static readonly quickCharge: EnchantmentType;
2400
+ static readonly respiration: EnchantmentType;
2401
+ static readonly riptide: EnchantmentType;
2402
+ static readonly sharpness: EnchantmentType;
2403
+ static readonly silkTouch: EnchantmentType;
2404
+ static readonly smite: EnchantmentType;
2405
+ static readonly soulSpeed: EnchantmentType;
2406
+ static readonly swiftSneak: EnchantmentType;
2407
+ static readonly thorns: EnchantmentType;
2408
+ static readonly unbreaking: EnchantmentType;
2409
+ static readonly vanishing: EnchantmentType;
2410
+ protected constructor();
2411
+ }
2412
+ // tslint:disable-next-line:no-unnecessary-class
2413
+ export class MinecraftEntityTypes {
2414
+ static readonly agent: EntityType;
2415
+ static readonly allay: EntityType;
2416
+ static readonly areaEffectCloud: EntityType;
2417
+ static readonly armorStand: EntityType;
2418
+ static readonly arrow: EntityType;
2419
+ static readonly axolotl: EntityType;
2420
+ static readonly bat: EntityType;
2421
+ static readonly bee: EntityType;
2422
+ static readonly blaze: EntityType;
2423
+ static readonly boat: EntityType;
2424
+ static readonly cat: EntityType;
2425
+ static readonly caveSpider: EntityType;
2426
+ static readonly chestBoat: EntityType;
2427
+ static readonly chestMinecart: EntityType;
2428
+ static readonly chicken: EntityType;
2429
+ static readonly cod: EntityType;
2430
+ static readonly commandBlockMinecart: EntityType;
2431
+ static readonly cow: EntityType;
2432
+ static readonly creeper: EntityType;
2433
+ static readonly dolphin: EntityType;
2434
+ static readonly donkey: EntityType;
2435
+ static readonly dragonFireball: EntityType;
2436
+ static readonly drowned: EntityType;
2437
+ static readonly egg: EntityType;
2438
+ static readonly elderGuardian: EntityType;
2439
+ static readonly enderCrystal: EntityType;
2440
+ static readonly enderDragon: EntityType;
2441
+ static readonly enderman: EntityType;
2442
+ static readonly endermite: EntityType;
2443
+ static readonly enderPearl: EntityType;
2444
+ static readonly evocationIllager: EntityType;
2445
+ static readonly eyeOfEnderSignal: EntityType;
2446
+ static readonly fireball: EntityType;
2447
+ static readonly fireworksRocket: EntityType;
2448
+ static readonly fishingHook: EntityType;
2449
+ static readonly fox: EntityType;
2450
+ static readonly frog: EntityType;
2451
+ static readonly ghast: EntityType;
2452
+ static readonly glowSquid: EntityType;
2453
+ static readonly goat: EntityType;
2454
+ static readonly guardian: EntityType;
2455
+ static readonly hoglin: EntityType;
2456
+ static readonly hopperMinecart: EntityType;
2457
+ static readonly horse: EntityType;
2458
+ static readonly husk: EntityType;
2459
+ static readonly ironGolem: EntityType;
2460
+ static readonly lightningBolt: EntityType;
2461
+ static readonly lingeringPotion: EntityType;
2462
+ static readonly llama: EntityType;
2463
+ static readonly llamaSpit: EntityType;
2464
+ static readonly magmaCube: EntityType;
2465
+ static readonly minecart: EntityType;
2466
+ static readonly mooshroom: EntityType;
2467
+ static readonly mule: EntityType;
2468
+ static readonly npc: EntityType;
2469
+ static readonly ocelot: EntityType;
2470
+ static readonly panda: EntityType;
2471
+ static readonly parrot: EntityType;
2472
+ static readonly phantom: EntityType;
2473
+ static readonly pig: EntityType;
2474
+ static readonly piglin: EntityType;
2475
+ static readonly piglinBrute: EntityType;
2476
+ static readonly pillager: EntityType;
2477
+ static readonly player: EntityType;
2478
+ static readonly polarBear: EntityType;
2479
+ static readonly pufferfish: EntityType;
2480
+ static readonly rabbit: EntityType;
2481
+ static readonly ravager: EntityType;
2482
+ static readonly salmon: EntityType;
2483
+ static readonly sheep: EntityType;
2484
+ static readonly shulker: EntityType;
2485
+ static readonly shulkerBullet: EntityType;
2486
+ static readonly silverfish: EntityType;
2487
+ static readonly skeleton: EntityType;
2488
+ static readonly skeletonHorse: EntityType;
2489
+ static readonly slime: EntityType;
2490
+ static readonly smallFireball: EntityType;
2491
+ static readonly snowball: EntityType;
2492
+ static readonly snowGolem: EntityType;
2493
+ static readonly spider: EntityType;
2494
+ static readonly splashPotion: EntityType;
2495
+ static readonly squid: EntityType;
2496
+ static readonly stray: EntityType;
2497
+ static readonly strider: EntityType;
2498
+ static readonly tadpole: EntityType;
2499
+ static readonly thrownTrident: EntityType;
2500
+ static readonly tnt: EntityType;
2501
+ static readonly tntMinecart: EntityType;
2502
+ static readonly traderLlama: EntityType;
2503
+ static readonly tripodCamera: EntityType;
2504
+ static readonly tropicalfish: EntityType;
2505
+ static readonly turtle: EntityType;
2506
+ static readonly vex: EntityType;
2507
+ static readonly villager: EntityType;
2508
+ static readonly villagerV2: EntityType;
2509
+ static readonly vindicator: EntityType;
2510
+ static readonly wanderingTrader: EntityType;
2511
+ static readonly warden: EntityType;
2512
+ static readonly witch: EntityType;
2513
+ static readonly wither: EntityType;
2514
+ static readonly witherSkeleton: EntityType;
2515
+ static readonly witherSkull: EntityType;
2516
+ static readonly witherSkullDangerous: EntityType;
2517
+ static readonly wolf: EntityType;
2518
+ static readonly xpBottle: EntityType;
2519
+ static readonly xpOrb: EntityType;
2520
+ static readonly zoglin: EntityType;
2521
+ static readonly zombie: EntityType;
2522
+ static readonly zombieHorse: EntityType;
2523
+ static readonly zombiePigman: EntityType;
2524
+ static readonly zombieVillager: EntityType;
2525
+ static readonly zombieVillagerV2: EntityType;
2526
+ protected constructor();
2527
+ }
2528
+ // tslint:disable-next-line:no-unnecessary-class
2529
+ export class MinecraftItemTypes {
2530
+ static readonly acaciaBoat: ItemType;
2531
+ static readonly acaciaButton: ItemType;
2532
+ static readonly acaciaChestBoat: ItemType;
2533
+ static readonly acaciaDoor: ItemType;
2534
+ static readonly acaciaFenceGate: ItemType;
2535
+ static readonly acaciaPressurePlate: ItemType;
2536
+ static readonly acaciaSign: ItemType;
2537
+ static readonly acaciaStairs: ItemType;
2538
+ static readonly acaciaTrapdoor: ItemType;
2539
+ static readonly activatorRail: ItemType;
2540
+ static readonly allaySpawnEgg: ItemType;
2541
+ static readonly allow: ItemType;
2542
+ static readonly amethystBlock: ItemType;
2543
+ static readonly amethystCluster: ItemType;
2544
+ static readonly amethystShard: ItemType;
2545
+ static readonly ancientDebris: ItemType;
2546
+ static readonly andesiteStairs: ItemType;
2547
+ static readonly anvil: ItemType;
2548
+ static readonly apple: ItemType;
2549
+ static readonly armorStand: ItemType;
2550
+ static readonly arrow: ItemType;
2551
+ static readonly axolotlBucket: ItemType;
2552
+ static readonly axolotlSpawnEgg: ItemType;
2553
+ static readonly azalea: ItemType;
2554
+ static readonly azaleaLeaves: ItemType;
2555
+ static readonly azaleaLeavesFlowered: ItemType;
2556
+ static readonly bakedPotato: ItemType;
2557
+ static readonly bamboo: ItemType;
2558
+ static readonly banner: ItemType;
2559
+ static readonly bannerPattern: ItemType;
2560
+ static readonly barrel: ItemType;
2561
+ static readonly barrier: ItemType;
2562
+ static readonly basalt: ItemType;
2563
+ static readonly batSpawnEgg: ItemType;
2564
+ static readonly beacon: ItemType;
2565
+ static readonly bed: ItemType;
2566
+ static readonly bedrock: ItemType;
2567
+ static readonly beef: ItemType;
2568
+ static readonly beehive: ItemType;
2569
+ static readonly beeNest: ItemType;
2570
+ static readonly beeSpawnEgg: ItemType;
2571
+ static readonly beetroot: ItemType;
2572
+ static readonly beetrootSeeds: ItemType;
2573
+ static readonly beetrootSoup: ItemType;
2574
+ static readonly bell: ItemType;
2575
+ static readonly bigDripleaf: ItemType;
2576
+ static readonly birchBoat: ItemType;
2577
+ static readonly birchButton: ItemType;
2578
+ static readonly birchChestBoat: ItemType;
2579
+ static readonly birchDoor: ItemType;
2580
+ static readonly birchFenceGate: ItemType;
2581
+ static readonly birchPressurePlate: ItemType;
2582
+ static readonly birchSign: ItemType;
2583
+ static readonly birchStairs: ItemType;
2584
+ static readonly birchTrapdoor: ItemType;
2585
+ static readonly blackCandle: ItemType;
2586
+ static readonly blackDye: ItemType;
2587
+ static readonly blackGlazedTerracotta: ItemType;
2588
+ static readonly blackstone: ItemType;
2589
+ static readonly blackstoneSlab: ItemType;
2590
+ static readonly blackstoneStairs: ItemType;
2591
+ static readonly blackstoneWall: ItemType;
2592
+ static readonly blastFurnace: ItemType;
2593
+ static readonly blazePowder: ItemType;
2594
+ static readonly blazeRod: ItemType;
2595
+ static readonly blazeSpawnEgg: ItemType;
2596
+ static readonly blueCandle: ItemType;
2597
+ static readonly blueDye: ItemType;
2598
+ static readonly blueGlazedTerracotta: ItemType;
2599
+ static readonly blueIce: ItemType;
2600
+ static readonly boat: ItemType;
2601
+ static readonly bone: ItemType;
2602
+ static readonly boneBlock: ItemType;
2603
+ static readonly boneMeal: ItemType;
2604
+ static readonly book: ItemType;
2605
+ static readonly bookshelf: ItemType;
2606
+ static readonly borderBlock: ItemType;
2607
+ static readonly bordureIndentedBannerPattern: ItemType;
2608
+ static readonly bow: ItemType;
2609
+ static readonly bowl: ItemType;
2610
+ static readonly bread: ItemType;
2611
+ static readonly brewingStand: ItemType;
2612
+ static readonly brick: ItemType;
2613
+ static readonly brickBlock: ItemType;
2614
+ static readonly brickStairs: ItemType;
2615
+ static readonly brownCandle: ItemType;
2616
+ static readonly brownDye: ItemType;
2617
+ static readonly brownGlazedTerracotta: ItemType;
2618
+ static readonly brownMushroom: ItemType;
2619
+ static readonly brownMushroomBlock: ItemType;
2620
+ static readonly bucket: ItemType;
2621
+ static readonly buddingAmethyst: ItemType;
2622
+ static readonly cactus: ItemType;
2623
+ static readonly cake: ItemType;
2624
+ static readonly calcite: ItemType;
2625
+ static readonly campfire: ItemType;
2626
+ static readonly candle: ItemType;
2627
+ static readonly carpet: ItemType;
2628
+ static readonly carrot: ItemType;
2629
+ static readonly carrotOnAStick: ItemType;
2630
+ static readonly cartographyTable: ItemType;
2631
+ static readonly carvedPumpkin: ItemType;
2632
+ static readonly catSpawnEgg: ItemType;
2633
+ static readonly cauldron: ItemType;
2634
+ static readonly caveSpiderSpawnEgg: ItemType;
2635
+ static readonly chain: ItemType;
2636
+ static readonly chainCommandBlock: ItemType;
2637
+ static readonly chainmailBoots: ItemType;
2638
+ static readonly chainmailChestplate: ItemType;
2639
+ static readonly chainmailHelmet: ItemType;
2640
+ static readonly chainmailLeggings: ItemType;
2641
+ static readonly charcoal: ItemType;
2642
+ static readonly chest: ItemType;
2643
+ static readonly chestBoat: ItemType;
2644
+ static readonly chestMinecart: ItemType;
2645
+ static readonly chicken: ItemType;
2646
+ static readonly chickenSpawnEgg: ItemType;
2647
+ static readonly chiseledDeepslate: ItemType;
2648
+ static readonly chiseledNetherBricks: ItemType;
2649
+ static readonly chiseledPolishedBlackstone: ItemType;
2650
+ static readonly chorusFlower: ItemType;
2651
+ static readonly chorusFruit: ItemType;
2652
+ static readonly chorusPlant: ItemType;
2653
+ static readonly clay: ItemType;
2654
+ static readonly clayBall: ItemType;
2655
+ static readonly clock: ItemType;
2656
+ static readonly coal: ItemType;
2657
+ static readonly coalBlock: ItemType;
2658
+ static readonly coalOre: ItemType;
2659
+ static readonly cobbledDeepslate: ItemType;
2660
+ static readonly cobbledDeepslateSlab: ItemType;
2661
+ static readonly cobbledDeepslateStairs: ItemType;
2662
+ static readonly cobbledDeepslateWall: ItemType;
2663
+ static readonly cobblestone: ItemType;
2664
+ static readonly cobblestoneWall: ItemType;
2665
+ static readonly cocoaBeans: ItemType;
2666
+ static readonly cod: ItemType;
2667
+ static readonly codBucket: ItemType;
2668
+ static readonly codSpawnEgg: ItemType;
2669
+ static readonly commandBlock: ItemType;
2670
+ static readonly commandBlockMinecart: ItemType;
2671
+ static readonly comparator: ItemType;
2672
+ static readonly compass: ItemType;
2673
+ static readonly composter: ItemType;
2674
+ static readonly concrete: ItemType;
2675
+ static readonly concretePowder: ItemType;
2676
+ static readonly conduit: ItemType;
2677
+ static readonly cookedBeef: ItemType;
2678
+ static readonly cookedChicken: ItemType;
2679
+ static readonly cookedCod: ItemType;
2680
+ static readonly cookedMutton: ItemType;
2681
+ static readonly cookedPorkchop: ItemType;
2682
+ static readonly cookedRabbit: ItemType;
2683
+ static readonly cookedSalmon: ItemType;
2684
+ static readonly cookie: ItemType;
2685
+ static readonly copperBlock: ItemType;
2686
+ static readonly copperIngot: ItemType;
2687
+ static readonly copperOre: ItemType;
2688
+ static readonly coral: ItemType;
2689
+ static readonly coralBlock: ItemType;
2690
+ static readonly coralFan: ItemType;
2691
+ static readonly coralFanDead: ItemType;
2692
+ static readonly cowSpawnEgg: ItemType;
2693
+ static readonly crackedDeepslateBricks: ItemType;
2694
+ static readonly crackedDeepslateTiles: ItemType;
2695
+ static readonly crackedNetherBricks: ItemType;
2696
+ static readonly crackedPolishedBlackstoneBricks: ItemType;
2697
+ static readonly craftingTable: ItemType;
2698
+ static readonly creeperBannerPattern: ItemType;
2699
+ static readonly creeperSpawnEgg: ItemType;
2700
+ static readonly crimsonButton: ItemType;
2701
+ static readonly crimsonDoor: ItemType;
2702
+ static readonly crimsonFence: ItemType;
2703
+ static readonly crimsonFenceGate: ItemType;
2704
+ static readonly crimsonFungus: ItemType;
2705
+ static readonly crimsonHyphae: ItemType;
2706
+ static readonly crimsonNylium: ItemType;
2707
+ static readonly crimsonPlanks: ItemType;
2708
+ static readonly crimsonPressurePlate: ItemType;
2709
+ static readonly crimsonRoots: ItemType;
2710
+ static readonly crimsonSign: ItemType;
2711
+ static readonly crimsonSlab: ItemType;
2712
+ static readonly crimsonStairs: ItemType;
2713
+ static readonly crimsonStem: ItemType;
2714
+ static readonly crimsonTrapdoor: ItemType;
2715
+ static readonly crossbow: ItemType;
2716
+ static readonly cryingObsidian: ItemType;
2717
+ static readonly cutCopper: ItemType;
2718
+ static readonly cutCopperSlab: ItemType;
2719
+ static readonly cutCopperStairs: ItemType;
2720
+ static readonly cyanCandle: ItemType;
2721
+ static readonly cyanDye: ItemType;
2722
+ static readonly cyanGlazedTerracotta: ItemType;
2723
+ static readonly darkOakBoat: ItemType;
2724
+ static readonly darkOakButton: ItemType;
2725
+ static readonly darkOakChestBoat: ItemType;
2726
+ static readonly darkOakDoor: ItemType;
2727
+ static readonly darkOakFenceGate: ItemType;
2728
+ static readonly darkOakPressurePlate: ItemType;
2729
+ static readonly darkOakSign: ItemType;
2730
+ static readonly darkOakStairs: ItemType;
2731
+ static readonly darkOakTrapdoor: ItemType;
2732
+ static readonly darkPrismarineStairs: ItemType;
2733
+ static readonly daylightDetector: ItemType;
2734
+ static readonly deadbush: ItemType;
2735
+ static readonly debugStick: ItemType;
2736
+ static readonly deepslate: ItemType;
2737
+ static readonly deepslateBricks: ItemType;
2738
+ static readonly deepslateBrickSlab: ItemType;
2739
+ static readonly deepslateBrickStairs: ItemType;
2740
+ static readonly deepslateBrickWall: ItemType;
2741
+ static readonly deepslateCoalOre: ItemType;
2742
+ static readonly deepslateCopperOre: ItemType;
2743
+ static readonly deepslateDiamondOre: ItemType;
2744
+ static readonly deepslateEmeraldOre: ItemType;
2745
+ static readonly deepslateGoldOre: ItemType;
2746
+ static readonly deepslateIronOre: ItemType;
2747
+ static readonly deepslateLapisOre: ItemType;
2748
+ static readonly deepslateRedstoneOre: ItemType;
2749
+ static readonly deepslateTiles: ItemType;
2750
+ static readonly deepslateTileSlab: ItemType;
2751
+ static readonly deepslateTileStairs: ItemType;
2752
+ static readonly deepslateTileWall: ItemType;
2753
+ static readonly deny: ItemType;
2754
+ static readonly detectorRail: ItemType;
2755
+ static readonly diamond: ItemType;
2756
+ static readonly diamondAxe: ItemType;
2757
+ static readonly diamondBlock: ItemType;
2758
+ static readonly diamondBoots: ItemType;
2759
+ static readonly diamondChestplate: ItemType;
2760
+ static readonly diamondHelmet: ItemType;
2761
+ static readonly diamondHoe: ItemType;
2762
+ static readonly diamondHorseArmor: ItemType;
2763
+ static readonly diamondLeggings: ItemType;
2764
+ static readonly diamondOre: ItemType;
2765
+ static readonly diamondPickaxe: ItemType;
2766
+ static readonly diamondShovel: ItemType;
2767
+ static readonly diamondSword: ItemType;
2768
+ static readonly dioriteStairs: ItemType;
2769
+ static readonly dirt: ItemType;
2770
+ static readonly dirtWithRoots: ItemType;
2771
+ static readonly discFragment5: ItemType;
2772
+ static readonly dispenser: ItemType;
2773
+ static readonly dolphinSpawnEgg: ItemType;
2774
+ static readonly donkeySpawnEgg: ItemType;
2775
+ static readonly doublePlant: ItemType;
2776
+ static readonly dragonBreath: ItemType;
2777
+ static readonly dragonEgg: ItemType;
2778
+ static readonly driedKelp: ItemType;
2779
+ static readonly driedKelpBlock: ItemType;
2780
+ static readonly dripstoneBlock: ItemType;
2781
+ static readonly dropper: ItemType;
2782
+ static readonly drownedSpawnEgg: ItemType;
2783
+ static readonly dye: ItemType;
2784
+ static readonly echoShard: ItemType;
2785
+ static readonly egg: ItemType;
2786
+ static readonly elderGuardianSpawnEgg: ItemType;
2787
+ static readonly elytra: ItemType;
2788
+ static readonly emerald: ItemType;
2789
+ static readonly emeraldBlock: ItemType;
2790
+ static readonly emeraldOre: ItemType;
2791
+ static readonly emptyMap: ItemType;
2792
+ static readonly enchantedBook: ItemType;
2793
+ static readonly enchantedGoldenApple: ItemType;
2794
+ static readonly enchantingTable: ItemType;
2795
+ static readonly endBricks: ItemType;
2796
+ static readonly endBrickStairs: ItemType;
2797
+ static readonly endCrystal: ItemType;
2798
+ static readonly enderChest: ItemType;
2799
+ static readonly enderEye: ItemType;
2800
+ static readonly endermanSpawnEgg: ItemType;
2801
+ static readonly endermiteSpawnEgg: ItemType;
2802
+ static readonly enderPearl: ItemType;
2803
+ static readonly endPortalFrame: ItemType;
2804
+ static readonly endRod: ItemType;
2805
+ static readonly endStone: ItemType;
2806
+ static readonly evokerSpawnEgg: ItemType;
2807
+ static readonly experienceBottle: ItemType;
2808
+ static readonly exposedCopper: ItemType;
2809
+ static readonly exposedCutCopper: ItemType;
2810
+ static readonly exposedCutCopperSlab: ItemType;
2811
+ static readonly exposedCutCopperStairs: ItemType;
2812
+ static readonly farmland: ItemType;
2813
+ static readonly feather: ItemType;
2814
+ static readonly fence: ItemType;
2815
+ static readonly fenceGate: ItemType;
2816
+ static readonly fermentedSpiderEye: ItemType;
2817
+ static readonly fieldMasonedBannerPattern: ItemType;
2818
+ static readonly filledMap: ItemType;
2819
+ static readonly fireCharge: ItemType;
2820
+ static readonly fireworkRocket: ItemType;
2821
+ static readonly fireworkStar: ItemType;
2822
+ static readonly fishingRod: ItemType;
2823
+ static readonly fletchingTable: ItemType;
2824
+ static readonly flint: ItemType;
2825
+ static readonly flintAndSteel: ItemType;
2826
+ static readonly flowerBannerPattern: ItemType;
2827
+ static readonly floweringAzalea: ItemType;
2828
+ static readonly flowerPot: ItemType;
2829
+ static readonly foxSpawnEgg: ItemType;
2830
+ static readonly frame: ItemType;
2831
+ static readonly frogSpawn: ItemType;
2832
+ static readonly frogSpawnEgg: ItemType;
2833
+ static readonly frostedIce: ItemType;
2834
+ static readonly furnace: ItemType;
2835
+ static readonly ghastSpawnEgg: ItemType;
2836
+ static readonly ghastTear: ItemType;
2837
+ static readonly gildedBlackstone: ItemType;
2838
+ static readonly glass: ItemType;
2839
+ static readonly glassBottle: ItemType;
2840
+ static readonly glassPane: ItemType;
2841
+ static readonly glisteringMelonSlice: ItemType;
2842
+ static readonly globeBannerPattern: ItemType;
2843
+ static readonly glowBerries: ItemType;
2844
+ static readonly glowFrame: ItemType;
2845
+ static readonly glowInkSac: ItemType;
2846
+ static readonly glowLichen: ItemType;
2847
+ static readonly glowSquidSpawnEgg: ItemType;
2848
+ static readonly glowstone: ItemType;
2849
+ static readonly glowstoneDust: ItemType;
2850
+ static readonly goatHorn: ItemType;
2851
+ static readonly goatSpawnEgg: ItemType;
2852
+ static readonly goldBlock: ItemType;
2853
+ static readonly goldenApple: ItemType;
2854
+ static readonly goldenAxe: ItemType;
2855
+ static readonly goldenBoots: ItemType;
2856
+ static readonly goldenCarrot: ItemType;
2857
+ static readonly goldenChestplate: ItemType;
2858
+ static readonly goldenHelmet: ItemType;
2859
+ static readonly goldenHoe: ItemType;
2860
+ static readonly goldenHorseArmor: ItemType;
2861
+ static readonly goldenLeggings: ItemType;
2862
+ static readonly goldenPickaxe: ItemType;
2863
+ static readonly goldenRail: ItemType;
2864
+ static readonly goldenShovel: ItemType;
2865
+ static readonly goldenSword: ItemType;
2866
+ static readonly goldIngot: ItemType;
2867
+ static readonly goldNugget: ItemType;
2868
+ static readonly goldOre: ItemType;
2869
+ static readonly graniteStairs: ItemType;
2870
+ static readonly grass: ItemType;
2871
+ static readonly grassPath: ItemType;
2872
+ static readonly gravel: ItemType;
2873
+ static readonly grayCandle: ItemType;
2874
+ static readonly grayDye: ItemType;
2875
+ static readonly grayGlazedTerracotta: ItemType;
2876
+ static readonly greenCandle: ItemType;
2877
+ static readonly greenDye: ItemType;
2878
+ static readonly greenGlazedTerracotta: ItemType;
2879
+ static readonly grindstone: ItemType;
2880
+ static readonly guardianSpawnEgg: ItemType;
2881
+ static readonly gunpowder: ItemType;
2882
+ static readonly hangingRoots: ItemType;
2883
+ static readonly hardenedClay: ItemType;
2884
+ static readonly hayBlock: ItemType;
2885
+ static readonly heartOfTheSea: ItemType;
2886
+ static readonly heavyWeightedPressurePlate: ItemType;
2887
+ static readonly hoglinSpawnEgg: ItemType;
2888
+ static readonly honeyBlock: ItemType;
2889
+ static readonly honeyBottle: ItemType;
2890
+ static readonly honeycomb: ItemType;
2891
+ static readonly honeycombBlock: ItemType;
2892
+ static readonly hopper: ItemType;
2893
+ static readonly hopperMinecart: ItemType;
2894
+ static readonly horseSpawnEgg: ItemType;
2895
+ static readonly huskSpawnEgg: ItemType;
2896
+ static readonly ice: ItemType;
2897
+ static readonly infestedDeepslate: ItemType;
2898
+ static readonly inkSac: ItemType;
2899
+ static readonly ironAxe: ItemType;
2900
+ static readonly ironBars: ItemType;
2901
+ static readonly ironBlock: ItemType;
2902
+ static readonly ironBoots: ItemType;
2903
+ static readonly ironChestplate: ItemType;
2904
+ static readonly ironDoor: ItemType;
2905
+ static readonly ironHelmet: ItemType;
2906
+ static readonly ironHoe: ItemType;
2907
+ static readonly ironHorseArmor: ItemType;
2908
+ static readonly ironIngot: ItemType;
2909
+ static readonly ironLeggings: ItemType;
2910
+ static readonly ironNugget: ItemType;
2911
+ static readonly ironOre: ItemType;
2912
+ static readonly ironPickaxe: ItemType;
2913
+ static readonly ironShovel: ItemType;
2914
+ static readonly ironSword: ItemType;
2915
+ static readonly ironTrapdoor: ItemType;
2916
+ static readonly jigsaw: ItemType;
2917
+ static readonly jukebox: ItemType;
2918
+ static readonly jungleBoat: ItemType;
2919
+ static readonly jungleButton: ItemType;
2920
+ static readonly jungleChestBoat: ItemType;
2921
+ static readonly jungleDoor: ItemType;
2922
+ static readonly jungleFenceGate: ItemType;
2923
+ static readonly junglePressurePlate: ItemType;
2924
+ static readonly jungleSign: ItemType;
2925
+ static readonly jungleStairs: ItemType;
2926
+ static readonly jungleTrapdoor: ItemType;
2927
+ static readonly kelp: ItemType;
2928
+ static readonly ladder: ItemType;
2929
+ static readonly lantern: ItemType;
2930
+ static readonly lapisBlock: ItemType;
2931
+ static readonly lapisLazuli: ItemType;
2932
+ static readonly lapisOre: ItemType;
2933
+ static readonly largeAmethystBud: ItemType;
2934
+ static readonly lavaBucket: ItemType;
2935
+ static readonly lead: ItemType;
2936
+ static readonly leather: ItemType;
2937
+ static readonly leatherBoots: ItemType;
2938
+ static readonly leatherChestplate: ItemType;
2939
+ static readonly leatherHelmet: ItemType;
2940
+ static readonly leatherHorseArmor: ItemType;
2941
+ static readonly leatherLeggings: ItemType;
2942
+ static readonly leaves: ItemType;
2943
+ static readonly leaves2: ItemType;
2944
+ static readonly lectern: ItemType;
2945
+ static readonly lever: ItemType;
2946
+ static readonly lightBlock: ItemType;
2947
+ static readonly lightBlueCandle: ItemType;
2948
+ static readonly lightBlueDye: ItemType;
2949
+ static readonly lightBlueGlazedTerracotta: ItemType;
2950
+ static readonly lightGrayCandle: ItemType;
2951
+ static readonly lightGrayDye: ItemType;
2952
+ static readonly lightningRod: ItemType;
2953
+ static readonly lightWeightedPressurePlate: ItemType;
2954
+ static readonly limeCandle: ItemType;
2955
+ static readonly limeDye: ItemType;
2956
+ static readonly limeGlazedTerracotta: ItemType;
2957
+ static readonly lingeringPotion: ItemType;
2958
+ static readonly litPumpkin: ItemType;
2959
+ static readonly llamaSpawnEgg: ItemType;
2960
+ static readonly lodestone: ItemType;
2961
+ static readonly lodestoneCompass: ItemType;
2962
+ static readonly log: ItemType;
2963
+ static readonly log2: ItemType;
2964
+ static readonly loom: ItemType;
2965
+ static readonly magentaCandle: ItemType;
2966
+ static readonly magentaDye: ItemType;
2967
+ static readonly magentaGlazedTerracotta: ItemType;
2968
+ static readonly magma: ItemType;
2969
+ static readonly magmaCream: ItemType;
2970
+ static readonly magmaCubeSpawnEgg: ItemType;
2971
+ static readonly mangroveBoat: ItemType;
2972
+ static readonly mangroveButton: ItemType;
2973
+ static readonly mangroveChestBoat: ItemType;
2974
+ static readonly mangroveDoor: ItemType;
2975
+ static readonly mangroveFence: ItemType;
2976
+ static readonly mangroveFenceGate: ItemType;
2977
+ static readonly mangroveLeaves: ItemType;
2978
+ static readonly mangroveLog: ItemType;
2979
+ static readonly mangrovePlanks: ItemType;
2980
+ static readonly mangrovePressurePlate: ItemType;
2981
+ static readonly mangrovePropagule: ItemType;
2982
+ static readonly mangroveRoots: ItemType;
2983
+ static readonly mangroveSign: ItemType;
2984
+ static readonly mangroveSlab: ItemType;
2985
+ static readonly mangroveStairs: ItemType;
2986
+ static readonly mangroveTrapdoor: ItemType;
2987
+ static readonly mangroveWood: ItemType;
2988
+ static readonly mediumAmethystBud: ItemType;
2989
+ static readonly melonBlock: ItemType;
2990
+ static readonly melonSeeds: ItemType;
2991
+ static readonly melonSlice: ItemType;
2992
+ static readonly milkBucket: ItemType;
2993
+ static readonly minecart: ItemType;
2994
+ static readonly mobSpawner: ItemType;
2995
+ static readonly mojangBannerPattern: ItemType;
2996
+ static readonly monsterEgg: ItemType;
2997
+ static readonly mooshroomSpawnEgg: ItemType;
2998
+ static readonly mossBlock: ItemType;
2999
+ static readonly mossCarpet: ItemType;
3000
+ static readonly mossyCobblestone: ItemType;
3001
+ static readonly mossyCobblestoneStairs: ItemType;
3002
+ static readonly mossyStoneBrickStairs: ItemType;
3003
+ static readonly mud: ItemType;
3004
+ static readonly mudBricks: ItemType;
3005
+ static readonly mudBrickSlab: ItemType;
3006
+ static readonly mudBrickStairs: ItemType;
3007
+ static readonly mudBrickWall: ItemType;
3008
+ static readonly muddyMangroveRoots: ItemType;
3009
+ static readonly muleSpawnEgg: ItemType;
3010
+ static readonly mushroomStew: ItemType;
3011
+ static readonly musicDisc11: ItemType;
3012
+ static readonly musicDisc13: ItemType;
3013
+ static readonly musicDisc5: ItemType;
3014
+ static readonly musicDiscBlocks: ItemType;
3015
+ static readonly musicDiscCat: ItemType;
3016
+ static readonly musicDiscChirp: ItemType;
3017
+ static readonly musicDiscFar: ItemType;
3018
+ static readonly musicDiscMall: ItemType;
3019
+ static readonly musicDiscMellohi: ItemType;
3020
+ static readonly musicDiscOtherside: ItemType;
3021
+ static readonly musicDiscPigstep: ItemType;
3022
+ static readonly musicDiscStal: ItemType;
3023
+ static readonly musicDiscStrad: ItemType;
3024
+ static readonly musicDiscWait: ItemType;
3025
+ static readonly musicDiscWard: ItemType;
3026
+ static readonly mutton: ItemType;
3027
+ static readonly mycelium: ItemType;
3028
+ static readonly nameTag: ItemType;
3029
+ static readonly nautilusShell: ItemType;
3030
+ static readonly netherbrick: ItemType;
3031
+ static readonly netherBrick: ItemType;
3032
+ static readonly netherBrickFence: ItemType;
3033
+ static readonly netherBrickStairs: ItemType;
3034
+ static readonly netherGoldOre: ItemType;
3035
+ static readonly netheriteAxe: ItemType;
3036
+ static readonly netheriteBlock: ItemType;
3037
+ static readonly netheriteBoots: ItemType;
3038
+ static readonly netheriteChestplate: ItemType;
3039
+ static readonly netheriteHelmet: ItemType;
3040
+ static readonly netheriteHoe: ItemType;
3041
+ static readonly netheriteIngot: ItemType;
3042
+ static readonly netheriteLeggings: ItemType;
3043
+ static readonly netheritePickaxe: ItemType;
3044
+ static readonly netheriteScrap: ItemType;
3045
+ static readonly netheriteShovel: ItemType;
3046
+ static readonly netheriteSword: ItemType;
3047
+ static readonly netherrack: ItemType;
3048
+ static readonly netherSprouts: ItemType;
3049
+ static readonly netherStar: ItemType;
3050
+ static readonly netherWart: ItemType;
3051
+ static readonly netherWartBlock: ItemType;
3052
+ static readonly normalStoneStairs: ItemType;
3053
+ static readonly noteblock: ItemType;
3054
+ static readonly oakBoat: ItemType;
3055
+ static readonly oakChestBoat: ItemType;
3056
+ static readonly oakSign: ItemType;
3057
+ static readonly oakStairs: ItemType;
3058
+ static readonly observer: ItemType;
3059
+ static readonly obsidian: ItemType;
3060
+ static readonly ocelotSpawnEgg: ItemType;
3061
+ static readonly ochreFroglight: ItemType;
3062
+ static readonly orangeCandle: ItemType;
3063
+ static readonly orangeDye: ItemType;
3064
+ static readonly orangeGlazedTerracotta: ItemType;
3065
+ static readonly oxidizedCopper: ItemType;
3066
+ static readonly oxidizedCutCopper: ItemType;
3067
+ static readonly oxidizedCutCopperSlab: ItemType;
3068
+ static readonly oxidizedCutCopperStairs: ItemType;
3069
+ static readonly packedIce: ItemType;
3070
+ static readonly packedMud: ItemType;
3071
+ static readonly painting: ItemType;
3072
+ static readonly pandaSpawnEgg: ItemType;
3073
+ static readonly paper: ItemType;
3074
+ static readonly parrotSpawnEgg: ItemType;
3075
+ static readonly pearlescentFroglight: ItemType;
3076
+ static readonly phantomMembrane: ItemType;
3077
+ static readonly phantomSpawnEgg: ItemType;
3078
+ static readonly piglinBannerPattern: ItemType;
3079
+ static readonly piglinBruteSpawnEgg: ItemType;
3080
+ static readonly piglinSpawnEgg: ItemType;
3081
+ static readonly pigSpawnEgg: ItemType;
3082
+ static readonly pillagerSpawnEgg: ItemType;
3083
+ static readonly pinkCandle: ItemType;
3084
+ static readonly pinkDye: ItemType;
3085
+ static readonly pinkGlazedTerracotta: ItemType;
3086
+ static readonly piston: ItemType;
3087
+ static readonly planks: ItemType;
3088
+ static readonly podzol: ItemType;
3089
+ static readonly pointedDripstone: ItemType;
3090
+ static readonly poisonousPotato: ItemType;
3091
+ static readonly polarBearSpawnEgg: ItemType;
3092
+ static readonly polishedAndesiteStairs: ItemType;
3093
+ static readonly polishedBasalt: ItemType;
3094
+ static readonly polishedBlackstone: ItemType;
3095
+ static readonly polishedBlackstoneBricks: ItemType;
3096
+ static readonly polishedBlackstoneBrickSlab: ItemType;
3097
+ static readonly polishedBlackstoneBrickStairs: ItemType;
3098
+ static readonly polishedBlackstoneBrickWall: ItemType;
3099
+ static readonly polishedBlackstoneButton: ItemType;
3100
+ static readonly polishedBlackstonePressurePlate: ItemType;
3101
+ static readonly polishedBlackstoneSlab: ItemType;
3102
+ static readonly polishedBlackstoneStairs: ItemType;
3103
+ static readonly polishedBlackstoneWall: ItemType;
3104
+ static readonly polishedDeepslate: ItemType;
3105
+ static readonly polishedDeepslateSlab: ItemType;
3106
+ static readonly polishedDeepslateStairs: ItemType;
3107
+ static readonly polishedDeepslateWall: ItemType;
3108
+ static readonly polishedDioriteStairs: ItemType;
3109
+ static readonly polishedGraniteStairs: ItemType;
3110
+ static readonly poppedChorusFruit: ItemType;
3111
+ static readonly porkchop: ItemType;
3112
+ static readonly potato: ItemType;
3113
+ static readonly potion: ItemType;
3114
+ static readonly powderSnowBucket: ItemType;
3115
+ static readonly prismarine: ItemType;
3116
+ static readonly prismarineBricksStairs: ItemType;
3117
+ static readonly prismarineCrystals: ItemType;
3118
+ static readonly prismarineShard: ItemType;
3119
+ static readonly prismarineStairs: ItemType;
3120
+ static readonly pufferfish: ItemType;
3121
+ static readonly pufferfishBucket: ItemType;
3122
+ static readonly pufferfishSpawnEgg: ItemType;
3123
+ static readonly pumpkin: ItemType;
3124
+ static readonly pumpkinPie: ItemType;
3125
+ static readonly pumpkinSeeds: ItemType;
3126
+ static readonly purpleCandle: ItemType;
3127
+ static readonly purpleDye: ItemType;
3128
+ static readonly purpleGlazedTerracotta: ItemType;
3129
+ static readonly purpurBlock: ItemType;
3130
+ static readonly purpurStairs: ItemType;
3131
+ static readonly quartz: ItemType;
3132
+ static readonly quartzBlock: ItemType;
3133
+ static readonly quartzBricks: ItemType;
3134
+ static readonly quartzOre: ItemType;
3135
+ static readonly quartzStairs: ItemType;
3136
+ static readonly rabbit: ItemType;
3137
+ static readonly rabbitFoot: ItemType;
3138
+ static readonly rabbitHide: ItemType;
3139
+ static readonly rabbitSpawnEgg: ItemType;
3140
+ static readonly rabbitStew: ItemType;
3141
+ static readonly rail: ItemType;
3142
+ static readonly ravagerSpawnEgg: ItemType;
3143
+ static readonly rawCopper: ItemType;
3144
+ static readonly rawCopperBlock: ItemType;
3145
+ static readonly rawGold: ItemType;
3146
+ static readonly rawGoldBlock: ItemType;
3147
+ static readonly rawIron: ItemType;
3148
+ static readonly rawIronBlock: ItemType;
3149
+ static readonly recoveryCompass: ItemType;
3150
+ static readonly redCandle: ItemType;
3151
+ static readonly redDye: ItemType;
3152
+ static readonly redFlower: ItemType;
3153
+ static readonly redGlazedTerracotta: ItemType;
3154
+ static readonly redMushroom: ItemType;
3155
+ static readonly redMushroomBlock: ItemType;
3156
+ static readonly redNetherBrick: ItemType;
3157
+ static readonly redNetherBrickStairs: ItemType;
3158
+ static readonly redSandstone: ItemType;
3159
+ static readonly redSandstoneStairs: ItemType;
3160
+ static readonly redstone: ItemType;
3161
+ static readonly redstoneBlock: ItemType;
3162
+ static readonly redstoneLamp: ItemType;
3163
+ static readonly redstoneOre: ItemType;
3164
+ static readonly redstoneTorch: ItemType;
3165
+ static readonly reinforcedDeepslate: ItemType;
3166
+ static readonly repeater: ItemType;
3167
+ static readonly repeatingCommandBlock: ItemType;
3168
+ static readonly respawnAnchor: ItemType;
3169
+ static readonly rottenFlesh: ItemType;
3170
+ static readonly saddle: ItemType;
3171
+ static readonly salmon: ItemType;
3172
+ static readonly salmonBucket: ItemType;
3173
+ static readonly salmonSpawnEgg: ItemType;
3174
+ static readonly sand: ItemType;
3175
+ static readonly sandstone: ItemType;
3176
+ static readonly sandstoneStairs: ItemType;
3177
+ static readonly sapling: ItemType;
3178
+ static readonly scaffolding: ItemType;
3179
+ static readonly sculk: ItemType;
3180
+ static readonly sculkCatalyst: ItemType;
3181
+ static readonly sculkSensor: ItemType;
3182
+ static readonly sculkShrieker: ItemType;
3183
+ static readonly sculkVein: ItemType;
3184
+ static readonly scute: ItemType;
3185
+ static readonly seagrass: ItemType;
3186
+ static readonly seaLantern: ItemType;
3187
+ static readonly seaPickle: ItemType;
3188
+ static readonly shears: ItemType;
3189
+ static readonly sheepSpawnEgg: ItemType;
3190
+ static readonly shield: ItemType;
3191
+ static readonly shroomlight: ItemType;
3192
+ static readonly shulkerBox: ItemType;
3193
+ static readonly shulkerShell: ItemType;
3194
+ static readonly shulkerSpawnEgg: ItemType;
3195
+ static readonly silverfishSpawnEgg: ItemType;
3196
+ static readonly silverGlazedTerracotta: ItemType;
3197
+ static readonly skeletonHorseSpawnEgg: ItemType;
3198
+ static readonly skeletonSpawnEgg: ItemType;
3199
+ static readonly skull: ItemType;
3200
+ static readonly skullBannerPattern: ItemType;
3201
+ static readonly slime: ItemType;
3202
+ static readonly slimeBall: ItemType;
3203
+ static readonly slimeSpawnEgg: ItemType;
3204
+ static readonly smallAmethystBud: ItemType;
3205
+ static readonly smallDripleafBlock: ItemType;
3206
+ static readonly smithingTable: ItemType;
3207
+ static readonly smoker: ItemType;
3208
+ static readonly smoothBasalt: ItemType;
3209
+ static readonly smoothQuartzStairs: ItemType;
3210
+ static readonly smoothRedSandstoneStairs: ItemType;
3211
+ static readonly smoothSandstoneStairs: ItemType;
3212
+ static readonly smoothStone: ItemType;
3213
+ static readonly snow: ItemType;
3214
+ static readonly snowball: ItemType;
3215
+ static readonly snowLayer: ItemType;
3216
+ static readonly soulCampfire: ItemType;
3217
+ static readonly soulLantern: ItemType;
3218
+ static readonly soulSand: ItemType;
3219
+ static readonly soulSoil: ItemType;
3220
+ static readonly soulTorch: ItemType;
3221
+ static readonly spawnEgg: ItemType;
3222
+ static readonly spiderEye: ItemType;
3223
+ static readonly spiderSpawnEgg: ItemType;
3224
+ static readonly splashPotion: ItemType;
3225
+ static readonly sponge: ItemType;
3226
+ static readonly sporeBlossom: ItemType;
3227
+ static readonly spruceBoat: ItemType;
3228
+ static readonly spruceButton: ItemType;
3229
+ static readonly spruceChestBoat: ItemType;
3230
+ static readonly spruceDoor: ItemType;
3231
+ static readonly spruceFenceGate: ItemType;
3232
+ static readonly sprucePressurePlate: ItemType;
3233
+ static readonly spruceSign: ItemType;
3234
+ static readonly spruceStairs: ItemType;
3235
+ static readonly spruceTrapdoor: ItemType;
3236
+ static readonly spyglass: ItemType;
3237
+ static readonly squidSpawnEgg: ItemType;
3238
+ static readonly stainedGlass: ItemType;
3239
+ static readonly stainedGlassPane: ItemType;
3240
+ static readonly stainedHardenedClay: ItemType;
3241
+ static readonly stick: ItemType;
3242
+ static readonly stickyPiston: ItemType;
3243
+ static readonly stone: ItemType;
3244
+ static readonly stoneAxe: ItemType;
3245
+ static readonly stoneBlockSlab: ItemType;
3246
+ static readonly stoneBlockSlab2: ItemType;
3247
+ static readonly stoneBlockSlab3: ItemType;
3248
+ static readonly stoneBlockSlab4: ItemType;
3249
+ static readonly stonebrick: ItemType;
3250
+ static readonly stoneBrickStairs: ItemType;
3251
+ static readonly stoneButton: ItemType;
3252
+ static readonly stonecutterBlock: ItemType;
3253
+ static readonly stoneHoe: ItemType;
3254
+ static readonly stonePickaxe: ItemType;
3255
+ static readonly stonePressurePlate: ItemType;
3256
+ static readonly stoneShovel: ItemType;
3257
+ static readonly stoneStairs: ItemType;
3258
+ static readonly stoneSword: ItemType;
3259
+ static readonly straySpawnEgg: ItemType;
3260
+ static readonly striderSpawnEgg: ItemType;
3261
+ static readonly string: ItemType;
3262
+ static readonly strippedAcaciaLog: ItemType;
3263
+ static readonly strippedBirchLog: ItemType;
3264
+ static readonly strippedCrimsonHyphae: ItemType;
3265
+ static readonly strippedCrimsonStem: ItemType;
3266
+ static readonly strippedDarkOakLog: ItemType;
3267
+ static readonly strippedJungleLog: ItemType;
3268
+ static readonly strippedMangroveLog: ItemType;
3269
+ static readonly strippedMangroveWood: ItemType;
3270
+ static readonly strippedOakLog: ItemType;
3271
+ static readonly strippedSpruceLog: ItemType;
3272
+ static readonly strippedWarpedHyphae: ItemType;
3273
+ static readonly strippedWarpedStem: ItemType;
3274
+ static readonly structureBlock: ItemType;
3275
+ static readonly structureVoid: ItemType;
3276
+ static readonly sugar: ItemType;
3277
+ static readonly sugarCane: ItemType;
3278
+ static readonly suspiciousStew: ItemType;
3279
+ static readonly sweetBerries: ItemType;
3280
+ static readonly tadpoleBucket: ItemType;
3281
+ static readonly tadpoleSpawnEgg: ItemType;
3282
+ static readonly tallgrass: ItemType;
3283
+ static readonly target: ItemType;
3284
+ static readonly tintedGlass: ItemType;
3285
+ static readonly tnt: ItemType;
3286
+ static readonly tntMinecart: ItemType;
3287
+ static readonly torch: ItemType;
3288
+ static readonly totemOfUndying: ItemType;
3289
+ static readonly traderLlamaSpawnEgg: ItemType;
3290
+ static readonly trapdoor: ItemType;
3291
+ static readonly trappedChest: ItemType;
3292
+ static readonly trident: ItemType;
3293
+ static readonly tripwireHook: ItemType;
3294
+ static readonly tropicalFish: ItemType;
3295
+ static readonly tropicalFishBucket: ItemType;
3296
+ static readonly tropicalFishSpawnEgg: ItemType;
3297
+ static readonly tuff: ItemType;
3298
+ static readonly turtleEgg: ItemType;
3299
+ static readonly turtleHelmet: ItemType;
3300
+ static readonly turtleSpawnEgg: ItemType;
3301
+ static readonly twistingVines: ItemType;
3302
+ static readonly undyedShulkerBox: ItemType;
3303
+ static readonly verdantFroglight: ItemType;
3304
+ static readonly vexSpawnEgg: ItemType;
3305
+ static readonly villagerSpawnEgg: ItemType;
3306
+ static readonly vindicatorSpawnEgg: ItemType;
3307
+ static readonly vine: ItemType;
3308
+ static readonly wanderingTraderSpawnEgg: ItemType;
3309
+ static readonly wardenSpawnEgg: ItemType;
3310
+ static readonly warpedButton: ItemType;
3311
+ static readonly warpedDoor: ItemType;
3312
+ static readonly warpedFence: ItemType;
3313
+ static readonly warpedFenceGate: ItemType;
3314
+ static readonly warpedFungus: ItemType;
3315
+ static readonly warpedFungusOnAStick: ItemType;
3316
+ static readonly warpedHyphae: ItemType;
3317
+ static readonly warpedNylium: ItemType;
3318
+ static readonly warpedPlanks: ItemType;
3319
+ static readonly warpedPressurePlate: ItemType;
3320
+ static readonly warpedRoots: ItemType;
3321
+ static readonly warpedSign: ItemType;
3322
+ static readonly warpedSlab: ItemType;
3323
+ static readonly warpedStairs: ItemType;
3324
+ static readonly warpedStem: ItemType;
3325
+ static readonly warpedTrapdoor: ItemType;
3326
+ static readonly warpedWartBlock: ItemType;
3327
+ static readonly waterBucket: ItemType;
3328
+ static readonly waterlily: ItemType;
3329
+ static readonly waxedCopper: ItemType;
3330
+ static readonly waxedCutCopper: ItemType;
3331
+ static readonly waxedCutCopperSlab: ItemType;
3332
+ static readonly waxedCutCopperStairs: ItemType;
3333
+ static readonly waxedExposedCopper: ItemType;
3334
+ static readonly waxedExposedCutCopper: ItemType;
3335
+ static readonly waxedExposedCutCopperSlab: ItemType;
3336
+ static readonly waxedExposedCutCopperStairs: ItemType;
3337
+ static readonly waxedOxidizedCopper: ItemType;
3338
+ static readonly waxedOxidizedCutCopper: ItemType;
3339
+ static readonly waxedOxidizedCutCopperSlab: ItemType;
3340
+ static readonly waxedOxidizedCutCopperStairs: ItemType;
3341
+ static readonly waxedWeatheredCopper: ItemType;
3342
+ static readonly waxedWeatheredCutCopper: ItemType;
3343
+ static readonly waxedWeatheredCutCopperSlab: ItemType;
3344
+ static readonly waxedWeatheredCutCopperStairs: ItemType;
3345
+ static readonly weatheredCopper: ItemType;
3346
+ static readonly weatheredCutCopper: ItemType;
3347
+ static readonly weatheredCutCopperSlab: ItemType;
3348
+ static readonly weatheredCutCopperStairs: ItemType;
3349
+ static readonly web: ItemType;
3350
+ static readonly weepingVines: ItemType;
3351
+ static readonly wheat: ItemType;
3352
+ static readonly wheatSeeds: ItemType;
3353
+ static readonly whiteCandle: ItemType;
3354
+ static readonly whiteDye: ItemType;
3355
+ static readonly whiteGlazedTerracotta: ItemType;
3356
+ static readonly witchSpawnEgg: ItemType;
3357
+ static readonly witherRose: ItemType;
3358
+ static readonly witherSkeletonSpawnEgg: ItemType;
3359
+ static readonly wolfSpawnEgg: ItemType;
3360
+ static readonly wood: ItemType;
3361
+ static readonly woodenAxe: ItemType;
3362
+ static readonly woodenButton: ItemType;
3363
+ static readonly woodenDoor: ItemType;
3364
+ static readonly woodenHoe: ItemType;
3365
+ static readonly woodenPickaxe: ItemType;
3366
+ static readonly woodenPressurePlate: ItemType;
3367
+ static readonly woodenShovel: ItemType;
3368
+ static readonly woodenSlab: ItemType;
3369
+ static readonly woodenSword: ItemType;
3370
+ static readonly wool: ItemType;
3371
+ static readonly writableBook: ItemType;
3372
+ static readonly yellowCandle: ItemType;
3373
+ static readonly yellowDye: ItemType;
3374
+ static readonly yellowFlower: ItemType;
3375
+ static readonly yellowGlazedTerracotta: ItemType;
3376
+ static readonly zoglinSpawnEgg: ItemType;
3377
+ static readonly zombieHorseSpawnEgg: ItemType;
3378
+ static readonly zombiePigmanSpawnEgg: ItemType;
3379
+ static readonly zombieSpawnEgg: ItemType;
3380
+ static readonly zombieVillagerSpawnEgg: ItemType;
3381
+ protected constructor();
3382
+ }
3383
+ export class MolangVariableMap {
3384
+ setColorRGB(variableName: string, color: Color): MolangVariableMap;
3385
+ setColorRGBA(variableName: string, color: Color): MolangVariableMap;
3386
+ setSpeedAndDirection(variableName: string, speed: number, direction: Vector): MolangVariableMap;
3387
+ setVector3(variableName: string, vector: Vector): MolangVariableMap;
3388
+ }
3389
+ export class NavigationResult {
3390
+ readonly isFullPath: boolean;
3391
+ readonly path: BlockLocation[];
3392
+ protected constructor();
3393
+ }
3394
+ export class NumberRange {
3395
+ max: number;
3396
+ min: number;
3397
+ next(): number;
3398
+ protected constructor();
3399
+ }
3400
+ export class PistonActivateEvent extends BlockEvent {
3401
+ readonly block: Block;
3402
+ readonly dimension: Dimension;
3403
+ readonly isExpanding: boolean;
3404
+ readonly piston: BlockPistonComponent;
3405
+ protected constructor();
3406
+ }
3407
+ export class PistonActivateEventSignal {
3408
+ subscribe(callback: (arg: PistonActivateEvent) => void): (arg: PistonActivateEvent) => void;
3409
+ unsubscribe(callback: (arg: PistonActivateEvent) => void): void;
3410
+ protected constructor();
3411
+ }
3412
+ export class Player extends Entity {
3413
+ readonly dimension: Dimension;
3414
+ readonly headLocation: Location;
3415
+ readonly id: string;
3416
+ isSneaking: boolean;
3417
+ readonly location: Location;
3418
+ readonly name: string;
3419
+ nameTag: string;
3420
+ readonly onScreenDisplay: ScreenDisplay;
3421
+ readonly rotation: XYRotation;
3422
+ readonly scoreboard: ScoreboardIdentity;
3423
+ selectedSlot: number;
3424
+ readonly target: Entity;
3425
+ readonly typeId: string;
3426
+ readonly velocity: Vector;
3427
+ readonly viewVector: Vector;
3428
+ addEffect(effectType: EffectType, duration: number, amplifier?: number, showParticles?: boolean): void;
3429
+ addTag(tag: string): boolean;
3430
+ getBlockFromViewVector(options?: BlockRaycastOptions): Block;
3431
+ getComponent(componentId: string): IEntityComponent;
3432
+ getComponents(): IEntityComponent[];
3433
+ getDynamicProperty(identifier: string): boolean | number | string;
3434
+ getEffect(effectType: EffectType): Effect;
3435
+ getEntitiesFromViewVector(options?: EntityRaycastOptions): Entity[];
3436
+ getItemCooldown(itemCategory: string): number;
3437
+ getTags(): string[];
3438
+ hasComponent(componentId: string): boolean;
3439
+ hasTag(tag: string): boolean;
3440
+ kill(): void;
3441
+ playSound(soundID: string, soundOptions?: SoundOptions): void;
3442
+ postClientMessage(id: string, value: string): void;
3443
+ removeDynamicProperty(identifier: string): boolean;
3444
+ removeTag(tag: string): boolean;
3445
+ runCommand(commandString: string): any;
3446
+ runCommandAsync(commandString: string): Promise<CommandResult>;
3447
+ setDynamicProperty(identifier: string, value: boolean | number | string): void;
3448
+ setRotation(degreesX: number, degreesY: number): void;
3449
+ setVelocity(velocity: IVec3): void;
3450
+ startItemCooldown(itemCategory: string, tickDuration: number): void;
3451
+ teleport(location: IVec3, dimension: Dimension, xRotation: number, yRotation: number, keepVelocity?: boolean): void;
3452
+ teleportFacing(location: IVec3, dimension: Dimension, facingLocation: IVec3, keepVelocity?: boolean): void;
3453
+ tell(message: IRawMessage | string): void;
3454
+ triggerEvent(eventName: string): void;
3455
+ protected constructor();
3456
+ }
3457
+ export class PlayerInventoryComponentContainer extends InventoryComponentContainer {
3458
+ readonly emptySlotsCount: number;
3459
+ readonly size: number;
3460
+ addItem(itemStack: ItemStack): void;
3461
+ getItem(slot: number): ItemStack;
3462
+ setItem(slot: number, itemStack: ItemStack): void;
3463
+ swapItems(slot: number, otherSlot: number, otherContainer: Container): boolean;
3464
+ transferItem(fromSlot: number, toSlot: number, toContainer: Container): boolean;
3465
+ protected constructor();
3466
+ }
3467
+ export class PlayerIterator implements Iterable<Player> {
3468
+ [Symbol.iterator](): Iterator<Player>;
3469
+ next(): IteratorResult<Player>;
3470
+ protected constructor();
3471
+ }
3472
+ export class PlayerJoinEvent {
3473
+ player: Player;
3474
+ protected constructor();
3475
+ }
3476
+ export class PlayerJoinEventSignal {
3477
+ subscribe(callback: (arg: PlayerJoinEvent) => void): (arg: PlayerJoinEvent) => void;
3478
+ unsubscribe(callback: (arg: PlayerJoinEvent) => void): void;
3479
+ protected constructor();
3480
+ }
3481
+ export class PlayerLeaveEvent {
3482
+ readonly playerName: string;
3483
+ protected constructor();
3484
+ }
3485
+ export class PlayerLeaveEventSignal {
3486
+ subscribe(callback: (arg: PlayerLeaveEvent) => void): (arg: PlayerLeaveEvent) => void;
3487
+ unsubscribe(callback: (arg: PlayerLeaveEvent) => void): void;
3488
+ protected constructor();
3489
+ }
3490
+ export class ProjectileHitEvent {
3491
+ readonly blockHit?: BlockHitInformation;
3492
+ readonly dimension: Dimension;
3493
+ readonly entityHit?: EntityHitInformation;
3494
+ readonly hitVector: Vector;
3495
+ readonly location: Location;
3496
+ readonly projectile: Entity;
3497
+ readonly source: Entity;
3498
+ protected constructor();
3499
+ }
3500
+ export class ProjectileHitEventSignal {
3501
+ subscribe(callback: (arg: ProjectileHitEvent) => void): (arg: ProjectileHitEvent) => void;
3502
+ unsubscribe(callback: (arg: ProjectileHitEvent) => void): void;
3503
+ protected constructor();
3504
+ }
3505
+ export class PropertyRegistry {
3506
+ registerEntityTypeDynamicProperties(
3507
+ propertiesDefinition: DynamicPropertiesDefinition,
3508
+ entityType: EntityType,
3509
+ ): void;
3510
+ registerWorldDynamicProperties(propertiesDefinition: DynamicPropertiesDefinition): void;
3511
+ protected constructor();
3512
+ }
3513
+ export class Scoreboard {
3514
+ addObjective(objectiveId: string, displayName: string): ScoreboardObjective;
3515
+ clearObjectiveAtDisplaySlot(displaySlotId: string): ScoreboardObjective;
3516
+ getObjective(objectiveId: string): ScoreboardObjective;
3517
+ getObjectiveAtDisplaySlot(displaySlotId: string): ScoreboardObjectiveDisplayOptions;
3518
+ getObjectives(): ScoreboardObjective[];
3519
+ getParticipants(): ScoreboardIdentity[];
3520
+ removeObjective(objectiveId: ScoreboardObjective | string): boolean;
3521
+ setObjectiveAtDisplaySlot(
3522
+ displaySlotId: string,
3523
+ objectiveDisplaySetting: ScoreboardObjectiveDisplayOptions,
3524
+ ): ScoreboardObjective;
3525
+ protected constructor();
3526
+ }
3527
+ export class ScoreboardIdentity {
3528
+ readonly displayName: string;
3529
+ readonly id: number;
3530
+ readonly 'type': ScoreboardIdentityType;
3531
+ getEntity(): Entity;
3532
+ protected constructor();
3533
+ }
3534
+ export class ScoreboardObjective {
3535
+ readonly displayName: string;
3536
+ readonly id: string;
3537
+ getParticipants(): ScoreboardIdentity[];
3538
+ getScore(participant: ScoreboardIdentity): number;
3539
+ getScores(): ScoreboardScoreInfo[];
3540
+ protected constructor();
3541
+ }
3542
+ export class ScoreboardObjectiveDisplayOptions {
3543
+ readonly objective: ScoreboardObjective;
3544
+ readonly sortOrder: ObjectiveSortOrder;
3545
+ constructor(objective: ScoreboardObjective, sortOrder?: ObjectiveSortOrder);
3546
+ }
3547
+ export class ScoreboardScoreInfo {
3548
+ readonly participant: ScoreboardIdentity;
3549
+ readonly score: number;
3550
+ protected constructor();
3551
+ }
3552
+ export class ScreenDisplay {
3553
+ clearTitle(): void;
3554
+ setActionBar(text: string): void;
3555
+ setTitle(title: string, options?: TitleDisplayOptions): void;
3556
+ updateSubtitle(subtitle: string): void;
3557
+ protected constructor();
3558
+ }
3559
+ export class Seat {
3560
+ readonly lockRiderRotation: number;
3561
+ readonly maxRiderCount: number;
3562
+ readonly minRiderCount: number;
3563
+ readonly position: Location;
3564
+ protected constructor();
3565
+ }
3566
+ export class ServerMessageSignal {
3567
+ subscribe(callback: (arg: MessageReceiveEvent) => void): (arg: MessageReceiveEvent) => void;
3568
+ unsubscribe(callback: (arg: MessageReceiveEvent) => void): void;
3569
+ protected constructor();
3570
+ }
3571
+ export class StringBlockProperty extends IBlockProperty {
3572
+ readonly name: string;
3573
+ readonly validValues: string[];
3574
+ value: string;
3575
+ protected constructor();
3576
+ }
3577
+ export class System {
3578
+ readonly events: SystemEvents;
3579
+ run(callback: (arg: TickEvent) => void): void;
3580
+ protected constructor();
3581
+ }
3582
+ export class SystemEvents {
3583
+ readonly beforeWatchdogTerminate: BeforeWatchdogTerminateEventSignal;
3584
+ protected constructor();
3585
+ }
3586
+ export class TickEvent {
3587
+ readonly currentTick: number;
3588
+ readonly deltaTime: number;
3589
+ protected constructor();
3590
+ }
3591
+ export class TickEventSignal {
3592
+ subscribe(callback: (arg: TickEvent) => void): (arg: TickEvent) => void;
3593
+ unsubscribe(callback: (arg: TickEvent) => void): void;
3594
+ protected constructor();
3595
+ }
3596
+ export class Trigger {
3597
+ eventName: string;
3598
+ constructor(eventName: string);
3599
+ }
3600
+ export class Vector {
3601
+ x: number;
3602
+ y: number;
3603
+ z: number;
3604
+ static readonly back: Vector;
3605
+ static readonly down: Vector;
3606
+ static readonly forward: Vector;
3607
+ static readonly left: Vector;
3608
+ static readonly one: Vector;
3609
+ static readonly right: Vector;
3610
+ static readonly up: Vector;
3611
+ static readonly zero: Vector;
3612
+ static add(a: Vector, b: Vector): Vector;
3613
+ constructor(x: number, y: number, z: number);
3614
+ static cross(a: Vector, b: Vector): Vector;
3615
+ static distance(a: Vector, b: Vector): number;
3616
+ static divide(a: Vector, b: number | Vector): Vector;
3617
+ equals(other: Vector): boolean;
3618
+ length(): number;
3619
+ lengthSquared(): number;
3620
+ static lerp(a: Vector, b: Vector, t: number): Vector;
3621
+ static max(a: Vector, b: Vector): Vector;
3622
+ static min(a: Vector, b: Vector): Vector;
3623
+ static multiply(a: Vector, b: number | Vector): Vector;
3624
+ normalized(): Vector;
3625
+ static slerp(a: Vector, b: Vector, s: number): Vector;
3626
+ static subtract(a: Vector, b: Vector): Vector;
3627
+ }
3628
+ export class WeatherChangeEvent {
3629
+ readonly dimension: string;
3630
+ readonly lightning: boolean;
3631
+ readonly raining: boolean;
3632
+ protected constructor();
3633
+ }
3634
+ export class WeatherChangeEventSignal {
3635
+ subscribe(callback: (arg: WeatherChangeEvent) => void): (arg: WeatherChangeEvent) => void;
3636
+ unsubscribe(callback: (arg: WeatherChangeEvent) => void): void;
3637
+ protected constructor();
3638
+ }
3639
+ export class World {
3640
+ readonly events: Events;
3641
+ readonly scoreboard: Scoreboard;
3642
+ broadcastClientMessage(id: string, value: string): void;
3643
+ getAbsoluteTime(): number;
3644
+ getDimension(dimensionId: string): Dimension;
3645
+ getDynamicProperty(identifier: string): boolean | number | string;
3646
+ getPlayers(options?: EntityQueryOptions): PlayerIterator;
3647
+ getTime(): number;
3648
+ playMusic(trackID: string, musicOptions?: MusicOptions): void;
3649
+ playSound(soundID: string, soundOptions?: SoundOptions): void;
3650
+ queueMusic(trackID: string, musicOptions?: MusicOptions): void;
3651
+ removeDynamicProperty(identifier: string): boolean;
3652
+ say(message: IRawMessage | string): void;
3653
+ setDynamicProperty(identifier: string, value: boolean | number | string): void;
3654
+ setTime(timeOfDay: number): void;
3655
+ stopMusic(): void;
3656
+ protected constructor();
3657
+ }
3658
+ export class WorldInitializeEvent {
3659
+ readonly propertyRegistry: PropertyRegistry;
3660
+ protected constructor();
3661
+ }
3662
+ export class WorldInitializeEventSignal {
3663
+ subscribe(callback: (arg: WorldInitializeEvent) => void): (arg: WorldInitializeEvent) => void;
3664
+ unsubscribe(callback: (arg: WorldInitializeEvent) => void): void;
3665
+ protected constructor();
3666
+ }
3667
+ export class XYRotation {
3668
+ x: number;
3669
+ y: number;
3670
+ protected constructor();
3671
+ }
3672
+ export interface EntityQueryOptions {
3673
+ closest?: number;
3674
+ excludeFamilies?: string[];
3675
+ excludeGameModes?: GameMode[];
3676
+ excludeNames?: string[];
3677
+ excludeTags?: string[];
3678
+ excludeTypes?: string[];
3679
+ families?: string[];
3680
+ farthest?: number;
3681
+ gameMode?: GameMode;
3682
+ location?: Location;
3683
+ maxDistance?: number;
3684
+ maxHorizontalRotation?: number;
3685
+ maxLevel?: number;
3686
+ maxVerticalRotation?: number;
3687
+ minDistance?: number;
3688
+ minHorizontalRotation?: number;
3689
+ minLevel?: number;
3690
+ minVerticalRotation?: number;
3691
+ name?: string;
3692
+ scoreOptions?: EntityQueryScoreOptions[];
3693
+ tags?: string[];
3694
+ type?: string;
3695
+ volume?: BlockAreaSize;
3696
+ }
3697
+ export interface EntityQueryScoreOptions {
3698
+ exclude?: boolean;
3699
+ maxScore?: number;
3700
+ minScore?: number;
3701
+ objective?: string;
3702
+ }
3703
+ export interface EntityRaycastOptions {
3704
+ maxDistance?: number;
3705
+ }
3706
+ export interface ExplosionOptions {
3707
+ allowUnderwater?: boolean;
3708
+ breaksBlocks?: boolean;
3709
+ causesFire?: boolean;
3710
+ source?: Entity;
3711
+ }
3712
+ // tslint:disable-next-line:interface-name
3713
+ export interface IRawMessage {
3714
+ rawtext?: IRawMessage | string[];
3715
+ text?: string;
3716
+ translate?: string;
3717
+ with?: IRawMessage | string[];
3718
+ }
3719
+ // tslint:disable-next-line:interface-name
3720
+ export interface IVec3 {
3721
+ x: number;
3722
+ y: number;
3723
+ z: number;
3724
+ }
3725
+ export interface MusicOptions {
3726
+ fade?: number;
3727
+ loop?: boolean;
3728
+ volume?: number;
3729
+ }
3730
+ export interface SoundOptions {
3731
+ location?: Location;
3732
+ pitch?: number;
3733
+ volume?: number;
3734
+ }
3735
+ export interface TitleDisplayOptions {
3736
+ fadeInSeconds: number;
3737
+ fadeOutSeconds: number;
3738
+ staySeconds: number;
3739
+ subtitle?: string;
3740
+ }
3741
+ export const TicksPerDay = 24000;
3742
+ export const TicksPerSecond = 20;
3743
+ export const system: System;
3744
+ export const world: World;