@minecraft/server 1.3.0-beta.1.20.0-preview.25 → 1.3.0-beta.1.20.0-stable

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +0 -2
  2. package/index.d.ts +400 -387
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7,7 +7,6 @@
7
7
  Copyright (c) Microsoft Corporation.
8
8
  ***************************************************************************** */
9
9
  /**
10
- * @beta
11
10
  * @packageDocumentation
12
11
  * Contains many types related to manipulating a Minecraft
13
12
  * world, including entities, blocks, dimensions, and more.
@@ -16,7 +15,7 @@
16
15
  * ```json
17
16
  * {
18
17
  * "module_name": "@minecraft/server",
19
- * "version": "1.3.0-internal.1.20.0-preview.25"
18
+ * "version": "1.2.0"
20
19
  * }
21
20
  * ```
22
21
  *
@@ -81,9 +80,6 @@ export enum DyeColor {
81
80
  yellow = 'yellow',
82
81
  }
83
82
 
84
- /**
85
- * @beta
86
- */
87
83
  export enum EntityDamageCause {
88
84
  anvil = 'anvil',
89
85
  blockExplosion = 'blockExplosion',
@@ -175,12 +171,10 @@ export enum FluidType {
175
171
  }
176
172
 
177
173
  /**
178
- * @beta
179
174
  * Represents a game mode for the current world experience.
180
175
  */
181
176
  export enum GameMode {
182
177
  /**
183
- * @beta
184
178
  * @remarks
185
179
  * World is in a more locked-down experience, where blocks may
186
180
  * not be manipulated.
@@ -188,7 +182,6 @@ export enum GameMode {
188
182
  */
189
183
  adventure = 'adventure',
190
184
  /**
191
- * @beta
192
185
  * @remarks
193
186
  * World is in a full creative mode. In creative mode, the
194
187
  * player has all the resources available in the item selection
@@ -202,7 +195,6 @@ export enum GameMode {
202
195
  creative = 'creative',
203
196
  spectator = 'spectator',
204
197
  /**
205
- * @beta
206
198
  * @remarks
207
199
  * World is in a survival mode, where players can take damage
208
200
  * and entities may not be peaceful. Survival mode is where the
@@ -214,9 +206,6 @@ export enum GameMode {
214
206
  survival = 'survival',
215
207
  }
216
208
 
217
- /**
218
- * @beta
219
- */
220
209
  export enum ItemLockMode {
221
210
  inventory = 'inventory',
222
211
  none = 'none',
@@ -362,7 +351,7 @@ export enum WeatherType {
362
351
  * of the World.
363
352
  */
364
353
  export class AfterEvents {
365
- protected constructor();
354
+ private constructor();
366
355
  /**
367
356
  * @remarks
368
357
  * This event fires for a block that is broken by a player.
@@ -582,7 +571,7 @@ export class AfterEvents {
582
571
  * error. (e.g., dimension.spawnEntity)
583
572
  */
584
573
  export class BeforeEvents {
585
- protected constructor();
574
+ private constructor();
586
575
  /**
587
576
  * @remarks
588
577
  * This event is triggered after a chat message has been
@@ -636,14 +625,13 @@ export class BeforeEvents {
636
625
  }
637
626
 
638
627
  /**
639
- * @beta
640
628
  * Represents a block in a dimension. A block represents a
641
629
  * unique X, Y, and Z within a dimension and get/sets the state
642
630
  * of the block at that location. This type was significantly
643
631
  * updated in version 1.17.10.21.
644
632
  */
645
633
  export class Block {
646
- protected constructor();
634
+ private constructor();
647
635
  /**
648
636
  * @remarks
649
637
  * Returns the dimension that the block is within.
@@ -921,8 +909,9 @@ export class BlockAreaSize {
921
909
  * Contains information regarding an event where a player
922
910
  * breaks a block.
923
911
  */
912
+ // @ts-ignore Class inheritance allowed for native defined classes
924
913
  export class BlockBreakAfterEvent extends BlockEvent {
925
- protected constructor();
914
+ private constructor();
926
915
  /**
927
916
  * @remarks
928
917
  * Returns permutation information about this block before it
@@ -943,16 +932,18 @@ export class BlockBreakAfterEvent extends BlockEvent {
943
932
  * Manages callbacks that are connected to when a block is
944
933
  * broken.
945
934
  */
935
+ // @ts-ignore Class inheritance allowed for native defined classes
946
936
  export class BlockBreakAfterEventSignal extends IBlockBreakAfterEventSignal {
947
- protected constructor();
937
+ private constructor();
948
938
  }
949
939
 
950
940
  /**
951
941
  * @beta
952
942
  * Base type for components associated with blocks.
953
943
  */
944
+ // @ts-ignore Class inheritance allowed for native defined classes
954
945
  export class BlockComponent extends Component {
955
- protected constructor();
946
+ private constructor();
956
947
  /**
957
948
  * @remarks
958
949
  * Block instance that this component pertains to.
@@ -967,7 +958,7 @@ export class BlockComponent extends Component {
967
958
  * specific block.
968
959
  */
969
960
  export class BlockEvent {
970
- protected constructor();
961
+ private constructor();
971
962
  /**
972
963
  * @remarks
973
964
  * Block impacted by this event.
@@ -988,8 +979,9 @@ export class BlockEvent {
988
979
  * Contains information regarding an explosion that has
989
980
  * occurred for a specific block.
990
981
  */
982
+ // @ts-ignore Class inheritance allowed for native defined classes
991
983
  export class BlockExplodeAfterEvent extends BlockEvent {
992
- protected constructor();
984
+ private constructor();
993
985
  /**
994
986
  * @remarks
995
987
  * Description of the block that has exploded.
@@ -1009,17 +1001,18 @@ export class BlockExplodeAfterEvent extends BlockEvent {
1009
1001
  * Manages callbacks that are connected to when an explosion
1010
1002
  * occurs, as it impacts individual blocks.
1011
1003
  */
1004
+ // @ts-ignore Class inheritance allowed for native defined classes
1012
1005
  export class BlockExplodeAfterEventSignal extends IBlockExplodeAfterEventSignal {
1013
- protected constructor();
1006
+ private constructor();
1014
1007
  }
1015
1008
 
1016
1009
  /**
1017
- * @beta
1018
1010
  * Represents the inventory of a block in the world. Used with
1019
1011
  * blocks like chests.
1020
1012
  */
1013
+ // @ts-ignore Class inheritance allowed for native defined classes
1021
1014
  export class BlockInventoryComponent extends BlockComponent {
1022
- protected constructor();
1015
+ private constructor();
1023
1016
  /**
1024
1017
  * @remarks
1025
1018
  * The container which holds an {@link ItemStack}.
@@ -1041,8 +1034,9 @@ export class BlockInventoryComponent extends BlockComponent {
1041
1034
  * Represents a fluid container block that currently contains
1042
1035
  * lava.
1043
1036
  */
1037
+ // @ts-ignore Class inheritance allowed for native defined classes
1044
1038
  export class BlockLavaContainerComponent extends BlockLiquidContainerComponent {
1045
- protected constructor();
1039
+ private constructor();
1046
1040
  /**
1047
1041
  * @remarks
1048
1042
  * Identifier of this component. Should always be
@@ -1057,8 +1051,9 @@ export class BlockLavaContainerComponent extends BlockLiquidContainerComponent {
1057
1051
  * For blocks that can contain a liquid (e.g., a cauldron),
1058
1052
  * this is a base component for liquid containers.
1059
1053
  */
1054
+ // @ts-ignore Class inheritance allowed for native defined classes
1060
1055
  export class BlockLiquidContainerComponent extends BlockComponent {
1061
- protected constructor();
1056
+ private constructor();
1062
1057
  /**
1063
1058
  * @remarks
1064
1059
  * Relative fill level of the liquid container.
@@ -1088,7 +1083,7 @@ export class BlockLiquidContainerComponent extends BlockComponent {
1088
1083
  * coordinate to the next XZ slice)
1089
1084
  */
1090
1085
  export class BlockLocationIterator implements Iterable<Vector3> {
1091
- protected constructor();
1086
+ private constructor();
1092
1087
  /**
1093
1088
  * @remarks
1094
1089
  * This function can't be called in read-only mode.
@@ -1104,14 +1099,13 @@ export class BlockLocationIterator implements Iterable<Vector3> {
1104
1099
  }
1105
1100
 
1106
1101
  /**
1107
- * @beta
1108
1102
  * Contains the combination of type {@link BlockType} and
1109
1103
  * properties (also sometimes called block state) which
1110
1104
  * describe a block (but does not belong to a specific {@link
1111
1105
  * Block}). This type was introduced as of version 1.17.10.21.
1112
1106
  */
1113
1107
  export class BlockPermutation {
1114
- protected constructor();
1108
+ private constructor();
1115
1109
  /**
1116
1110
  * @beta
1117
1111
  * @remarks
@@ -1232,8 +1226,9 @@ export class BlockPermutation {
1232
1226
  * When present, this block has piston-like behavior. Contains
1233
1227
  * additional properties for discovering block piston state.
1234
1228
  */
1229
+ // @ts-ignore Class inheritance allowed for native defined classes
1235
1230
  export class BlockPistonComponent extends BlockComponent {
1236
- protected constructor();
1231
+ private constructor();
1237
1232
  /**
1238
1233
  * @remarks
1239
1234
  * Whether the piston is fully expanded.
@@ -1291,8 +1286,9 @@ export class BlockPistonComponent extends BlockComponent {
1291
1286
  * Contains information regarding an event where a player
1292
1287
  * places a block.
1293
1288
  */
1289
+ // @ts-ignore Class inheritance allowed for native defined classes
1294
1290
  export class BlockPlaceAfterEvent extends BlockEvent {
1295
- protected constructor();
1291
+ private constructor();
1296
1292
  /**
1297
1293
  * @remarks
1298
1294
  * Player that placed the block for this event.
@@ -1306,8 +1302,9 @@ export class BlockPlaceAfterEvent extends BlockEvent {
1306
1302
  * Manages callbacks that are connected to when a block is
1307
1303
  * placed.
1308
1304
  */
1305
+ // @ts-ignore Class inheritance allowed for native defined classes
1309
1306
  export class BlockPlaceAfterEventSignal extends IBlockPlaceAfterEventSignal {
1310
- protected constructor();
1307
+ private constructor();
1311
1308
  }
1312
1309
 
1313
1310
  /**
@@ -1315,8 +1312,9 @@ export class BlockPlaceAfterEventSignal extends IBlockPlaceAfterEventSignal {
1315
1312
  * Represents a fluid container block that currently contains a
1316
1313
  * potion.
1317
1314
  */
1315
+ // @ts-ignore Class inheritance allowed for native defined classes
1318
1316
  export class BlockPotionContainerComponent extends BlockLiquidContainerComponent {
1319
- protected constructor();
1317
+ private constructor();
1320
1318
  /**
1321
1319
  * @remarks
1322
1320
  * Identifier of this component. Should always be
@@ -1339,8 +1337,9 @@ export class BlockPotionContainerComponent extends BlockLiquidContainerComponent
1339
1337
  * @beta
1340
1338
  * Represents a block that can play a record.
1341
1339
  */
1340
+ // @ts-ignore Class inheritance allowed for native defined classes
1342
1341
  export class BlockRecordPlayerComponent extends BlockComponent {
1343
- protected constructor();
1342
+ private constructor();
1344
1343
  /**
1345
1344
  * @remarks
1346
1345
  * Identifier of this component. Should always be
@@ -1381,8 +1380,9 @@ export class BlockRecordPlayerComponent extends BlockComponent {
1381
1380
  * @beta
1382
1381
  * Represents a block that can display text on it.
1383
1382
  */
1383
+ // @ts-ignore Class inheritance allowed for native defined classes
1384
1384
  export class BlockSignComponent extends BlockComponent {
1385
- protected constructor();
1385
+ private constructor();
1386
1386
  /**
1387
1387
  * @remarks
1388
1388
  * Whether or not players can edit the sign. This happens if a
@@ -1510,8 +1510,9 @@ export class BlockSignComponent extends BlockComponent {
1510
1510
  * Represents a fluid container block that currently contains
1511
1511
  * snow.
1512
1512
  */
1513
+ // @ts-ignore Class inheritance allowed for native defined classes
1513
1514
  export class BlockSnowContainerComponent extends BlockLiquidContainerComponent {
1514
- protected constructor();
1515
+ private constructor();
1515
1516
  /**
1516
1517
  * @remarks
1517
1518
  * Identifier of this component. Should always be
@@ -1526,7 +1527,7 @@ export class BlockSnowContainerComponent extends BlockLiquidContainerComponent {
1526
1527
  * Enumerates all {@link BlockStateType}s.
1527
1528
  */
1528
1529
  export class BlockStates {
1529
- protected constructor();
1530
+ private constructor();
1530
1531
  /**
1531
1532
  * @remarks
1532
1533
  * Retrieves a specific block state instance.
@@ -1548,7 +1549,7 @@ export class BlockStates {
1548
1549
  * a block state.
1549
1550
  */
1550
1551
  export class BlockStateType {
1551
- protected constructor();
1552
+ private constructor();
1552
1553
  /**
1553
1554
  * @remarks
1554
1555
  * Identifier of the block property.
@@ -1571,7 +1572,7 @@ export class BlockStateType {
1571
1572
  * 1.17.10.21.
1572
1573
  */
1573
1574
  export class BlockType {
1574
- protected constructor();
1575
+ private constructor();
1575
1576
  /**
1576
1577
  * @remarks
1577
1578
  * Represents whether this type of block can be waterlogged.
@@ -1593,7 +1594,7 @@ export class BlockType {
1593
1594
  * @minecraft-server.BlockVolume} objects
1594
1595
  */
1595
1596
  export class BlockVolumeUtils {
1596
- protected constructor();
1597
+ private constructor();
1597
1598
  /**
1598
1599
  * @remarks
1599
1600
  * Check to see if the given location is directly adjacent to
@@ -1730,8 +1731,9 @@ export class BlockVolumeUtils {
1730
1731
  * Represents a fluid container block that currently contains
1731
1732
  * water.
1732
1733
  */
1734
+ // @ts-ignore Class inheritance allowed for native defined classes
1733
1735
  export class BlockWaterContainerComponent extends BlockLiquidContainerComponent {
1734
- protected constructor();
1736
+ private constructor();
1735
1737
  /**
1736
1738
  * @remarks
1737
1739
  * Identifier of this component. Should always be
@@ -1775,7 +1777,7 @@ export class BlockWaterContainerComponent extends BlockLiquidContainerComponent
1775
1777
  * @minecraft-server.BoundingBox} objects
1776
1778
  */
1777
1779
  export class BoundingBoxUtils {
1778
- protected constructor();
1780
+ private constructor();
1779
1781
  /**
1780
1782
  * @remarks
1781
1783
  * Create a validated instance of a {@link
@@ -1903,8 +1905,9 @@ export class BoundingBoxUtils {
1903
1905
  * @beta
1904
1906
  * Contains information related to changes to a button push.
1905
1907
  */
1908
+ // @ts-ignore Class inheritance allowed for native defined classes
1906
1909
  export class ButtonPushAfterEvent extends BlockEvent {
1907
- protected constructor();
1910
+ private constructor();
1908
1911
  /**
1909
1912
  * @remarks
1910
1913
  * Optional source that triggered the button push.
@@ -1918,8 +1921,9 @@ export class ButtonPushAfterEvent extends BlockEvent {
1918
1921
  * Manages callbacks that are connected to when a button is
1919
1922
  * pushed.
1920
1923
  */
1924
+ // @ts-ignore Class inheritance allowed for native defined classes
1921
1925
  export class ButtonPushAfterEventSignal extends IButtonPushAfterEventSignal {
1922
- protected constructor();
1926
+ private constructor();
1923
1927
  }
1924
1928
 
1925
1929
  /**
@@ -1927,7 +1931,7 @@ export class ButtonPushAfterEventSignal extends IButtonPushAfterEventSignal {
1927
1931
  * An event that fires as players enter chat messages.
1928
1932
  */
1929
1933
  export class ChatSendAfterEvent {
1930
- protected constructor();
1934
+ private constructor();
1931
1935
  /**
1932
1936
  * @remarks
1933
1937
  * Message that is being broadcast. In a beforeChat event
@@ -1964,16 +1968,18 @@ export class ChatSendAfterEvent {
1964
1968
  * Manages callbacks that are connected to chat messages being
1965
1969
  * sent.
1966
1970
  */
1971
+ // @ts-ignore Class inheritance allowed for native defined classes
1967
1972
  export class ChatSendAfterEventSignal extends IChatSendAfterEventSignal {
1968
- protected constructor();
1973
+ private constructor();
1969
1974
  }
1970
1975
 
1971
1976
  /**
1972
1977
  * @beta
1973
1978
  * An event that fires as players enter chat messages.
1974
1979
  */
1980
+ // @ts-ignore Class inheritance allowed for native defined classes
1975
1981
  export class ChatSendBeforeEvent extends ChatSendAfterEvent {
1976
- protected constructor();
1982
+ private constructor();
1977
1983
  /**
1978
1984
  * @remarks
1979
1985
  * If set to true in a beforeChat event handler, this message
@@ -1997,15 +2003,16 @@ export class ChatSendBeforeEvent extends ChatSendAfterEvent {
1997
2003
  * Manages callbacks that are connected to an event that fires
1998
2004
  * before chat messages are sent.
1999
2005
  */
2006
+ // @ts-ignore Class inheritance allowed for native defined classes
2000
2007
  export class ChatSendBeforeEventSignal extends IChatSendBeforeEventSignal {
2001
- protected constructor();
2008
+ private constructor();
2002
2009
  }
2003
2010
 
2004
2011
  /**
2005
2012
  * Contains return data on the result of a command execution.
2006
2013
  */
2007
2014
  export class CommandResult {
2008
- protected constructor();
2015
+ private constructor();
2009
2016
  /**
2010
2017
  * @remarks
2011
2018
  * If the command operates against a number of entities,
@@ -2017,11 +2024,10 @@ export class CommandResult {
2017
2024
  }
2018
2025
 
2019
2026
  /**
2020
- * @beta
2021
2027
  * Base class for downstream Component implementations.
2022
2028
  */
2023
2029
  export class Component {
2024
- protected constructor();
2030
+ private constructor();
2025
2031
  /**
2026
2032
  * @remarks
2027
2033
  * Identifier of the component.
@@ -2195,13 +2201,12 @@ export class CompoundBlockVolume {
2195
2201
  }
2196
2202
 
2197
2203
  /**
2198
- * @beta
2199
2204
  * Represents a container that can hold sets of items. Used
2200
2205
  * with entities such as Players, Chest Minecarts, Llamas, and
2201
2206
  * more.
2202
2207
  */
2203
2208
  export class Container {
2204
- protected constructor();
2209
+ private constructor();
2205
2210
  /**
2206
2211
  * @remarks
2207
2212
  * Count of the slots in the container that are empty.
@@ -2381,7 +2386,7 @@ export class Container {
2381
2386
  * inventory.)
2382
2387
  */
2383
2388
  export class ContainerSlot {
2384
- protected constructor();
2389
+ private constructor();
2385
2390
  /**
2386
2391
  * @remarks
2387
2392
  * Number of the items in the stack. Valid values range between
@@ -2616,7 +2621,7 @@ export class ContainerSlot {
2616
2621
  * event on a chicken.
2617
2622
  */
2618
2623
  export class DataDrivenEntityTriggerAfterEvent {
2619
- protected constructor();
2624
+ private constructor();
2620
2625
  /**
2621
2626
  * @remarks
2622
2627
  * Entity that the event triggered on.
@@ -2646,8 +2651,9 @@ export class DataDrivenEntityTriggerAfterEvent {
2646
2651
  * driven entity event - for example, the
2647
2652
  * minecraft:ageable_grow_up event on a chicken.
2648
2653
  */
2654
+ // @ts-ignore Class inheritance allowed for native defined classes
2649
2655
  export class DataDrivenEntityTriggerAfterEventSignal extends IDataDrivenEntityTriggerAfterEventSignal {
2650
- protected constructor();
2656
+ private constructor();
2651
2657
  }
2652
2658
 
2653
2659
  /**
@@ -2657,7 +2663,7 @@ export class DataDrivenEntityTriggerAfterEventSignal extends IDataDrivenEntityTr
2657
2663
  * event on a chicken.
2658
2664
  */
2659
2665
  export class DataDrivenEntityTriggerBeforeEvent {
2660
- protected constructor();
2666
+ private constructor();
2661
2667
  /**
2662
2668
  * @remarks
2663
2669
  * If set to true, this entity event is not triggered.
@@ -2700,8 +2706,9 @@ export class DataDrivenEntityTriggerBeforeEvent {
2700
2706
  * entity event - for example, the minecraft:ageable_grow_up
2701
2707
  * event on a chicken.
2702
2708
  */
2709
+ // @ts-ignore Class inheritance allowed for native defined classes
2703
2710
  export class DataDrivenEntityTriggerBeforeEventSignal extends IDataDrivenEntityTriggerBeforeEventSignal {
2704
- protected constructor();
2711
+ private constructor();
2705
2712
  }
2706
2713
 
2707
2714
  /**
@@ -2759,7 +2766,7 @@ export class DefinitionModifier {
2759
2766
  * End) within a world.
2760
2767
  */
2761
2768
  export class Dimension {
2762
- protected constructor();
2769
+ private constructor();
2763
2770
  /**
2764
2771
  * @remarks
2765
2772
  * Identifier of the dimension.
@@ -2844,7 +2851,6 @@ export class Dimension {
2844
2851
  */
2845
2852
  fillBlocks(begin: Vector3, end: Vector3, block: BlockPermutation | BlockType, options?: BlockFillOptions): number;
2846
2853
  /**
2847
- * @beta
2848
2854
  * @remarks
2849
2855
  * Returns a block instance at the given location.
2850
2856
  *
@@ -2871,7 +2877,6 @@ export class Dimension {
2871
2877
  */
2872
2878
  getBlockFromRay(location: Vector3, direction: Vector3, options?: BlockRaycastOptions): Block;
2873
2879
  /**
2874
- * @beta
2875
2880
  * @remarks
2876
2881
  * Returns a set of entities based on a set of conditions
2877
2882
  * defined via the EntityQueryOptions set of filter criteria.
@@ -2903,7 +2908,6 @@ export class Dimension {
2903
2908
  */
2904
2909
  getEntities(options?: EntityQueryOptions): Entity[];
2905
2910
  /**
2906
- * @beta
2907
2911
  * @remarks
2908
2912
  * Returns a set of entities at a particular location.
2909
2913
  *
@@ -2925,7 +2929,6 @@ export class Dimension {
2925
2929
  */
2926
2930
  getEntitiesFromRay(location: Vector3, direction: Vector3, options?: EntityRaycastOptions): Entity[];
2927
2931
  /**
2928
- * @beta
2929
2932
  * @remarks
2930
2933
  * Returns a set of players based on a set of conditions
2931
2934
  * defined via the EntityQueryOptions set of filter criteria.
@@ -2939,7 +2942,6 @@ export class Dimension {
2939
2942
  */
2940
2943
  getPlayers(options?: EntityQueryOptions): Player[];
2941
2944
  /**
2942
- * @beta
2943
2945
  * @remarks
2944
2946
  * This function can't be called in read-only mode.
2945
2947
  *
@@ -2997,7 +2999,7 @@ export class Dimension {
2997
2999
  * y: targetLocation.y + 2,
2998
3000
  * z: targetLocation.z + 3,
2999
3001
  * });
3000
- * fox.addEffect(mc.MinecraftEffectTypes.speed, 10, 20);
3002
+ * fox.addEffect(mc.MinecraftEffectTypes.Speed, 10, 20);
3001
3003
  * log("Created a fox.");
3002
3004
  *
3003
3005
  * const wolf = overworld.spawnEntity("minecraft:wolf", {
@@ -3005,7 +3007,7 @@ export class Dimension {
3005
3007
  * y: targetLocation.y + 2,
3006
3008
  * z: targetLocation.z + 3,
3007
3009
  * });
3008
- * wolf.addEffect(mc.MinecraftEffectTypes.slowness, 10, 20);
3010
+ * wolf.addEffect(mc.MinecraftEffectTypes.Slowness, 10, 20);
3009
3011
  * wolf.isSneaking = true;
3010
3012
  * log("Created a sneaking wolf.", 1);
3011
3013
  * ```
@@ -3118,7 +3120,7 @@ export class DynamicPropertiesDefinition {
3118
3120
  * an Entity.
3119
3121
  */
3120
3122
  export class Effect {
3121
- protected constructor();
3123
+ private constructor();
3122
3124
  /**
3123
3125
  * @remarks
3124
3126
  * Gets an amplifier that may have been applied to this effect.
@@ -3160,7 +3162,7 @@ export class Effect {
3160
3162
  * poison - being added to an entity.
3161
3163
  */
3162
3164
  export class EffectAddAfterEvent {
3163
- protected constructor();
3165
+ private constructor();
3164
3166
  /**
3165
3167
  * @remarks
3166
3168
  * Additional properties and details of the effect.
@@ -3192,8 +3194,9 @@ export class EffectAddAfterEvent {
3192
3194
  * Manages callbacks that are connected to when an effect is
3193
3195
  * added to an entity.
3194
3196
  */
3197
+ // @ts-ignore Class inheritance allowed for native defined classes
3195
3198
  export class EffectAddAfterEventSignal extends IEffectAddAfterEventSignal {
3196
- protected constructor();
3199
+ private constructor();
3197
3200
  }
3198
3201
 
3199
3202
  /**
@@ -3202,7 +3205,7 @@ export class EffectAddAfterEventSignal extends IEffectAddAfterEventSignal {
3202
3205
  * applied to an entity.
3203
3206
  */
3204
3207
  export class EffectType {
3205
- protected constructor();
3208
+ private constructor();
3206
3209
  /**
3207
3210
  * @remarks
3208
3211
  * Identifier name of this effect type.
@@ -3219,7 +3222,7 @@ export class EffectType {
3219
3222
  * applied to an entity.
3220
3223
  */
3221
3224
  export class EffectTypes {
3222
- protected constructor();
3225
+ private constructor();
3223
3226
  /**
3224
3227
  * @remarks
3225
3228
  * Effect type for the given identifier.
@@ -3360,7 +3363,7 @@ export class EnchantmentList implements Iterable<Enchantment> {
3360
3363
  * enchantment can be applied to.
3361
3364
  */
3362
3365
  export class EnchantmentSlot {
3363
- protected constructor();
3366
+ private constructor();
3364
3367
  static readonly all = -1;
3365
3368
  static readonly armorFeet = 4;
3366
3369
  static readonly armorHead = 1;
@@ -3392,7 +3395,7 @@ export class EnchantmentSlot {
3392
3395
  * Contains information on a type of enchantment.
3393
3396
  */
3394
3397
  export class EnchantmentType {
3395
- protected constructor();
3398
+ private constructor();
3396
3399
  /**
3397
3400
  * @remarks
3398
3401
  * The name of the enchantment type.
@@ -3411,7 +3414,7 @@ export class EnchantmentType {
3411
3414
  * @beta
3412
3415
  */
3413
3416
  export class EnchantmentTypes {
3414
- protected constructor();
3417
+ private constructor();
3415
3418
  /**
3416
3419
  * @remarks
3417
3420
  * Retrieves an enchantment with the specified identifier.
@@ -3431,9 +3434,8 @@ export class EnchantmentTypes {
3431
3434
  * other moving objects like minecarts) in the world.
3432
3435
  */
3433
3436
  export class Entity {
3434
- protected constructor();
3437
+ private constructor();
3435
3438
  /**
3436
- * @beta
3437
3439
  * @remarks
3438
3440
  * Dimension that the entity is currently within.
3439
3441
  *
@@ -3471,7 +3473,6 @@ export class Entity {
3471
3473
  */
3472
3474
  readonly lifetimeState: EntityLifetimeState;
3473
3475
  /**
3474
- * @beta
3475
3476
  * @remarks
3476
3477
  * Current location of the entity.
3477
3478
  *
@@ -3479,7 +3480,6 @@ export class Entity {
3479
3480
  */
3480
3481
  readonly location: Vector3;
3481
3482
  /**
3482
- * @beta
3483
3483
  * @remarks
3484
3484
  * Given name of the entity.
3485
3485
  *
@@ -3550,7 +3550,7 @@ export class Entity {
3550
3550
  * y: targetLocation.y + 2,
3551
3551
  * z: targetLocation.z + 3,
3552
3552
  * });
3553
- * fox.addEffect(mc.MinecraftEffectTypes.speed, 10, { amplifier: 20 });
3553
+ * fox.addEffect(mc.MinecraftEffectTypes.Speed, 10, { amplifier: 20 });
3554
3554
  * log('Created a fox.');
3555
3555
  *
3556
3556
  * const wolf = overworld.spawnEntity('minecraft:wolf', {
@@ -3558,14 +3558,13 @@ export class Entity {
3558
3558
  * y: targetLocation.y + 2,
3559
3559
  * z: targetLocation.z + 3,
3560
3560
  * });
3561
- * wolf.addEffect(mc.MinecraftEffectTypes.slowness, 10, { amplifier: 20 });
3561
+ * wolf.addEffect(mc.MinecraftEffectTypes.Slowness, 10, { amplifier: 20 });
3562
3562
  * wolf.isSneaking = true;
3563
3563
  * log('Created a sneaking wolf.', 1);
3564
3564
  * ```
3565
3565
  */
3566
3566
  addEffect(effectType: EffectType | string, duration: number, options?: EntityEffectOptions): boolean;
3567
3567
  /**
3568
- * @beta
3569
3568
  * @remarks
3570
3569
  * Adds a specified tag to an entity.
3571
3570
  *
@@ -3580,7 +3579,6 @@ export class Entity {
3580
3579
  */
3581
3580
  addTag(tag: string): boolean;
3582
3581
  /**
3583
- * @beta
3584
3582
  * @remarks
3585
3583
  * Applies a set of damage to an entity.
3586
3584
  *
@@ -3600,7 +3598,6 @@ export class Entity {
3600
3598
  */
3601
3599
  applyDamage(amount: number, options?: EntityApplyDamageByProjectileOptions | EntityApplyDamageOptions): boolean;
3602
3600
  /**
3603
- * @beta
3604
3601
  * @remarks
3605
3602
  * Applies impulse vector to the current velocity of the
3606
3603
  * entity.
@@ -3613,7 +3610,6 @@ export class Entity {
3613
3610
  */
3614
3611
  applyImpulse(vector: Vector3): void;
3615
3612
  /**
3616
- * @beta
3617
3613
  * @remarks
3618
3614
  * Applies impulse vector to the current velocity of the
3619
3615
  * entity.
@@ -3632,7 +3628,6 @@ export class Entity {
3632
3628
  */
3633
3629
  applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void;
3634
3630
  /**
3635
- * @beta
3636
3631
  * @remarks
3637
3632
  * Sets the current velocity of the Entity to zero. Note that
3638
3633
  * this method may not have an impact on Players.
@@ -3674,7 +3669,6 @@ export class Entity {
3674
3669
  */
3675
3670
  getBlockFromViewDirection(options?: BlockRaycastOptions): Block;
3676
3671
  /**
3677
- * @beta
3678
3672
  * @remarks
3679
3673
  * Gets a component (that represents additional capabilities)
3680
3674
  * for an entity.
@@ -3690,7 +3684,6 @@ export class Entity {
3690
3684
  */
3691
3685
  getComponent(componentId: string): EntityComponent | undefined;
3692
3686
  /**
3693
- * @beta
3694
3687
  * @remarks
3695
3688
  * Returns all components that are both present on this entity
3696
3689
  * and supported by the API.
@@ -3754,7 +3747,6 @@ export class Entity {
3754
3747
  */
3755
3748
  getEntitiesFromViewDirection(options?: EntityRaycastOptions): Entity[];
3756
3749
  /**
3757
- * @beta
3758
3750
  * @remarks
3759
3751
  * Returns the current location of the head component of this
3760
3752
  * entity.
@@ -3776,7 +3768,6 @@ export class Entity {
3776
3768
  */
3777
3769
  getRotation(): Vector2;
3778
3770
  /**
3779
- * @beta
3780
3771
  * @remarks
3781
3772
  * Returns all tags associated with an entity.
3782
3773
  *
@@ -3786,7 +3777,6 @@ export class Entity {
3786
3777
  */
3787
3778
  getTags(): string[];
3788
3779
  /**
3789
- * @beta
3790
3780
  * @remarks
3791
3781
  * Returns the current velocity vector of the entity.
3792
3782
  *
@@ -3796,7 +3786,6 @@ export class Entity {
3796
3786
  */
3797
3787
  getVelocity(): Vector3;
3798
3788
  /**
3799
- * @beta
3800
3789
  * @remarks
3801
3790
  * Returns the current view direction of the entity.
3802
3791
  *
@@ -3806,7 +3795,6 @@ export class Entity {
3806
3795
  */
3807
3796
  getViewDirection(): Vector3;
3808
3797
  /**
3809
- * @beta
3810
3798
  * @remarks
3811
3799
  * Returns true if the specified component is present on this
3812
3800
  * entity.
@@ -3821,7 +3809,6 @@ export class Entity {
3821
3809
  */
3822
3810
  hasComponent(componentId: string): boolean;
3823
3811
  /**
3824
- * @beta
3825
3812
  * @remarks
3826
3813
  * Returns whether an entity has a particular tag.
3827
3814
  *
@@ -3833,7 +3820,6 @@ export class Entity {
3833
3820
  */
3834
3821
  hasTag(tag: string): boolean;
3835
3822
  /**
3836
- * @beta
3837
3823
  * @remarks
3838
3824
  * Kills this entity. The entity will drop loot as normal.
3839
3825
  *
@@ -3890,7 +3876,6 @@ export class Entity {
3890
3876
  */
3891
3877
  removeEffect(effectType: EffectType | string): boolean;
3892
3878
  /**
3893
- * @beta
3894
3879
  * @remarks
3895
3880
  * Removes a specified tag from an entity.
3896
3881
  *
@@ -3904,7 +3889,6 @@ export class Entity {
3904
3889
  */
3905
3890
  removeTag(tag: string): boolean;
3906
3891
  /**
3907
- * @beta
3908
3892
  * @remarks
3909
3893
  * Runs a synchronous command on the entity.
3910
3894
  *
@@ -4039,8 +4023,9 @@ export class Entity {
4039
4023
  * When added, this component makes the entity spawn with a
4040
4024
  * rider of the specified entityType.
4041
4025
  */
4026
+ // @ts-ignore Class inheritance allowed for native defined classes
4042
4027
  export class EntityAddRiderComponent extends EntityComponent {
4043
- protected constructor();
4028
+ private constructor();
4044
4029
  /**
4045
4030
  * @remarks
4046
4031
  * The type of entity that is added as a rider for this entity
@@ -4072,8 +4057,9 @@ export class EntityAddRiderComponent extends EntityComponent {
4072
4057
  * accelerated by giving the entity the items it likes as
4073
4058
  * defined by feedItems.
4074
4059
  */
4060
+ // @ts-ignore Class inheritance allowed for native defined classes
4075
4061
  export class EntityAgeableComponent extends EntityComponent {
4076
- protected constructor();
4062
+ private constructor();
4077
4063
  /**
4078
4064
  * @remarks
4079
4065
  * Amount of time before the entity grows up, -1 for always a
@@ -4117,8 +4103,9 @@ export class EntityAgeableComponent extends EntityComponent {
4117
4103
  /**
4118
4104
  * @beta
4119
4105
  */
4106
+ // @ts-ignore Class inheritance allowed for native defined classes
4120
4107
  export class EntityAttributeComponent extends EntityComponent {
4121
- protected constructor();
4108
+ private constructor();
4122
4109
  readonly current: number;
4123
4110
  readonly value: number;
4124
4111
  /**
@@ -4152,11 +4139,11 @@ export class EntityAttributeComponent extends EntityComponent {
4152
4139
  }
4153
4140
 
4154
4141
  /**
4155
- * @beta
4156
4142
  * Base class for a family of entity movement events.
4157
4143
  */
4144
+ // @ts-ignore Class inheritance allowed for native defined classes
4158
4145
  export class EntityBaseMovementComponent extends EntityComponent {
4159
- protected constructor();
4146
+ private constructor();
4160
4147
  readonly maxTurn: number;
4161
4148
  }
4162
4149
 
@@ -4165,8 +4152,9 @@ export class EntityBaseMovementComponent extends EntityComponent {
4165
4152
  * Defines what blocks this entity can breathe in and gives
4166
4153
  * them the ability to suffocate.
4167
4154
  */
4155
+ // @ts-ignore Class inheritance allowed for native defined classes
4168
4156
  export class EntityBreathableComponent extends EntityComponent {
4169
- protected constructor();
4157
+ private constructor();
4170
4158
  /**
4171
4159
  * @remarks
4172
4160
  * If true, this entity can breathe in air.
@@ -4258,12 +4246,12 @@ export class EntityBreathableComponent extends EntityComponent {
4258
4246
  }
4259
4247
 
4260
4248
  /**
4261
- * @beta
4262
4249
  * When added, this component signifies that the entity can
4263
4250
  * climb up ladders.
4264
4251
  */
4252
+ // @ts-ignore Class inheritance allowed for native defined classes
4265
4253
  export class EntityCanClimbComponent extends EntityComponent {
4266
- protected constructor();
4254
+ private constructor();
4267
4255
  /**
4268
4256
  * @remarks
4269
4257
  * Identifier of this component. Should always be
@@ -4274,13 +4262,13 @@ export class EntityCanClimbComponent extends EntityComponent {
4274
4262
  }
4275
4263
 
4276
4264
  /**
4277
- * @beta
4278
4265
  * When added, this component signifies that the entity can
4279
4266
  * fly, and the pathfinder won't be restricted to paths where a
4280
4267
  * solid block is required underneath it.
4281
4268
  */
4269
+ // @ts-ignore Class inheritance allowed for native defined classes
4282
4270
  export class EntityCanFlyComponent extends EntityComponent {
4283
- protected constructor();
4271
+ private constructor();
4284
4272
  /**
4285
4273
  * @remarks
4286
4274
  * Identifier of this component. Should always be
@@ -4291,12 +4279,12 @@ export class EntityCanFlyComponent extends EntityComponent {
4291
4279
  }
4292
4280
 
4293
4281
  /**
4294
- * @beta
4295
4282
  * When added, this component signifies that the entity can
4296
4283
  * power jump like the horse does within Minecraft.
4297
4284
  */
4285
+ // @ts-ignore Class inheritance allowed for native defined classes
4298
4286
  export class EntityCanPowerJumpComponent extends EntityComponent {
4299
- protected constructor();
4287
+ private constructor();
4300
4288
  /**
4301
4289
  * @remarks
4302
4290
  * Identifier of this component. Should always be
@@ -4307,12 +4295,12 @@ export class EntityCanPowerJumpComponent extends EntityComponent {
4307
4295
  }
4308
4296
 
4309
4297
  /**
4310
- * @beta
4311
4298
  * Defines the entity's color. Only works on certain entities
4312
4299
  * that have predefined color values (sheep, llama, shulker).
4313
4300
  */
4301
+ // @ts-ignore Class inheritance allowed for native defined classes
4314
4302
  export class EntityColorComponent extends EntityComponent {
4315
- protected constructor();
4303
+ private constructor();
4316
4304
  /**
4317
4305
  * @remarks
4318
4306
  * This property can't be edited in read-only mode.
@@ -4329,11 +4317,11 @@ export class EntityColorComponent extends EntityComponent {
4329
4317
  }
4330
4318
 
4331
4319
  /**
4332
- * @beta
4333
4320
  * Base class for downstream entity components.
4334
4321
  */
4322
+ // @ts-ignore Class inheritance allowed for native defined classes
4335
4323
  export class EntityComponent extends Component {
4336
- protected constructor();
4324
+ private constructor();
4337
4325
  /**
4338
4326
  * @beta
4339
4327
  * @remarks
@@ -4350,7 +4338,7 @@ export class EntityComponent extends Component {
4350
4338
  * causes them to grow.
4351
4339
  */
4352
4340
  export class EntityDefinitionFeedItem {
4353
- protected constructor();
4341
+ private constructor();
4354
4342
  /**
4355
4343
  * @remarks
4356
4344
  * The amount by which an entity's age will increase when fed
@@ -4372,7 +4360,7 @@ export class EntityDefinitionFeedItem {
4372
4360
  * @beta
4373
4361
  */
4374
4362
  export class EntityDieAfterEvent {
4375
- protected constructor();
4363
+ private constructor();
4376
4364
  readonly damageSource: EntityDamageSource;
4377
4365
  readonly deadEntity: Entity;
4378
4366
  }
@@ -4380,8 +4368,9 @@ export class EntityDieAfterEvent {
4380
4368
  /**
4381
4369
  * @beta
4382
4370
  */
4371
+ // @ts-ignore Class inheritance allowed for native defined classes
4383
4372
  export class EntityDieAfterEventSignal extends IEntityDieAfterEventSignal {
4384
- protected constructor();
4373
+ private constructor();
4385
4374
  }
4386
4375
 
4387
4376
  /**
@@ -4389,8 +4378,9 @@ export class EntityDieAfterEventSignal extends IEntityDieAfterEventSignal {
4389
4378
  * Provides access to a mob's equipment slots. This component
4390
4379
  * exists for all mob entities.
4391
4380
  */
4381
+ // @ts-ignore Class inheritance allowed for native defined classes
4392
4382
  export class EntityEquipmentInventoryComponent extends EntityComponent {
4393
- protected constructor();
4383
+ private constructor();
4394
4384
  static readonly componentId = 'minecraft:equipment_inventory';
4395
4385
  /**
4396
4386
  * @remarks
@@ -4437,12 +4427,12 @@ export class EntityEquipmentInventoryComponent extends EntityComponent {
4437
4427
  }
4438
4428
 
4439
4429
  /**
4440
- * @beta
4441
4430
  * When added, this component signifies that this entity
4442
4431
  * doesn't take damage from fire.
4443
4432
  */
4433
+ // @ts-ignore Class inheritance allowed for native defined classes
4444
4434
  export class EntityFireImmuneComponent extends EntityComponent {
4445
- protected constructor();
4435
+ private constructor();
4446
4436
  /**
4447
4437
  * @remarks
4448
4438
  * Identifier of this component. Should always be
@@ -4453,12 +4443,12 @@ export class EntityFireImmuneComponent extends EntityComponent {
4453
4443
  }
4454
4444
 
4455
4445
  /**
4456
- * @beta
4457
4446
  * When added, this component signifies that this entity can
4458
4447
  * float in liquid blocks.
4459
4448
  */
4449
+ // @ts-ignore Class inheritance allowed for native defined classes
4460
4450
  export class EntityFloatsInLiquidComponent extends EntityComponent {
4461
- protected constructor();
4451
+ private constructor();
4462
4452
  /**
4463
4453
  * @remarks
4464
4454
  * Identifier of this component. Should always be
@@ -4469,11 +4459,11 @@ export class EntityFloatsInLiquidComponent extends EntityComponent {
4469
4459
  }
4470
4460
 
4471
4461
  /**
4472
- * @beta
4473
4462
  * Represents the flying speed of an entity.
4474
4463
  */
4464
+ // @ts-ignore Class inheritance allowed for native defined classes
4475
4465
  export class EntityFlyingSpeedComponent extends EntityComponent {
4476
- protected constructor();
4466
+ private constructor();
4477
4467
  /**
4478
4468
  * @remarks
4479
4469
  * This property can't be edited in read-only mode.
@@ -4490,11 +4480,11 @@ export class EntityFlyingSpeedComponent extends EntityComponent {
4490
4480
  }
4491
4481
 
4492
4482
  /**
4493
- * @beta
4494
4483
  * Defines how much friction affects this entity.
4495
4484
  */
4485
+ // @ts-ignore Class inheritance allowed for native defined classes
4496
4486
  export class EntityFrictionModifierComponent extends EntityComponent {
4497
- protected constructor();
4487
+ private constructor();
4498
4488
  /**
4499
4489
  * @remarks
4500
4490
  * This property can't be edited in read-only mode.
@@ -4511,12 +4501,12 @@ export class EntityFrictionModifierComponent extends EntityComponent {
4511
4501
  }
4512
4502
 
4513
4503
  /**
4514
- * @beta
4515
4504
  * Sets the offset from the ground that the entity is actually
4516
4505
  * at.
4517
4506
  */
4507
+ // @ts-ignore Class inheritance allowed for native defined classes
4518
4508
  export class EntityGroundOffsetComponent extends EntityComponent {
4519
- protected constructor();
4509
+ private constructor();
4520
4510
  /**
4521
4511
  * @remarks
4522
4512
  * This property can't be edited in read-only mode.
@@ -4536,8 +4526,9 @@ export class EntityGroundOffsetComponent extends EntityComponent {
4536
4526
  * @beta
4537
4527
  * Defines the interactions with this entity for healing it.
4538
4528
  */
4529
+ // @ts-ignore Class inheritance allowed for native defined classes
4539
4530
  export class EntityHealableComponent extends EntityComponent {
4540
- protected constructor();
4531
+ private constructor();
4541
4532
  /**
4542
4533
  * @remarks
4543
4534
  * A set of filters for when these Healable items would apply.
@@ -4575,8 +4566,9 @@ export class EntityHealableComponent extends EntityComponent {
4575
4566
  * @beta
4576
4567
  * Defines the health properties of an entity.
4577
4568
  */
4569
+ // @ts-ignore Class inheritance allowed for native defined classes
4578
4570
  export class EntityHealthComponent extends EntityAttributeComponent {
4579
- protected constructor();
4571
+ private constructor();
4580
4572
  /**
4581
4573
  * @remarks
4582
4574
  * Identifier of this component. Should always be
@@ -4592,7 +4584,7 @@ export class EntityHealthComponent extends EntityAttributeComponent {
4592
4584
  * attacking) another entity.
4593
4585
  */
4594
4586
  export class EntityHitAfterEvent {
4595
- protected constructor();
4587
+ private constructor();
4596
4588
  /**
4597
4589
  * @remarks
4598
4590
  * Entity that made a hit/melee attack.
@@ -4624,8 +4616,9 @@ export class EntityHitAfterEvent {
4624
4616
  * Manages callbacks that are connected to when an entity makes
4625
4617
  * a melee attack on another entity.
4626
4618
  */
4619
+ // @ts-ignore Class inheritance allowed for native defined classes
4627
4620
  export class EntityHitAfterEventSignal extends IEntityHitAfterEventSignal {
4628
- protected constructor();
4621
+ private constructor();
4629
4622
  }
4630
4623
 
4631
4624
  /**
@@ -4634,7 +4627,7 @@ export class EntityHitAfterEventSignal extends IEntityHitAfterEventSignal {
4634
4627
  * another entity.
4635
4628
  */
4636
4629
  export class EntityHurtAfterEvent {
4637
- protected constructor();
4630
+ private constructor();
4638
4631
  /**
4639
4632
  * @remarks
4640
4633
  * Describes the amount of damage caused.
@@ -4661,16 +4654,17 @@ export class EntityHurtAfterEvent {
4661
4654
  * Manages callbacks that are connected to when an entity is
4662
4655
  * hurt.
4663
4656
  */
4657
+ // @ts-ignore Class inheritance allowed for native defined classes
4664
4658
  export class EntityHurtAfterEventSignal extends IEntityHurtAfterEventSignal {
4665
- protected constructor();
4659
+ private constructor();
4666
4660
  }
4667
4661
 
4668
4662
  /**
4669
- * @beta
4670
4663
  * Defines this entity's inventory properties.
4671
4664
  */
4665
+ // @ts-ignore Class inheritance allowed for native defined classes
4672
4666
  export class EntityInventoryComponent extends EntityComponent {
4673
- protected constructor();
4667
+ private constructor();
4674
4668
  /**
4675
4669
  * @remarks
4676
4670
  * Number of slots that this entity can gain per extra
@@ -4733,12 +4727,12 @@ export class EntityInventoryComponent extends EntityComponent {
4733
4727
  }
4734
4728
 
4735
4729
  /**
4736
- * @beta
4737
4730
  * When added, this component signifies that this entity is a
4738
4731
  * baby.
4739
4732
  */
4733
+ // @ts-ignore Class inheritance allowed for native defined classes
4740
4734
  export class EntityIsBabyComponent extends EntityComponent {
4741
- protected constructor();
4735
+ private constructor();
4742
4736
  /**
4743
4737
  * @remarks
4744
4738
  * Identifier of this component. Should always be
@@ -4749,12 +4743,12 @@ export class EntityIsBabyComponent extends EntityComponent {
4749
4743
  }
4750
4744
 
4751
4745
  /**
4752
- * @beta
4753
4746
  * When added, this component signifies that this entity is
4754
4747
  * charged.
4755
4748
  */
4749
+ // @ts-ignore Class inheritance allowed for native defined classes
4756
4750
  export class EntityIsChargedComponent extends EntityComponent {
4757
- protected constructor();
4751
+ private constructor();
4758
4752
  /**
4759
4753
  * @remarks
4760
4754
  * Identifier of this component. Should always be
@@ -4765,12 +4759,12 @@ export class EntityIsChargedComponent extends EntityComponent {
4765
4759
  }
4766
4760
 
4767
4761
  /**
4768
- * @beta
4769
4762
  * When added, this component signifies that this entity is
4770
4763
  * currently carrying a chest.
4771
4764
  */
4765
+ // @ts-ignore Class inheritance allowed for native defined classes
4772
4766
  export class EntityIsChestedComponent extends EntityComponent {
4773
- protected constructor();
4767
+ private constructor();
4774
4768
  /**
4775
4769
  * @remarks
4776
4770
  * Identifier of this component. Should always be
@@ -4781,12 +4775,12 @@ export class EntityIsChestedComponent extends EntityComponent {
4781
4775
  }
4782
4776
 
4783
4777
  /**
4784
- * @beta
4785
4778
  * When added, this component signifies that dyes can be used
4786
4779
  * on this entity to change its color.
4787
4780
  */
4781
+ // @ts-ignore Class inheritance allowed for native defined classes
4788
4782
  export class EntityIsDyeableComponent extends EntityComponent {
4789
- protected constructor();
4783
+ private constructor();
4790
4784
  /**
4791
4785
  * @remarks
4792
4786
  * Identifier of this component. Should always be
@@ -4797,12 +4791,12 @@ export class EntityIsDyeableComponent extends EntityComponent {
4797
4791
  }
4798
4792
 
4799
4793
  /**
4800
- * @beta
4801
4794
  * When added, this component signifies that this entity can
4802
4795
  * hide from hostile mobs while invisible.
4803
4796
  */
4797
+ // @ts-ignore Class inheritance allowed for native defined classes
4804
4798
  export class EntityIsHiddenWhenInvisibleComponent extends EntityComponent {
4805
- protected constructor();
4799
+ private constructor();
4806
4800
  /**
4807
4801
  * @remarks
4808
4802
  * Identifier of this component. Should always be
@@ -4813,12 +4807,12 @@ export class EntityIsHiddenWhenInvisibleComponent extends EntityComponent {
4813
4807
  }
4814
4808
 
4815
4809
  /**
4816
- * @beta
4817
4810
  * When added, this component signifies that this entity this
4818
4811
  * currently on fire.
4819
4812
  */
4813
+ // @ts-ignore Class inheritance allowed for native defined classes
4820
4814
  export class EntityIsIgnitedComponent extends EntityComponent {
4821
- protected constructor();
4815
+ private constructor();
4822
4816
  /**
4823
4817
  * @remarks
4824
4818
  * Identifier of this component. Should always be
@@ -4829,12 +4823,12 @@ export class EntityIsIgnitedComponent extends EntityComponent {
4829
4823
  }
4830
4824
 
4831
4825
  /**
4832
- * @beta
4833
4826
  * When added, this component signifies that this entity is an
4834
4827
  * illager captain.
4835
4828
  */
4829
+ // @ts-ignore Class inheritance allowed for native defined classes
4836
4830
  export class EntityIsIllagerCaptainComponent extends EntityComponent {
4837
- protected constructor();
4831
+ private constructor();
4838
4832
  /**
4839
4833
  * @remarks
4840
4834
  * Identifier of this component. Should always be
@@ -4845,12 +4839,12 @@ export class EntityIsIllagerCaptainComponent extends EntityComponent {
4845
4839
  }
4846
4840
 
4847
4841
  /**
4848
- * @beta
4849
4842
  * When added, this component signifies that this entity is
4850
4843
  * currently saddled.
4851
4844
  */
4845
+ // @ts-ignore Class inheritance allowed for native defined classes
4852
4846
  export class EntityIsSaddledComponent extends EntityComponent {
4853
- protected constructor();
4847
+ private constructor();
4854
4848
  /**
4855
4849
  * @remarks
4856
4850
  * Identifier of this component. Should always be
@@ -4861,12 +4855,12 @@ export class EntityIsSaddledComponent extends EntityComponent {
4861
4855
  }
4862
4856
 
4863
4857
  /**
4864
- * @beta
4865
4858
  * When added, this component signifies that this entity is
4866
4859
  * currently shaking.
4867
4860
  */
4861
+ // @ts-ignore Class inheritance allowed for native defined classes
4868
4862
  export class EntityIsShakingComponent extends EntityComponent {
4869
- protected constructor();
4863
+ private constructor();
4870
4864
  /**
4871
4865
  * @remarks
4872
4866
  * Identifier of this component. Should always be
@@ -4877,12 +4871,12 @@ export class EntityIsShakingComponent extends EntityComponent {
4877
4871
  }
4878
4872
 
4879
4873
  /**
4880
- * @beta
4881
4874
  * When added, this component signifies that this entity is
4882
4875
  * currently sheared.
4883
4876
  */
4877
+ // @ts-ignore Class inheritance allowed for native defined classes
4884
4878
  export class EntityIsShearedComponent extends EntityComponent {
4885
- protected constructor();
4879
+ private constructor();
4886
4880
  /**
4887
4881
  * @remarks
4888
4882
  * Identifier of this component. Should always be
@@ -4893,12 +4887,12 @@ export class EntityIsShearedComponent extends EntityComponent {
4893
4887
  }
4894
4888
 
4895
4889
  /**
4896
- * @beta
4897
4890
  * When added, this component signifies that this entity can be
4898
4891
  * stacked.
4899
4892
  */
4893
+ // @ts-ignore Class inheritance allowed for native defined classes
4900
4894
  export class EntityIsStackableComponent extends EntityComponent {
4901
- protected constructor();
4895
+ private constructor();
4902
4896
  /**
4903
4897
  * @remarks
4904
4898
  * Identifier of this component. Should always be
@@ -4909,12 +4903,12 @@ export class EntityIsStackableComponent extends EntityComponent {
4909
4903
  }
4910
4904
 
4911
4905
  /**
4912
- * @beta
4913
4906
  * When added, this component signifies that this entity is
4914
4907
  * currently stunned.
4915
4908
  */
4909
+ // @ts-ignore Class inheritance allowed for native defined classes
4916
4910
  export class EntityIsStunnedComponent extends EntityComponent {
4917
- protected constructor();
4911
+ private constructor();
4918
4912
  /**
4919
4913
  * @remarks
4920
4914
  * Identifier of this component. Should always be
@@ -4925,12 +4919,12 @@ export class EntityIsStunnedComponent extends EntityComponent {
4925
4919
  }
4926
4920
 
4927
4921
  /**
4928
- * @beta
4929
4922
  * When added, this component signifies that this entity is
4930
4923
  * currently tamed.
4931
4924
  */
4925
+ // @ts-ignore Class inheritance allowed for native defined classes
4932
4926
  export class EntityIsTamedComponent extends EntityComponent {
4933
- protected constructor();
4927
+ private constructor();
4934
4928
  /**
4935
4929
  * @remarks
4936
4930
  * Identifier of this component. Should always be
@@ -4941,14 +4935,14 @@ export class EntityIsTamedComponent extends EntityComponent {
4941
4935
  }
4942
4936
 
4943
4937
  /**
4944
- * @beta
4945
4938
  * If added onto the entity, this indicates that the entity
4946
4939
  * represents a free-floating item in the world. Lets you
4947
4940
  * retrieve the actual item stack contents via the itemStack
4948
4941
  * property.
4949
4942
  */
4943
+ // @ts-ignore Class inheritance allowed for native defined classes
4950
4944
  export class EntityItemComponent extends EntityComponent {
4951
- protected constructor();
4945
+ private constructor();
4952
4946
  /**
4953
4947
  * @remarks
4954
4948
  * Item stack represented by this entity in the world.
@@ -4971,7 +4965,7 @@ export class EntityItemComponent extends EntityComponent {
4971
4965
  * statements, Array.from(iterator), and more.
4972
4966
  */
4973
4967
  export class EntityIterator implements Iterable<Entity> {
4974
- protected constructor();
4968
+ private constructor();
4975
4969
  /**
4976
4970
  * @remarks
4977
4971
  * This function can't be called in read-only mode.
@@ -4994,8 +4988,9 @@ export class EntityIterator implements Iterable<Entity> {
4994
4988
  * @beta
4995
4989
  * Defines the base movement speed in lava of this entity.
4996
4990
  */
4991
+ // @ts-ignore Class inheritance allowed for native defined classes
4997
4992
  export class EntityLavaMovementComponent extends EntityAttributeComponent {
4998
- protected constructor();
4993
+ private constructor();
4999
4994
  /**
5000
4995
  * @remarks
5001
4996
  * Identifier of this component. Should always be
@@ -5010,8 +5005,9 @@ export class EntityLavaMovementComponent extends EntityAttributeComponent {
5010
5005
  * Allows this entity to be leashed and defines the conditions
5011
5006
  * and events for this entity when is leashed.
5012
5007
  */
5008
+ // @ts-ignore Class inheritance allowed for native defined classes
5013
5009
  export class EntityLeashableComponent extends EntityComponent {
5014
- protected constructor();
5010
+ private constructor();
5015
5011
  /**
5016
5012
  * @remarks
5017
5013
  * Distance in blocks at which the 'spring' effect starts
@@ -5051,12 +5047,12 @@ export class EntityLeashableComponent extends EntityComponent {
5051
5047
  }
5052
5048
 
5053
5049
  /**
5054
- * @beta
5055
5050
  * Additional variant value. Can be used to further
5056
5051
  * differentiate variants.
5057
5052
  */
5053
+ // @ts-ignore Class inheritance allowed for native defined classes
5058
5054
  export class EntityMarkVariantComponent extends EntityComponent {
5059
- protected constructor();
5055
+ private constructor();
5060
5056
  /**
5061
5057
  * @remarks
5062
5058
  * This property can't be edited in read-only mode.
@@ -5077,8 +5073,9 @@ export class EntityMarkVariantComponent extends EntityComponent {
5077
5073
  * Contains options for taming a rideable entity based on the
5078
5074
  * entity that mounts it.
5079
5075
  */
5076
+ // @ts-ignore Class inheritance allowed for native defined classes
5080
5077
  export class EntityMountTamingComponent extends EntityComponent {
5081
- protected constructor();
5078
+ private constructor();
5082
5079
  /**
5083
5080
  * @remarks
5084
5081
  * Identifier of this component. Should always be
@@ -5100,12 +5097,12 @@ export class EntityMountTamingComponent extends EntityComponent {
5100
5097
  }
5101
5098
 
5102
5099
  /**
5103
- * @beta
5104
5100
  * When added, this movement control allows the mob to swim in
5105
5101
  * water and walk on land.
5106
5102
  */
5103
+ // @ts-ignore Class inheritance allowed for native defined classes
5107
5104
  export class EntityMovementAmphibiousComponent extends EntityBaseMovementComponent {
5108
- protected constructor();
5105
+ private constructor();
5109
5106
  /**
5110
5107
  * @remarks
5111
5108
  * Identifier of this component. Should always be
@@ -5116,11 +5113,11 @@ export class EntityMovementAmphibiousComponent extends EntityBaseMovementCompone
5116
5113
  }
5117
5114
 
5118
5115
  /**
5119
- * @beta
5120
5116
  * This component accents the movement of an entity.
5121
5117
  */
5118
+ // @ts-ignore Class inheritance allowed for native defined classes
5122
5119
  export class EntityMovementBasicComponent extends EntityBaseMovementComponent {
5123
- protected constructor();
5120
+ private constructor();
5124
5121
  /**
5125
5122
  * @remarks
5126
5123
  * Identifier of this component. Should always be
@@ -5134,8 +5131,9 @@ export class EntityMovementBasicComponent extends EntityBaseMovementComponent {
5134
5131
  * @beta
5135
5132
  * Defines the general movement speed of this entity.
5136
5133
  */
5134
+ // @ts-ignore Class inheritance allowed for native defined classes
5137
5135
  export class EntityMovementComponent extends EntityAttributeComponent {
5138
- protected constructor();
5136
+ private constructor();
5139
5137
  /**
5140
5138
  * @remarks
5141
5139
  * Identifier of this component. Should always be
@@ -5146,11 +5144,11 @@ export class EntityMovementComponent extends EntityAttributeComponent {
5146
5144
  }
5147
5145
 
5148
5146
  /**
5149
- * @beta
5150
5147
  * When added, this move control causes the mob to fly.
5151
5148
  */
5149
+ // @ts-ignore Class inheritance allowed for native defined classes
5152
5150
  export class EntityMovementFlyComponent extends EntityBaseMovementComponent {
5153
- protected constructor();
5151
+ private constructor();
5154
5152
  /**
5155
5153
  * @remarks
5156
5154
  * Identifier of this component. Should always be
@@ -5161,12 +5159,12 @@ export class EntityMovementFlyComponent extends EntityBaseMovementComponent {
5161
5159
  }
5162
5160
 
5163
5161
  /**
5164
- * @beta
5165
5162
  * When added, this move control allows a mob to fly, swim,
5166
5163
  * climb, etc.
5167
5164
  */
5165
+ // @ts-ignore Class inheritance allowed for native defined classes
5168
5166
  export class EntityMovementGenericComponent extends EntityBaseMovementComponent {
5169
- protected constructor();
5167
+ private constructor();
5170
5168
  /**
5171
5169
  * @remarks
5172
5170
  * Identifier of this component. Should always be
@@ -5180,8 +5178,9 @@ export class EntityMovementGenericComponent extends EntityBaseMovementComponent
5180
5178
  * @beta
5181
5179
  * When added, this movement control allows the mob to glide.
5182
5180
  */
5181
+ // @ts-ignore Class inheritance allowed for native defined classes
5183
5182
  export class EntityMovementGlideComponent extends EntityBaseMovementComponent {
5184
- protected constructor();
5183
+ private constructor();
5185
5184
  /**
5186
5185
  * @remarks
5187
5186
  * Speed in effect when the entity is turning.
@@ -5206,11 +5205,11 @@ export class EntityMovementGlideComponent extends EntityBaseMovementComponent {
5206
5205
  }
5207
5206
 
5208
5207
  /**
5209
- * @beta
5210
5208
  * When added, this move control causes the mob to hover.
5211
5209
  */
5210
+ // @ts-ignore Class inheritance allowed for native defined classes
5212
5211
  export class EntityMovementHoverComponent extends EntityBaseMovementComponent {
5213
- protected constructor();
5212
+ private constructor();
5214
5213
  /**
5215
5214
  * @remarks
5216
5215
  * Identifier of this component. Should always be
@@ -5221,12 +5220,12 @@ export class EntityMovementHoverComponent extends EntityBaseMovementComponent {
5221
5220
  }
5222
5221
 
5223
5222
  /**
5224
- * @beta
5225
5223
  * Move control that causes the mob to jump as it moves with a
5226
5224
  * specified delay between jumps.
5227
5225
  */
5226
+ // @ts-ignore Class inheritance allowed for native defined classes
5228
5227
  export class EntityMovementJumpComponent extends EntityBaseMovementComponent {
5229
- protected constructor();
5228
+ private constructor();
5230
5229
  /**
5231
5230
  * @remarks
5232
5231
  * Identifier of this component. Should always be
@@ -5237,12 +5236,12 @@ export class EntityMovementJumpComponent extends EntityBaseMovementComponent {
5237
5236
  }
5238
5237
 
5239
5238
  /**
5240
- * @beta
5241
5239
  * When added, this move control causes the mob to hop as it
5242
5240
  * moves.
5243
5241
  */
5242
+ // @ts-ignore Class inheritance allowed for native defined classes
5244
5243
  export class EntityMovementSkipComponent extends EntityBaseMovementComponent {
5245
- protected constructor();
5244
+ private constructor();
5246
5245
  /**
5247
5246
  * @remarks
5248
5247
  * Identifier of this component. Should always be
@@ -5257,8 +5256,9 @@ export class EntityMovementSkipComponent extends EntityBaseMovementComponent {
5257
5256
  * When added, this move control causes the mob to sway side to
5258
5257
  * side giving the impression it is swimming.
5259
5258
  */
5259
+ // @ts-ignore Class inheritance allowed for native defined classes
5260
5260
  export class EntityMovementSwayComponent extends EntityBaseMovementComponent {
5261
- protected constructor();
5261
+ private constructor();
5262
5262
  /**
5263
5263
  * @remarks
5264
5264
  * Amplitude of the sway motion.
@@ -5287,8 +5287,9 @@ export class EntityMovementSwayComponent extends EntityBaseMovementComponent {
5287
5287
  * Allows this entity to generate paths that include vertical
5288
5288
  * walls (for example, like Minecraft spiders do.)
5289
5289
  */
5290
+ // @ts-ignore Class inheritance allowed for native defined classes
5290
5291
  export class EntityNavigationClimbComponent extends EntityNavigationComponent {
5291
- protected constructor();
5292
+ private constructor();
5292
5293
  /**
5293
5294
  * @remarks
5294
5295
  * Identifier of this component. Should always be
@@ -5303,8 +5304,9 @@ export class EntityNavigationClimbComponent extends EntityNavigationComponent {
5303
5304
  * Allows this entity to generate paths that include vertical
5304
5305
  * walls (for example, like Minecraft spiders do.)
5305
5306
  */
5307
+ // @ts-ignore Class inheritance allowed for native defined classes
5306
5308
  export class EntityNavigationComponent extends EntityComponent {
5307
- protected constructor();
5309
+ private constructor();
5308
5310
  /**
5309
5311
  * @remarks
5310
5312
  * Tells the pathfinder to avoid blocks that cause damage when
@@ -5460,8 +5462,9 @@ export class EntityNavigationComponent extends EntityComponent {
5460
5462
  * Allows this entity to generate paths by flying around the
5461
5463
  * air like the regular Ghast.
5462
5464
  */
5465
+ // @ts-ignore Class inheritance allowed for native defined classes
5463
5466
  export class EntityNavigationFloatComponent extends EntityNavigationComponent {
5464
- protected constructor();
5467
+ private constructor();
5465
5468
  /**
5466
5469
  * @remarks
5467
5470
  * Identifier of this component. Should always be
@@ -5476,8 +5479,9 @@ export class EntityNavigationFloatComponent extends EntityNavigationComponent {
5476
5479
  * Allows this entity to generate paths in the air (for
5477
5480
  * example, like Minecraft parrots do.)
5478
5481
  */
5482
+ // @ts-ignore Class inheritance allowed for native defined classes
5479
5483
  export class EntityNavigationFlyComponent extends EntityNavigationComponent {
5480
- protected constructor();
5484
+ private constructor();
5481
5485
  /**
5482
5486
  * @remarks
5483
5487
  * Identifier of this component. Should always be
@@ -5493,8 +5497,9 @@ export class EntityNavigationFlyComponent extends EntityNavigationComponent {
5493
5497
  * flying and/or climbing around and jumping up and down a
5494
5498
  * block.
5495
5499
  */
5500
+ // @ts-ignore Class inheritance allowed for native defined classes
5496
5501
  export class EntityNavigationGenericComponent extends EntityNavigationComponent {
5497
- protected constructor();
5502
+ private constructor();
5498
5503
  /**
5499
5504
  * @remarks
5500
5505
  * Identifier of this component. Should always be
@@ -5510,8 +5515,9 @@ export class EntityNavigationGenericComponent extends EntityNavigationComponent
5510
5515
  * example, like the Minecraft Bees do.) Keeps them from
5511
5516
  * falling out of the skies and doing predictive movement.
5512
5517
  */
5518
+ // @ts-ignore Class inheritance allowed for native defined classes
5513
5519
  export class EntityNavigationHoverComponent extends EntityNavigationComponent {
5514
- protected constructor();
5520
+ private constructor();
5515
5521
  /**
5516
5522
  * @remarks
5517
5523
  * Identifier of this component. Should always be
@@ -5526,8 +5532,9 @@ export class EntityNavigationHoverComponent extends EntityNavigationComponent {
5526
5532
  * Allows this entity to generate paths by walking around and
5527
5533
  * jumping up and down a block like regular mobs.
5528
5534
  */
5535
+ // @ts-ignore Class inheritance allowed for native defined classes
5529
5536
  export class EntityNavigationWalkComponent extends EntityNavigationComponent {
5530
- protected constructor();
5537
+ private constructor();
5531
5538
  /**
5532
5539
  * @remarks
5533
5540
  * Identifier of this component. Should always be
@@ -5541,8 +5548,9 @@ export class EntityNavigationWalkComponent extends EntityNavigationComponent {
5541
5548
  * @beta
5542
5549
  * When present on an entity, this entity is on fire.
5543
5550
  */
5551
+ // @ts-ignore Class inheritance allowed for native defined classes
5544
5552
  export class EntityOnFireComponent extends EntityComponent {
5545
- protected constructor();
5553
+ private constructor();
5546
5554
  /**
5547
5555
  * @remarks
5548
5556
  * The number of ticks remaining before the fire goes out.
@@ -5553,11 +5561,11 @@ export class EntityOnFireComponent extends EntityComponent {
5553
5561
  }
5554
5562
 
5555
5563
  /**
5556
- * @beta
5557
5564
  * Sets the distance through which the entity can push through.
5558
5565
  */
5566
+ // @ts-ignore Class inheritance allowed for native defined classes
5559
5567
  export class EntityPushThroughComponent extends EntityComponent {
5560
- protected constructor();
5568
+ private constructor();
5561
5569
  /**
5562
5570
  * @remarks
5563
5571
  * This property can't be edited in read-only mode.
@@ -5577,15 +5585,16 @@ export class EntityPushThroughComponent extends EntityComponent {
5577
5585
  * @beta
5578
5586
  */
5579
5587
  export class EntityRemovedAfterEvent {
5580
- protected constructor();
5588
+ private constructor();
5581
5589
  readonly removedEntity: string;
5582
5590
  }
5583
5591
 
5584
5592
  /**
5585
5593
  * @beta
5586
5594
  */
5595
+ // @ts-ignore Class inheritance allowed for native defined classes
5587
5596
  export class EntityRemovedAfterEventSignal extends IEntityRemovedAfterEventSignal {
5588
- protected constructor();
5597
+ private constructor();
5589
5598
  }
5590
5599
 
5591
5600
  /**
@@ -5593,8 +5602,9 @@ export class EntityRemovedAfterEventSignal extends IEntityRemovedAfterEventSigna
5593
5602
  * When added, this component adds the capability that an
5594
5603
  * entity can be ridden by another entity.
5595
5604
  */
5605
+ // @ts-ignore Class inheritance allowed for native defined classes
5596
5606
  export class EntityRideableComponent extends EntityComponent {
5597
- protected constructor();
5607
+ private constructor();
5598
5608
  /**
5599
5609
  * @remarks
5600
5610
  * Zero-based index of the seat that can used to control this
@@ -5714,8 +5724,9 @@ export class EntityRideableComponent extends EntityComponent {
5714
5724
  * This component is added to any entity when it is riding
5715
5725
  * another entity.
5716
5726
  */
5727
+ // @ts-ignore Class inheritance allowed for native defined classes
5717
5728
  export class EntityRidingComponent extends EntityComponent {
5718
- protected constructor();
5729
+ private constructor();
5719
5730
  /**
5720
5731
  * @remarks
5721
5732
  * The entity this entity is currently riding on.
@@ -5733,11 +5744,11 @@ export class EntityRidingComponent extends EntityComponent {
5733
5744
  }
5734
5745
 
5735
5746
  /**
5736
- * @beta
5737
5747
  * Sets the entity's visual size.
5738
5748
  */
5749
+ // @ts-ignore Class inheritance allowed for native defined classes
5739
5750
  export class EntityScaleComponent extends EntityComponent {
5740
- protected constructor();
5751
+ private constructor();
5741
5752
  /**
5742
5753
  * @remarks
5743
5754
  * This property can't be edited in read-only mode.
@@ -5754,12 +5765,12 @@ export class EntityScaleComponent extends EntityComponent {
5754
5765
  }
5755
5766
 
5756
5767
  /**
5757
- * @beta
5758
5768
  * Skin Id value. Can be used to differentiate skins, such as
5759
5769
  * base skins for villagers.
5760
5770
  */
5771
+ // @ts-ignore Class inheritance allowed for native defined classes
5761
5772
  export class EntitySkinIdComponent extends EntityComponent {
5762
- protected constructor();
5773
+ private constructor();
5763
5774
  /**
5764
5775
  * @remarks
5765
5776
  * This property can't be edited in read-only mode.
@@ -5781,7 +5792,7 @@ export class EntitySkinIdComponent extends EntityComponent {
5781
5792
  * world.
5782
5793
  */
5783
5794
  export class EntitySpawnAfterEvent {
5784
- protected constructor();
5795
+ private constructor();
5785
5796
  /**
5786
5797
  * @remarks
5787
5798
  * Entity that was spawned.
@@ -5797,16 +5808,18 @@ export class EntitySpawnAfterEvent {
5797
5808
  * Registers a script-based event handler for handling what
5798
5809
  * happens when an entity spawns.
5799
5810
  */
5811
+ // @ts-ignore Class inheritance allowed for native defined classes
5800
5812
  export class EntitySpawnAfterEventSignal extends IEntitySpawnAfterEventSignal {
5801
- protected constructor();
5813
+ private constructor();
5802
5814
  }
5803
5815
 
5804
5816
  /**
5805
5817
  * @beta
5806
5818
  * Defines the entity's strength to carry items.
5807
5819
  */
5820
+ // @ts-ignore Class inheritance allowed for native defined classes
5808
5821
  export class EntityStrengthComponent extends EntityComponent {
5809
- protected constructor();
5822
+ private constructor();
5810
5823
  /**
5811
5824
  * @remarks
5812
5825
  * Maximum strength of this entity, as defined in the entity
@@ -5829,8 +5842,9 @@ export class EntityStrengthComponent extends EntityComponent {
5829
5842
  * @beta
5830
5843
  * Defines the rules for an entity to be tamed by the player.
5831
5844
  */
5845
+ // @ts-ignore Class inheritance allowed for native defined classes
5832
5846
  export class EntityTameableComponent extends EntityComponent {
5833
- protected constructor();
5847
+ private constructor();
5834
5848
  /**
5835
5849
  * @remarks
5836
5850
  * The chance of taming the entity with each item use between
@@ -5871,7 +5885,7 @@ export class EntityTameableComponent extends EntityComponent {
5871
5885
  * Represents information about a type of entity.
5872
5886
  */
5873
5887
  export class EntityType {
5874
- protected constructor();
5888
+ private constructor();
5875
5889
  /**
5876
5890
  * @remarks
5877
5891
  * Identifier of this entity type - for example,
@@ -5886,7 +5900,7 @@ export class EntityType {
5886
5900
  * An iterator that loops through available entity types.
5887
5901
  */
5888
5902
  export class EntityTypeIterator implements Iterable<EntityType> {
5889
- protected constructor();
5903
+ private constructor();
5890
5904
  /**
5891
5905
  * @remarks
5892
5906
  * This function can't be called in read-only mode.
@@ -5907,7 +5921,7 @@ export class EntityTypeIterator implements Iterable<EntityType> {
5907
5921
  * use within the world.
5908
5922
  */
5909
5923
  export class EntityTypes {
5910
- protected constructor();
5924
+ private constructor();
5911
5925
  /**
5912
5926
  * @remarks
5913
5927
  * Retrieves an entity type using a string-based identifier.
@@ -5927,8 +5941,9 @@ export class EntityTypes {
5927
5941
  * Defines the general movement speed underwater of this
5928
5942
  * entity.
5929
5943
  */
5944
+ // @ts-ignore Class inheritance allowed for native defined classes
5930
5945
  export class EntityUnderwaterMovementComponent extends EntityAttributeComponent {
5931
- protected constructor();
5946
+ private constructor();
5932
5947
  /**
5933
5948
  * @remarks
5934
5949
  * Identifier of this component. Should always be
@@ -5939,12 +5954,12 @@ export class EntityUnderwaterMovementComponent extends EntityAttributeComponent
5939
5954
  }
5940
5955
 
5941
5956
  /**
5942
- * @beta
5943
5957
  * Used to differentiate the component group of a variant of an
5944
5958
  * entity from others. (e.g. ocelot, villager).
5945
5959
  */
5960
+ // @ts-ignore Class inheritance allowed for native defined classes
5946
5961
  export class EntityVariantComponent extends EntityComponent {
5947
- protected constructor();
5962
+ private constructor();
5948
5963
  readonly value: number;
5949
5964
  /**
5950
5965
  * @remarks
@@ -5956,12 +5971,12 @@ export class EntityVariantComponent extends EntityComponent {
5956
5971
  }
5957
5972
 
5958
5973
  /**
5959
- * @beta
5960
5974
  * When added, this component signifies that this entity wants
5961
5975
  * to become a jockey.
5962
5976
  */
5977
+ // @ts-ignore Class inheritance allowed for native defined classes
5963
5978
  export class EntityWantsJockeyComponent extends EntityComponent {
5964
- protected constructor();
5979
+ private constructor();
5965
5980
  /**
5966
5981
  * @remarks
5967
5982
  * Identifier of this component. Should always be
@@ -5977,7 +5992,7 @@ export class EntityWantsJockeyComponent extends EntityComponent {
5977
5992
  * happened.
5978
5993
  */
5979
5994
  export class ExplosionAfterEvent {
5980
- protected constructor();
5995
+ private constructor();
5981
5996
  /**
5982
5997
  * @remarks
5983
5998
  * Dimension where the explosion has occurred.
@@ -6003,8 +6018,9 @@ export class ExplosionAfterEvent {
6003
6018
  * Manages callbacks that are connected to when an explosion
6004
6019
  * occurs.
6005
6020
  */
6021
+ // @ts-ignore Class inheritance allowed for native defined classes
6006
6022
  export class ExplosionAfterEventSignal extends IExplosionAfterEventSignal {
6007
- protected constructor();
6023
+ private constructor();
6008
6024
  }
6009
6025
 
6010
6026
  /**
@@ -6012,8 +6028,9 @@ export class ExplosionAfterEventSignal extends IExplosionAfterEventSignal {
6012
6028
  * Contains information regarding an explosion that has
6013
6029
  * happened.
6014
6030
  */
6031
+ // @ts-ignore Class inheritance allowed for native defined classes
6015
6032
  export class ExplosionBeforeEvent extends ExplosionAfterEvent {
6016
- protected constructor();
6033
+ private constructor();
6017
6034
  /**
6018
6035
  * @remarks
6019
6036
  * If set to true, cancels the explosion event.
@@ -6036,8 +6053,9 @@ export class ExplosionBeforeEvent extends ExplosionAfterEvent {
6036
6053
  * Manages callbacks that are connected to before an explosion
6037
6054
  * occurs.
6038
6055
  */
6056
+ // @ts-ignore Class inheritance allowed for native defined classes
6039
6057
  export class ExplosionBeforeEventSignal extends IExplosionBeforeEventSignal {
6040
- protected constructor();
6058
+ private constructor();
6041
6059
  }
6042
6060
 
6043
6061
  /**
@@ -6046,7 +6064,7 @@ export class ExplosionBeforeEventSignal extends IExplosionBeforeEventSignal {
6046
6064
  * item that can be fed to an entity to cause health effects.
6047
6065
  */
6048
6066
  export class FeedItem {
6049
- protected constructor();
6067
+ private constructor();
6050
6068
  /**
6051
6069
  * @remarks
6052
6070
  * The amount of health this entity gains when fed this item.
@@ -6078,7 +6096,7 @@ export class FeedItem {
6078
6096
  * item being fed to an entity.
6079
6097
  */
6080
6098
  export class FeedItemEffect {
6081
- protected constructor();
6099
+ private constructor();
6082
6100
  /**
6083
6101
  * @remarks
6084
6102
  * Gets an amplifier that may have been applied to this effect.
@@ -6114,7 +6132,7 @@ export class FeedItemEffect {
6114
6132
  * Represents a set of filters for when an event should occur.
6115
6133
  */
6116
6134
  export class FilterGroup {
6117
- protected constructor();
6135
+ private constructor();
6118
6136
  }
6119
6137
 
6120
6138
  /**
@@ -6122,7 +6140,7 @@ export class FilterGroup {
6122
6140
  * Represents constants related to fluid containers.
6123
6141
  */
6124
6142
  export class FluidContainer {
6125
- protected constructor();
6143
+ private constructor();
6126
6144
  /**
6127
6145
  * @remarks
6128
6146
  * Constant that represents the maximum fill level of a fluid
@@ -6145,7 +6163,7 @@ export class FluidContainer {
6145
6163
  * an event that fires when blocks are broken.
6146
6164
  */
6147
6165
  export class IBlockBreakAfterEventSignal {
6148
- protected constructor();
6166
+ private constructor();
6149
6167
  /**
6150
6168
  * @remarks
6151
6169
  * This function can't be called in read-only mode.
@@ -6167,7 +6185,7 @@ export class IBlockBreakAfterEventSignal {
6167
6185
  * an event that fires when an explosion occurs.
6168
6186
  */
6169
6187
  export class IBlockExplodeAfterEventSignal {
6170
- protected constructor();
6188
+ private constructor();
6171
6189
  /**
6172
6190
  * @remarks
6173
6191
  * This function can't be called in read-only mode.
@@ -6189,7 +6207,7 @@ export class IBlockExplodeAfterEventSignal {
6189
6207
  * an event that fires after a block is placed.
6190
6208
  */
6191
6209
  export class IBlockPlaceAfterEventSignal {
6192
- protected constructor();
6210
+ private constructor();
6193
6211
  /**
6194
6212
  * @remarks
6195
6213
  * This function can't be called in read-only mode.
@@ -6211,7 +6229,7 @@ export class IBlockPlaceAfterEventSignal {
6211
6229
  * an event that fires when a button is pushed.
6212
6230
  */
6213
6231
  export class IButtonPushAfterEventSignal {
6214
- protected constructor();
6232
+ private constructor();
6215
6233
  /**
6216
6234
  * @remarks
6217
6235
  * This function can't be called in read-only mode.
@@ -6233,7 +6251,7 @@ export class IButtonPushAfterEventSignal {
6233
6251
  * an event that fires when a chat message is sent.
6234
6252
  */
6235
6253
  export class IChatSendAfterEventSignal {
6236
- protected constructor();
6254
+ private constructor();
6237
6255
  /**
6238
6256
  * @remarks
6239
6257
  * This function can't be called in read-only mode.
@@ -6255,7 +6273,7 @@ export class IChatSendAfterEventSignal {
6255
6273
  * an event that fires before a chat message is sent.
6256
6274
  */
6257
6275
  export class IChatSendBeforeEventSignal {
6258
- protected constructor();
6276
+ private constructor();
6259
6277
  /**
6260
6278
  * @remarks
6261
6279
  * This function can't be called in read-only mode.
@@ -6278,7 +6296,7 @@ export class IChatSendBeforeEventSignal {
6278
6296
  * triggered to change.
6279
6297
  */
6280
6298
  export class IDataDrivenEntityTriggerAfterEventSignal {
6281
- protected constructor();
6299
+ private constructor();
6282
6300
  /**
6283
6301
  * @remarks
6284
6302
  * This function can't be called in read-only mode.
@@ -6304,7 +6322,7 @@ export class IDataDrivenEntityTriggerAfterEventSignal {
6304
6322
  * scheduled to change via a triggered event.
6305
6323
  */
6306
6324
  export class IDataDrivenEntityTriggerBeforeEventSignal {
6307
- protected constructor();
6325
+ private constructor();
6308
6326
  /**
6309
6327
  * @remarks
6310
6328
  * This function can't be called in read-only mode.
@@ -6329,7 +6347,7 @@ export class IDataDrivenEntityTriggerBeforeEventSignal {
6329
6347
  * an event that fires when an effect is added to an entity.
6330
6348
  */
6331
6349
  export class IEffectAddAfterEventSignal {
6332
- protected constructor();
6350
+ private constructor();
6333
6351
  /**
6334
6352
  * @remarks
6335
6353
  * This function can't be called in read-only mode.
@@ -6354,7 +6372,7 @@ export class IEffectAddAfterEventSignal {
6354
6372
  * an event that fires when an entity dies.
6355
6373
  */
6356
6374
  export class IEntityDieAfterEventSignal {
6357
- protected constructor();
6375
+ private constructor();
6358
6376
  /**
6359
6377
  * @remarks
6360
6378
  * This function can't be called in read-only mode.
@@ -6380,7 +6398,7 @@ export class IEntityDieAfterEventSignal {
6380
6398
  * another entity.
6381
6399
  */
6382
6400
  export class IEntityHitAfterEventSignal {
6383
- protected constructor();
6401
+ private constructor();
6384
6402
  /**
6385
6403
  * @remarks
6386
6404
  * This function can't be called in read-only mode.
@@ -6405,7 +6423,7 @@ export class IEntityHitAfterEventSignal {
6405
6423
  * an event that fires when an entity is hurt.
6406
6424
  */
6407
6425
  export class IEntityHurtAfterEventSignal {
6408
- protected constructor();
6426
+ private constructor();
6409
6427
  /**
6410
6428
  * @remarks
6411
6429
  * This function can't be called in read-only mode.
@@ -6428,7 +6446,7 @@ export class IEntityHurtAfterEventSignal {
6428
6446
  * @beta
6429
6447
  */
6430
6448
  export class IEntityRemovedAfterEventSignal {
6431
- protected constructor();
6449
+ private constructor();
6432
6450
  /**
6433
6451
  * @remarks
6434
6452
  * This function can't be called in read-only mode.
@@ -6453,7 +6471,7 @@ export class IEntityRemovedAfterEventSignal {
6453
6471
  * an event that fires after an entity is spawned.
6454
6472
  */
6455
6473
  export class IEntitySpawnAfterEventSignal {
6456
- protected constructor();
6474
+ private constructor();
6457
6475
  /**
6458
6476
  * @remarks
6459
6477
  * This function can't be called in read-only mode.
@@ -6475,7 +6493,7 @@ export class IEntitySpawnAfterEventSignal {
6475
6493
  * an event that fires after an explosion occurs.
6476
6494
  */
6477
6495
  export class IExplosionAfterEventSignal {
6478
- protected constructor();
6496
+ private constructor();
6479
6497
  /**
6480
6498
  * @remarks
6481
6499
  * This function can't be called in read-only mode.
@@ -6497,7 +6515,7 @@ export class IExplosionAfterEventSignal {
6497
6515
  * an event that fires before an explosion begins.
6498
6516
  */
6499
6517
  export class IExplosionBeforeEventSignal {
6500
- protected constructor();
6518
+ private constructor();
6501
6519
  /**
6502
6520
  * @remarks
6503
6521
  * This function can't be called in read-only mode.
@@ -6519,7 +6537,7 @@ export class IExplosionBeforeEventSignal {
6519
6537
  * an event that fires after an item has completed charging.
6520
6538
  */
6521
6539
  export class IItemCompleteChargeAfterEventSignal {
6522
- protected constructor();
6540
+ private constructor();
6523
6541
  /**
6524
6542
  * @remarks
6525
6543
  * This function can't be called in read-only mode.
@@ -6541,7 +6559,7 @@ export class IItemCompleteChargeAfterEventSignal {
6541
6559
  * an event that fires after an items' definition has changed.
6542
6560
  */
6543
6561
  export class IItemDefinitionAfterEventSignal {
6544
- protected constructor();
6562
+ private constructor();
6545
6563
  /**
6546
6564
  * @remarks
6547
6565
  * This function can't be called in read-only mode.
@@ -6565,7 +6583,7 @@ export class IItemDefinitionAfterEventSignal {
6565
6583
  * an event that fires before an items' definition changes.
6566
6584
  */
6567
6585
  export class IItemDefinitionBeforeEventSignal {
6568
- protected constructor();
6586
+ private constructor();
6569
6587
  /**
6570
6588
  * @remarks
6571
6589
  * This function can't be called in read-only mode.
@@ -6589,7 +6607,7 @@ export class IItemDefinitionBeforeEventSignal {
6589
6607
  * an event that fires after a charged item is released.
6590
6608
  */
6591
6609
  export class IItemReleaseChargeAfterEventSignal {
6592
- protected constructor();
6610
+ private constructor();
6593
6611
  /**
6594
6612
  * @remarks
6595
6613
  * This function can't be called in read-only mode.
@@ -6611,7 +6629,7 @@ export class IItemReleaseChargeAfterEventSignal {
6611
6629
  * an event that fires when a chargeable item starts charging.
6612
6630
  */
6613
6631
  export class IItemStartChargeAfterEventSignal {
6614
- protected constructor();
6632
+ private constructor();
6615
6633
  /**
6616
6634
  * @remarks
6617
6635
  * This function can't be called in read-only mode.
@@ -6634,7 +6652,7 @@ export class IItemStartChargeAfterEventSignal {
6634
6652
  * on a block.
6635
6653
  */
6636
6654
  export class IItemStartUseOnAfterEventSignal {
6637
- protected constructor();
6655
+ private constructor();
6638
6656
  /**
6639
6657
  * @remarks
6640
6658
  * This function can't be called in read-only mode.
@@ -6656,7 +6674,7 @@ export class IItemStartUseOnAfterEventSignal {
6656
6674
  * an event that fires when an item stops charging.
6657
6675
  */
6658
6676
  export class IItemStopChargeAfterEventSignal {
6659
- protected constructor();
6677
+ private constructor();
6660
6678
  /**
6661
6679
  * @remarks
6662
6680
  * This function can't be called in read-only mode.
@@ -6679,7 +6697,7 @@ export class IItemStopChargeAfterEventSignal {
6679
6697
  * block.
6680
6698
  */
6681
6699
  export class IItemStopUseOnAfterEventSignal {
6682
- protected constructor();
6700
+ private constructor();
6683
6701
  /**
6684
6702
  * @remarks
6685
6703
  * This function can't be called in read-only mode.
@@ -6701,7 +6719,7 @@ export class IItemStopUseOnAfterEventSignal {
6701
6719
  * an event that fires after an item is used.
6702
6720
  */
6703
6721
  export class IItemUseAfterEventSignal {
6704
- protected constructor();
6722
+ private constructor();
6705
6723
  /**
6706
6724
  * @remarks
6707
6725
  * This function can't be called in read-only mode.
@@ -6723,7 +6741,7 @@ export class IItemUseAfterEventSignal {
6723
6741
  * an event that fires before an item is used.
6724
6742
  */
6725
6743
  export class IItemUseBeforeEventSignal {
6726
- protected constructor();
6744
+ private constructor();
6727
6745
  /**
6728
6746
  * @remarks
6729
6747
  * This function can't be called in read-only mode.
@@ -6745,7 +6763,7 @@ export class IItemUseBeforeEventSignal {
6745
6763
  * an event that fires after an item is used on a block.
6746
6764
  */
6747
6765
  export class IItemUseOnAfterEventSignal {
6748
- protected constructor();
6766
+ private constructor();
6749
6767
  /**
6750
6768
  * @remarks
6751
6769
  * This function can't be called in read-only mode.
@@ -6767,7 +6785,7 @@ export class IItemUseOnAfterEventSignal {
6767
6785
  * an event that fires before an item is being used on a block.
6768
6786
  */
6769
6787
  export class IItemUseOnBeforeEventSignal {
6770
- protected constructor();
6788
+ private constructor();
6771
6789
  /**
6772
6790
  * @remarks
6773
6791
  * This function can't be called in read-only mode.
@@ -6789,7 +6807,7 @@ export class IItemUseOnBeforeEventSignal {
6789
6807
  * an event that fires after a lever is used.
6790
6808
  */
6791
6809
  export class ILeverActionAfterEventSignal {
6792
- protected constructor();
6810
+ private constructor();
6793
6811
  /**
6794
6812
  * @remarks
6795
6813
  * This function can't be called in read-only mode.
@@ -6811,7 +6829,7 @@ export class ILeverActionAfterEventSignal {
6811
6829
  * an event that fires after a piston is activated.
6812
6830
  */
6813
6831
  export class IPistonActivateAfterEventSignal {
6814
- protected constructor();
6832
+ private constructor();
6815
6833
  /**
6816
6834
  * @remarks
6817
6835
  * This function can't be called in read-only mode.
@@ -6833,7 +6851,7 @@ export class IPistonActivateAfterEventSignal {
6833
6851
  * an event that fires before a piston is activated.
6834
6852
  */
6835
6853
  export class IPistonActivateBeforeEventSignal {
6836
- protected constructor();
6854
+ private constructor();
6837
6855
  /**
6838
6856
  * @remarks
6839
6857
  * This function can't be called in read-only mode.
@@ -6855,7 +6873,7 @@ export class IPistonActivateBeforeEventSignal {
6855
6873
  * an event that fires after a player joins a world.
6856
6874
  */
6857
6875
  export class IPlayerJoinAfterEventSignal {
6858
- protected constructor();
6876
+ private constructor();
6859
6877
  /**
6860
6878
  * @remarks
6861
6879
  * This function can't be called in read-only mode.
@@ -6877,7 +6895,7 @@ export class IPlayerJoinAfterEventSignal {
6877
6895
  * an event that fires after a player leaves a world.
6878
6896
  */
6879
6897
  export class IPlayerLeaveAfterEventSignal {
6880
- protected constructor();
6898
+ private constructor();
6881
6899
  /**
6882
6900
  * @remarks
6883
6901
  * This function can't be called in read-only mode.
@@ -6899,7 +6917,7 @@ export class IPlayerLeaveAfterEventSignal {
6899
6917
  * an event that fires after a player spawns.
6900
6918
  */
6901
6919
  export class IPlayerSpawnAfterEventSignal {
6902
- protected constructor();
6920
+ private constructor();
6903
6921
  /**
6904
6922
  * @remarks
6905
6923
  * This function can't be called in read-only mode.
@@ -6921,7 +6939,7 @@ export class IPlayerSpawnAfterEventSignal {
6921
6939
  * an event that fires after a projectile hits a target.
6922
6940
  */
6923
6941
  export class IProjectileHitAfterEventSignal {
6924
- protected constructor();
6942
+ private constructor();
6925
6943
  /**
6926
6944
  * @remarks
6927
6945
  * This function can't be called in read-only mode.
@@ -6943,7 +6961,7 @@ export class IProjectileHitAfterEventSignal {
6943
6961
  * an event that fires when /script event command is called.
6944
6962
  */
6945
6963
  export class IScriptEventCommandMessageAfterEventSignal {
6946
- protected constructor();
6964
+ private constructor();
6947
6965
  /**
6948
6966
  * @remarks
6949
6967
  * This function can't be called in read-only mode.
@@ -6969,7 +6987,7 @@ export class IScriptEventCommandMessageAfterEventSignal {
6969
6987
  * that this event is for internal use only.
6970
6988
  */
6971
6989
  export class IServerMessageAfterEventSignal {
6972
- protected constructor();
6990
+ private constructor();
6973
6991
  /**
6974
6992
  * @remarks
6975
6993
  * This function can't be called in read-only mode.
@@ -6989,7 +7007,7 @@ export class IServerMessageAfterEventSignal {
6989
7007
  * @beta
6990
7008
  */
6991
7009
  export class ItemCompleteChargeAfterEvent {
6992
- protected constructor();
7010
+ private constructor();
6993
7011
  readonly itemStack: ItemStack;
6994
7012
  readonly source: Entity;
6995
7013
  readonly useDuration: number;
@@ -6998,16 +7016,17 @@ export class ItemCompleteChargeAfterEvent {
6998
7016
  /**
6999
7017
  * @beta
7000
7018
  */
7019
+ // @ts-ignore Class inheritance allowed for native defined classes
7001
7020
  export class ItemCompleteChargeAfterEventSignal extends IItemCompleteChargeAfterEventSignal {
7002
- protected constructor();
7021
+ private constructor();
7003
7022
  }
7004
7023
 
7005
7024
  /**
7006
- * @beta
7007
7025
  * Base class for item components.
7008
7026
  */
7027
+ // @ts-ignore Class inheritance allowed for native defined classes
7009
7028
  export class ItemComponent extends Component {
7010
- protected constructor();
7029
+ private constructor();
7011
7030
  }
7012
7031
 
7013
7032
  /**
@@ -7015,8 +7034,9 @@ export class ItemComponent extends Component {
7015
7034
  * When present on an item, this item has a cooldown effect
7016
7035
  * when used by entities.
7017
7036
  */
7037
+ // @ts-ignore Class inheritance allowed for native defined classes
7018
7038
  export class ItemCooldownComponent extends ItemComponent {
7019
- protected constructor();
7039
+ private constructor();
7020
7040
  /**
7021
7041
  * @remarks
7022
7042
  * Represents the cooldown category that this item is
@@ -7056,8 +7076,9 @@ export class ItemCooldownComponent extends ItemComponent {
7056
7076
  * Manages callbacks that are connected to an item's definition
7057
7077
  * and components changing.
7058
7078
  */
7079
+ // @ts-ignore Class inheritance allowed for native defined classes
7059
7080
  export class ItemDefinitionAfterEventSignal extends IItemDefinitionAfterEventSignal {
7060
- protected constructor();
7081
+ private constructor();
7061
7082
  }
7062
7083
 
7063
7084
  /**
@@ -7065,8 +7086,9 @@ export class ItemDefinitionAfterEventSignal extends IItemDefinitionAfterEventSig
7065
7086
  * Manages callbacks that are connected to an item's definition
7066
7087
  * and components changing.
7067
7088
  */
7089
+ // @ts-ignore Class inheritance allowed for native defined classes
7068
7090
  export class ItemDefinitionBeforeEventSignal extends IItemDefinitionBeforeEventSignal {
7069
- protected constructor();
7091
+ private constructor();
7070
7092
  }
7071
7093
 
7072
7094
  /**
@@ -7075,7 +7097,7 @@ export class ItemDefinitionBeforeEventSignal extends IItemDefinitionBeforeEventS
7075
7097
  * definition change being triggered.
7076
7098
  */
7077
7099
  export class ItemDefinitionTriggeredAfterEvent {
7078
- protected constructor();
7100
+ private constructor();
7079
7101
  /**
7080
7102
  * @remarks
7081
7103
  * Name of the data-driven item event that is triggering this
@@ -7097,8 +7119,9 @@ export class ItemDefinitionTriggeredAfterEvent {
7097
7119
  * Contains information related to a triggering of a custom
7098
7120
  * item definition change.
7099
7121
  */
7122
+ // @ts-ignore Class inheritance allowed for native defined classes
7100
7123
  export class ItemDefinitionTriggeredBeforeEvent extends ItemDefinitionTriggeredAfterEvent {
7101
- protected constructor();
7124
+ private constructor();
7102
7125
  /**
7103
7126
  * @remarks
7104
7127
  * If set to true, will cancel the application of this item
@@ -7114,8 +7137,9 @@ export class ItemDefinitionTriggeredBeforeEvent extends ItemDefinitionTriggeredA
7114
7137
  * process of being used. Note that this component only applies
7115
7138
  * to data-driven items.
7116
7139
  */
7140
+ // @ts-ignore Class inheritance allowed for native defined classes
7117
7141
  export class ItemDurabilityComponent extends ItemComponent {
7118
- protected constructor();
7142
+ private constructor();
7119
7143
  /**
7120
7144
  * @remarks
7121
7145
  * Returns the current damage level of this particular item.
@@ -7171,8 +7195,9 @@ export class ItemDurabilityComponent extends ItemComponent {
7171
7195
  * effects. Note that this component only applies to
7172
7196
  * data-driven items.
7173
7197
  */
7198
+ // @ts-ignore Class inheritance allowed for native defined classes
7174
7199
  export class ItemEnchantsComponent extends ItemComponent {
7175
- protected constructor();
7200
+ private constructor();
7176
7201
  /**
7177
7202
  * @remarks
7178
7203
  * Returns a collection of the enchantments applied to this
@@ -7205,8 +7230,9 @@ export class ItemEnchantsComponent extends ItemComponent {
7205
7230
  * entities. Note that this component only applies to
7206
7231
  * data-driven items.
7207
7232
  */
7233
+ // @ts-ignore Class inheritance allowed for native defined classes
7208
7234
  export class ItemFoodComponent extends ItemComponent {
7209
- protected constructor();
7235
+ private constructor();
7210
7236
  /**
7211
7237
  * @remarks
7212
7238
  * If true, the player can always eat this item (even when not
@@ -7253,7 +7279,7 @@ export class ItemFoodComponent extends ItemComponent {
7253
7279
  * @beta
7254
7280
  */
7255
7281
  export class ItemReleaseChargeAfterEvent {
7256
- protected constructor();
7282
+ private constructor();
7257
7283
  readonly itemStack: ItemStack;
7258
7284
  readonly source: Entity;
7259
7285
  readonly useDuration: number;
@@ -7262,12 +7288,12 @@ export class ItemReleaseChargeAfterEvent {
7262
7288
  /**
7263
7289
  * @beta
7264
7290
  */
7291
+ // @ts-ignore Class inheritance allowed for native defined classes
7265
7292
  export class ItemReleaseChargeAfterEventSignal extends IItemReleaseChargeAfterEventSignal {
7266
- protected constructor();
7293
+ private constructor();
7267
7294
  }
7268
7295
 
7269
7296
  /**
7270
- * @beta
7271
7297
  * Defines a collection of items.
7272
7298
  */
7273
7299
  export class ItemStack {
@@ -7524,7 +7550,7 @@ export class ItemStack {
7524
7550
  * @beta
7525
7551
  */
7526
7552
  export class ItemStartChargeAfterEvent {
7527
- protected constructor();
7553
+ private constructor();
7528
7554
  readonly itemStack: ItemStack;
7529
7555
  readonly source: Entity;
7530
7556
  readonly useDuration: number;
@@ -7533,8 +7559,9 @@ export class ItemStartChargeAfterEvent {
7533
7559
  /**
7534
7560
  * @beta
7535
7561
  */
7562
+ // @ts-ignore Class inheritance allowed for native defined classes
7536
7563
  export class ItemStartChargeAfterEventSignal extends IItemStartChargeAfterEventSignal {
7537
- protected constructor();
7564
+ private constructor();
7538
7565
  }
7539
7566
 
7540
7567
  /**
@@ -7546,7 +7573,7 @@ export class ItemStartChargeAfterEventSignal extends IItemStartChargeAfterEventS
7546
7573
  * Axe items.
7547
7574
  */
7548
7575
  export class ItemStartUseOnAfterEvent {
7549
- protected constructor();
7576
+ private constructor();
7550
7577
  /**
7551
7578
  * @remarks
7552
7579
  * The block that the item is used on.
@@ -7578,15 +7605,16 @@ export class ItemStartUseOnAfterEvent {
7578
7605
  * Manages callbacks that are connected to an item starting
7579
7606
  * being used on a block event.
7580
7607
  */
7608
+ // @ts-ignore Class inheritance allowed for native defined classes
7581
7609
  export class ItemStartUseOnAfterEventSignal extends IItemStartUseOnAfterEventSignal {
7582
- protected constructor();
7610
+ private constructor();
7583
7611
  }
7584
7612
 
7585
7613
  /**
7586
7614
  * @beta
7587
7615
  */
7588
7616
  export class ItemStopChargeAfterEvent {
7589
- protected constructor();
7617
+ private constructor();
7590
7618
  readonly itemStack: ItemStack;
7591
7619
  readonly source: Entity;
7592
7620
  readonly useDuration: number;
@@ -7595,8 +7623,9 @@ export class ItemStopChargeAfterEvent {
7595
7623
  /**
7596
7624
  * @beta
7597
7625
  */
7626
+ // @ts-ignore Class inheritance allowed for native defined classes
7598
7627
  export class ItemStopChargeAfterEventSignal extends IItemStopChargeAfterEventSignal {
7599
- protected constructor();
7628
+ private constructor();
7600
7629
  }
7601
7630
 
7602
7631
  /**
@@ -7610,7 +7639,7 @@ export class ItemStopChargeAfterEventSignal extends IItemStopChargeAfterEventSig
7610
7639
  * Hoe or Axe items.
7611
7640
  */
7612
7641
  export class ItemStopUseOnAfterEvent {
7613
- protected constructor();
7642
+ private constructor();
7614
7643
  /**
7615
7644
  * @remarks
7616
7645
  * The block that the item is used on.
@@ -7636,16 +7665,16 @@ export class ItemStopUseOnAfterEvent {
7636
7665
  * Manages callbacks that are connected to an item stops used
7637
7666
  * on a block event.
7638
7667
  */
7668
+ // @ts-ignore Class inheritance allowed for native defined classes
7639
7669
  export class ItemStopUseOnAfterEventSignal extends IItemStopUseOnAfterEventSignal {
7640
- protected constructor();
7670
+ private constructor();
7641
7671
  }
7642
7672
 
7643
7673
  /**
7644
- * @beta
7645
7674
  * Represents the type of an item - for example, Wool.
7646
7675
  */
7647
7676
  export class ItemType {
7648
- protected constructor();
7677
+ private constructor();
7649
7678
  /**
7650
7679
  * @remarks
7651
7680
  * Returns the identifier of the item type - for example,
@@ -7660,7 +7689,7 @@ export class ItemType {
7660
7689
  * An iterator over a set of available item types.
7661
7690
  */
7662
7691
  export class ItemTypeIterator implements Iterable<ItemType> {
7663
- protected constructor();
7692
+ private constructor();
7664
7693
  /**
7665
7694
  * @remarks
7666
7695
  * This function can't be called in read-only mode.
@@ -7680,7 +7709,7 @@ export class ItemTypeIterator implements Iterable<ItemType> {
7680
7709
  * Returns the set of item types registered within Minecraft.
7681
7710
  */
7682
7711
  export class ItemTypes {
7683
- protected constructor();
7712
+ private constructor();
7684
7713
  /**
7685
7714
  * @remarks
7686
7715
  * Returns a specific item type, if available within Minecraft.
@@ -7702,7 +7731,7 @@ export class ItemTypes {
7702
7731
  * event fires when an item is successfully used by a player.
7703
7732
  */
7704
7733
  export class ItemUseAfterEvent {
7705
- protected constructor();
7734
+ private constructor();
7706
7735
  /**
7707
7736
  * @remarks
7708
7737
  * The impacted item stack that is being used.
@@ -7721,16 +7750,18 @@ export class ItemUseAfterEvent {
7721
7750
  * @beta
7722
7751
  * Manages callbacks that are connected to an item use event.
7723
7752
  */
7753
+ // @ts-ignore Class inheritance allowed for native defined classes
7724
7754
  export class ItemUseAfterEventSignal extends IItemUseAfterEventSignal {
7725
- protected constructor();
7755
+ private constructor();
7726
7756
  }
7727
7757
 
7728
7758
  /**
7729
7759
  * @beta
7730
7760
  * Contains information related to an item being used.
7731
7761
  */
7762
+ // @ts-ignore Class inheritance allowed for native defined classes
7732
7763
  export class ItemUseBeforeEvent extends ItemUseAfterEvent {
7733
- protected constructor();
7764
+ private constructor();
7734
7765
  /**
7735
7766
  * @remarks
7736
7767
  * If set to true, this will cancel the item use behavior.
@@ -7743,8 +7774,9 @@ export class ItemUseBeforeEvent extends ItemUseAfterEvent {
7743
7774
  * @beta
7744
7775
  * Manages callbacks that fire before an item is used.
7745
7776
  */
7777
+ // @ts-ignore Class inheritance allowed for native defined classes
7746
7778
  export class ItemUseBeforeEventSignal extends IItemUseBeforeEventSignal {
7747
- protected constructor();
7779
+ private constructor();
7748
7780
  }
7749
7781
 
7750
7782
  /**
@@ -7754,7 +7786,7 @@ export class ItemUseBeforeEventSignal extends IItemUseBeforeEventSignal {
7754
7786
  * player.
7755
7787
  */
7756
7788
  export class ItemUseOnAfterEvent {
7757
- protected constructor();
7789
+ private constructor();
7758
7790
  /**
7759
7791
  * @remarks
7760
7792
  * The block that the item is used on.
@@ -7793,8 +7825,9 @@ export class ItemUseOnAfterEvent {
7793
7825
  * Manages callbacks that are connected to an item being used
7794
7826
  * on a block event.
7795
7827
  */
7828
+ // @ts-ignore Class inheritance allowed for native defined classes
7796
7829
  export class ItemUseOnAfterEventSignal extends IItemUseOnAfterEventSignal {
7797
- protected constructor();
7830
+ private constructor();
7798
7831
  }
7799
7832
 
7800
7833
  /**
@@ -7802,8 +7835,9 @@ export class ItemUseOnAfterEventSignal extends IItemUseOnAfterEventSignal {
7802
7835
  * Contains information related to an item being used on a
7803
7836
  * block.
7804
7837
  */
7838
+ // @ts-ignore Class inheritance allowed for native defined classes
7805
7839
  export class ItemUseOnBeforeEvent extends ItemUseOnAfterEvent {
7806
- protected constructor();
7840
+ private constructor();
7807
7841
  /**
7808
7842
  * @remarks
7809
7843
  * If set to true, this will cancel the item use behavior.
@@ -7817,8 +7851,9 @@ export class ItemUseOnBeforeEvent extends ItemUseOnAfterEvent {
7817
7851
  * Manages callbacks that fire before an item being used on a
7818
7852
  * block event.
7819
7853
  */
7854
+ // @ts-ignore Class inheritance allowed for native defined classes
7820
7855
  export class ItemUseOnBeforeEventSignal extends IItemUseOnBeforeEventSignal {
7821
- protected constructor();
7856
+ private constructor();
7822
7857
  }
7823
7858
 
7824
7859
  /**
@@ -7828,7 +7863,7 @@ export class ItemUseOnBeforeEventSignal extends IItemUseOnBeforeEventSignal {
7828
7863
  * scripting have exceeded a threshold.
7829
7864
  */
7830
7865
  export class IWatchdogTerminateBeforeEventSignal {
7831
- protected constructor();
7866
+ private constructor();
7832
7867
  /**
7833
7868
  * @remarks
7834
7869
  * This function can't be called in read-only mode.
@@ -7849,7 +7884,7 @@ export class IWatchdogTerminateBeforeEventSignal {
7849
7884
  * An event that fires after the weather has changed.
7850
7885
  */
7851
7886
  export class IWeatherChangeAfterEventSignal {
7852
- protected constructor();
7887
+ private constructor();
7853
7888
  /**
7854
7889
  * @remarks
7855
7890
  * This function can't be called in read-only mode.
@@ -7871,7 +7906,7 @@ export class IWeatherChangeAfterEventSignal {
7871
7906
  * loaded.
7872
7907
  */
7873
7908
  export class IWorldInitializeAfterEventSignal {
7874
- protected constructor();
7909
+ private constructor();
7875
7910
  /**
7876
7911
  * @remarks
7877
7912
  * This function can't be called in read-only mode.
@@ -7892,8 +7927,9 @@ export class IWorldInitializeAfterEventSignal {
7892
7927
  * Contains information related to changes to a lever
7893
7928
  * activating or deactivating.
7894
7929
  */
7930
+ // @ts-ignore Class inheritance allowed for native defined classes
7895
7931
  export class LeverActionAfterEvent extends BlockEvent {
7896
- protected constructor();
7932
+ private constructor();
7897
7933
  /**
7898
7934
  * @remarks
7899
7935
  * True if the lever is activated (that is, transmitting
@@ -7914,8 +7950,9 @@ export class LeverActionAfterEvent extends BlockEvent {
7914
7950
  * Manages callbacks that are connected to lever moves
7915
7951
  * (activates or deactivates).
7916
7952
  */
7953
+ // @ts-ignore Class inheritance allowed for native defined classes
7917
7954
  export class LeverActionAfterEventSignal extends ILeverActionAfterEventSignal {
7918
- protected constructor();
7955
+ private constructor();
7919
7956
  }
7920
7957
 
7921
7958
  /**
@@ -7924,7 +7961,7 @@ export class LeverActionAfterEventSignal extends ILeverActionAfterEventSignal {
7924
7961
  * messages from client to server.
7925
7962
  */
7926
7963
  export class MessageReceiveAfterEvent {
7927
- protected constructor();
7964
+ private constructor();
7928
7965
  readonly id: string;
7929
7966
  readonly message: string;
7930
7967
  readonly player: Player;
@@ -7937,7 +7974,7 @@ export class MessageReceiveAfterEvent {
7937
7974
  * Education Edition block types.
7938
7975
  */
7939
7976
  export class MinecraftBlockTypes {
7940
- protected constructor();
7977
+ private constructor();
7941
7978
  /**
7942
7979
  * @remarks
7943
7980
  * Represents an acacia button within Minecraft.
@@ -12448,7 +12485,7 @@ export class MinecraftBlockTypes {
12448
12485
  * A collection of default Minecraft dimension types.
12449
12486
  */
12450
12487
  export class MinecraftDimensionTypes {
12451
- protected constructor();
12488
+ private constructor();
12452
12489
  /**
12453
12490
  * @remarks
12454
12491
  * The Nether is a collection of biomes separate from the
@@ -12486,10 +12523,9 @@ export class MinecraftDimensionTypes {
12486
12523
 
12487
12524
  /**
12488
12525
  * @beta
12489
- * Returns available installed effect types within Minecraft.
12490
12526
  */
12491
12527
  export class MinecraftEffectTypes {
12492
- protected constructor();
12528
+ private constructor();
12493
12529
  static readonly absorption: EffectType;
12494
12530
  static readonly badOmen: EffectType;
12495
12531
  static readonly blindness: EffectType;
@@ -12527,7 +12563,7 @@ export class MinecraftEffectTypes {
12527
12563
  * @beta
12528
12564
  */
12529
12565
  export class MinecraftEntityTypes {
12530
- protected constructor();
12566
+ private constructor();
12531
12567
  static readonly agent: EntityType;
12532
12568
  static readonly allay: EntityType;
12533
12569
  static readonly areaEffectCloud: EntityType;
@@ -12650,7 +12686,7 @@ export class MinecraftEntityTypes {
12650
12686
  * Education Edition block types.
12651
12687
  */
12652
12688
  export class MinecraftItemTypes {
12653
- protected constructor();
12689
+ private constructor();
12654
12690
  static readonly acaciaBoat: ItemType;
12655
12691
  /**
12656
12692
  * @remarks
@@ -16417,7 +16453,7 @@ export class MolangVariableMap {
16417
16453
  * navigation.
16418
16454
  */
16419
16455
  export class NavigationResult {
16420
- protected constructor();
16456
+ private constructor();
16421
16457
  /**
16422
16458
  * @remarks
16423
16459
  * Whether the navigation result contains a full path,
@@ -16438,8 +16474,9 @@ export class NavigationResult {
16438
16474
  * Contains information related to changes to a piston
16439
16475
  * expanding or retracting.
16440
16476
  */
16477
+ // @ts-ignore Class inheritance allowed for native defined classes
16441
16478
  export class PistonActivateAfterEvent extends BlockEvent {
16442
- protected constructor();
16479
+ private constructor();
16443
16480
  /**
16444
16481
  * @remarks
16445
16482
  * True if the piston is the process of expanding.
@@ -16458,8 +16495,9 @@ export class PistonActivateAfterEvent extends BlockEvent {
16458
16495
  * @beta
16459
16496
  * Manages callbacks that are connected to piston activations.
16460
16497
  */
16498
+ // @ts-ignore Class inheritance allowed for native defined classes
16461
16499
  export class PistonActivateAfterEventSignal extends IPistonActivateAfterEventSignal {
16462
- protected constructor();
16500
+ private constructor();
16463
16501
  }
16464
16502
 
16465
16503
  /**
@@ -16467,8 +16505,9 @@ export class PistonActivateAfterEventSignal extends IPistonActivateAfterEventSig
16467
16505
  * Contains information related to changes before a piston
16468
16506
  * expands or retracts.
16469
16507
  */
16508
+ // @ts-ignore Class inheritance allowed for native defined classes
16470
16509
  export class PistonActivateBeforeEvent extends BlockEvent {
16471
- protected constructor();
16510
+ private constructor();
16472
16511
  /**
16473
16512
  * @remarks
16474
16513
  * If this is set to true within an event handler, the piston
@@ -16495,15 +16534,17 @@ export class PistonActivateBeforeEvent extends BlockEvent {
16495
16534
  * Manages callbacks that are connected to an event that fires
16496
16535
  * before a piston is activated.
16497
16536
  */
16537
+ // @ts-ignore Class inheritance allowed for native defined classes
16498
16538
  export class PistonActivateBeforeEventSignal extends IPistonActivateBeforeEventSignal {
16499
- protected constructor();
16539
+ private constructor();
16500
16540
  }
16501
16541
 
16502
16542
  /**
16503
16543
  * Represents a player within the world.
16504
16544
  */
16545
+ // @ts-ignore Class inheritance allowed for native defined classes
16505
16546
  export class Player extends Entity {
16506
- protected constructor();
16547
+ private constructor();
16507
16548
  /**
16508
16549
  * @beta
16509
16550
  * @remarks
@@ -16645,7 +16686,6 @@ export class Player extends Entity {
16645
16686
  */
16646
16687
  isOp(): boolean;
16647
16688
  /**
16648
- * @beta
16649
16689
  * @remarks
16650
16690
  * Plays a sound that only this particular player can hear.
16651
16691
  *
@@ -16680,7 +16720,6 @@ export class Player extends Entity {
16680
16720
  */
16681
16721
  resetLevel(): void;
16682
16722
  /**
16683
- * @beta
16684
16723
  * @remarks
16685
16724
  * Sends a message to the player.
16686
16725
  *
@@ -16771,7 +16810,7 @@ export class Player extends Entity {
16771
16810
  * statements, Array.from(iterator), and more.
16772
16811
  */
16773
16812
  export class PlayerIterator implements Iterable<Player> {
16774
- protected constructor();
16813
+ private constructor();
16775
16814
  /**
16776
16815
  * @remarks
16777
16816
  * This function can't be called in read-only mode.
@@ -16798,7 +16837,7 @@ export class PlayerIterator implements Iterable<Player> {
16798
16837
  * within the game.
16799
16838
  */
16800
16839
  export class PlayerJoinAfterEvent {
16801
- protected constructor();
16840
+ private constructor();
16802
16841
  /**
16803
16842
  * @remarks
16804
16843
  * Opaque string identifier of the player that joined the game.
@@ -16818,8 +16857,9 @@ export class PlayerJoinAfterEvent {
16818
16857
  * Manages callbacks that are connected to a player joining the
16819
16858
  * world.
16820
16859
  */
16860
+ // @ts-ignore Class inheritance allowed for native defined classes
16821
16861
  export class PlayerJoinAfterEventSignal extends IPlayerJoinAfterEventSignal {
16822
- protected constructor();
16862
+ private constructor();
16823
16863
  }
16824
16864
 
16825
16865
  /**
@@ -16828,7 +16868,7 @@ export class PlayerJoinAfterEventSignal extends IPlayerJoinAfterEventSignal {
16828
16868
  * world.
16829
16869
  */
16830
16870
  export class PlayerLeaveAfterEvent {
16831
- protected constructor();
16871
+ private constructor();
16832
16872
  /**
16833
16873
  * @remarks
16834
16874
  * Opaque string identifier of the player that has left the
@@ -16849,8 +16889,9 @@ export class PlayerLeaveAfterEvent {
16849
16889
  * Manages callbacks that are connected to a player leaving the
16850
16890
  * world.
16851
16891
  */
16892
+ // @ts-ignore Class inheritance allowed for native defined classes
16852
16893
  export class PlayerLeaveAfterEventSignal extends IPlayerLeaveAfterEventSignal {
16853
- protected constructor();
16894
+ private constructor();
16854
16895
  }
16855
16896
 
16856
16897
  /**
@@ -16859,7 +16900,7 @@ export class PlayerLeaveAfterEventSignal extends IPlayerLeaveAfterEventSignal {
16859
16900
  * spawning.
16860
16901
  */
16861
16902
  export class PlayerSpawnAfterEvent {
16862
- protected constructor();
16903
+ private constructor();
16863
16904
  /**
16864
16905
  * @remarks
16865
16906
  * If true, this is the initial spawn of a player after joining
@@ -16884,8 +16925,9 @@ export class PlayerSpawnAfterEvent {
16884
16925
  * Registers an event when a player is spawned (or re-spawned
16885
16926
  * after death) and fully ready within the world.
16886
16927
  */
16928
+ // @ts-ignore Class inheritance allowed for native defined classes
16887
16929
  export class PlayerSpawnAfterEventSignal extends IPlayerSpawnAfterEventSignal {
16888
- protected constructor();
16930
+ private constructor();
16889
16931
  }
16890
16932
 
16891
16933
  /**
@@ -16894,7 +16936,7 @@ export class PlayerSpawnAfterEventSignal extends IPlayerSpawnAfterEventSignal {
16894
16936
  * entity or block.
16895
16937
  */
16896
16938
  export class ProjectileHitAfterEvent {
16897
- protected constructor();
16939
+ private constructor();
16898
16940
  /**
16899
16941
  * @remarks
16900
16942
  * Dimension where this projectile hit took place.
@@ -16950,8 +16992,9 @@ export class ProjectileHitAfterEvent {
16950
16992
  * Manages callbacks that are connected to when a projectile
16951
16993
  * hits an entity or block.
16952
16994
  */
16995
+ // @ts-ignore Class inheritance allowed for native defined classes
16953
16996
  export class ProjectileHitAfterEventSignal extends IProjectileHitAfterEventSignal {
16954
- protected constructor();
16997
+ private constructor();
16955
16998
  }
16956
16999
 
16957
17000
  /**
@@ -16961,7 +17004,7 @@ export class ProjectileHitAfterEventSignal extends IProjectileHitAfterEventSigna
16961
17004
  * used and stored within Minecraft.
16962
17005
  */
16963
17006
  export class PropertyRegistry {
16964
- protected constructor();
17007
+ private constructor();
16965
17008
  /**
16966
17009
  * @remarks
16967
17010
  * Registers a dynamic property for a particular entity type
@@ -16991,7 +17034,7 @@ export class PropertyRegistry {
16991
17034
  * Contains objectives and participants for the scoreboard.
16992
17035
  */
16993
17036
  export class Scoreboard {
16994
- protected constructor();
17037
+ private constructor();
16995
17038
  /**
16996
17039
  * @remarks
16997
17040
  * Adds a new objective to the scoreboard.
@@ -17096,7 +17139,7 @@ export class Scoreboard {
17096
17139
  * Contains an identity of the scoreboard item.
17097
17140
  */
17098
17141
  export class ScoreboardIdentity {
17099
- protected constructor();
17142
+ private constructor();
17100
17143
  /**
17101
17144
  * @remarks
17102
17145
  * Returns the player-visible name of this identity.
@@ -17167,7 +17210,7 @@ export class ScoreboardIdentity {
17167
17210
  * Contains objectives and participants for the scoreboard.
17168
17211
  */
17169
17212
  export class ScoreboardObjective {
17170
- protected constructor();
17213
+ private constructor();
17171
17214
  /**
17172
17215
  * @remarks
17173
17216
  * Returns the player-visible name of this scoreboard
@@ -17240,7 +17283,7 @@ export class ScoreboardObjective {
17240
17283
  * respective score.
17241
17284
  */
17242
17285
  export class ScoreboardScoreInfo {
17243
- protected constructor();
17286
+ private constructor();
17244
17287
  /**
17245
17288
  * @remarks
17246
17289
  * This scoreboard participant for this score.
@@ -17261,11 +17304,9 @@ export class ScoreboardScoreInfo {
17261
17304
  * showing up on the screen.
17262
17305
  */
17263
17306
  export class ScreenDisplay {
17264
- protected constructor();
17307
+ private constructor();
17265
17308
  /**
17266
17309
  * @remarks
17267
- * Clears the title and subtitle, if currently displayed.
17268
- *
17269
17310
  * This function can't be called in read-only mode.
17270
17311
  *
17271
17312
  * @throws This function can throw errors.
@@ -17284,8 +17325,9 @@ export class ScreenDisplay {
17284
17325
  /**
17285
17326
  * @remarks
17286
17327
  * Will cause a title to show up on the player's on screen
17287
- * display. You can optionally specify an additional subtitle
17288
- * as well as fade in, stay and fade out times.
17328
+ * display. Will clear the title if set to empty string. You
17329
+ * can optionally specify an additional subtitle as well as
17330
+ * fade in, stay and fade out times.
17289
17331
  *
17290
17332
  * This function can't be called in read-only mode.
17291
17333
  *
@@ -17310,7 +17352,7 @@ export class ScreenDisplay {
17310
17352
  * invocation.
17311
17353
  */
17312
17354
  export class ScriptEventCommandMessageAfterEvent {
17313
- protected constructor();
17355
+ private constructor();
17314
17356
  /**
17315
17357
  * @remarks
17316
17358
  * Identifier of this ScriptEvent command message.
@@ -17358,8 +17400,9 @@ export class ScriptEventCommandMessageAfterEvent {
17358
17400
  * Allows for registering an event handler that responds to
17359
17401
  * inbound /scriptevent commands.
17360
17402
  */
17403
+ // @ts-ignore Class inheritance allowed for native defined classes
17361
17404
  export class ScriptEventCommandMessageAfterEventSignal extends IScriptEventCommandMessageAfterEventSignal {
17362
- protected constructor();
17405
+ private constructor();
17363
17406
  }
17364
17407
 
17365
17408
  /**
@@ -17368,7 +17411,7 @@ export class ScriptEventCommandMessageAfterEventSignal extends IScriptEventComma
17368
17411
  * entity.
17369
17412
  */
17370
17413
  export class Seat {
17371
- protected constructor();
17414
+ private constructor();
17372
17415
  /**
17373
17416
  * @remarks
17374
17417
  * If specified, contains a forced rotation that the riders in
@@ -17404,17 +17447,17 @@ export class Seat {
17404
17447
  * event is not currently fully implemented, and should not be
17405
17448
  * used.
17406
17449
  */
17450
+ // @ts-ignore Class inheritance allowed for native defined classes
17407
17451
  export class ServerMessageAfterEventSignal extends IServerMessageAfterEventSignal {
17408
- protected constructor();
17452
+ private constructor();
17409
17453
  }
17410
17454
 
17411
17455
  /**
17412
17456
  * A class that provides system-level events and functions.
17413
17457
  */
17414
17458
  export class System {
17415
- protected constructor();
17459
+ private constructor();
17416
17460
  /**
17417
- * @beta
17418
17461
  * @remarks
17419
17462
  * Represents the current world tick of the server.
17420
17463
  *
@@ -17429,7 +17472,6 @@ export class System {
17429
17472
  */
17430
17473
  readonly events: SystemEvents;
17431
17474
  /**
17432
- * @beta
17433
17475
  * @remarks
17434
17476
  * Cancels the execution of a function run that was previously
17435
17477
  * scheduled via the `run` function.
@@ -17451,7 +17493,6 @@ export class System {
17451
17493
  */
17452
17494
  run(callback: () => void): number;
17453
17495
  /**
17454
- * @beta
17455
17496
  * @remarks
17456
17497
  * Runs a set of code on an interval.
17457
17498
  *
@@ -17466,7 +17507,6 @@ export class System {
17466
17507
  */
17467
17508
  runInterval(callback: () => void, tickInterval?: number): number;
17468
17509
  /**
17469
- * @beta
17470
17510
  * @remarks
17471
17511
  * Runs a set of code at a future time specified by tickDelay.
17472
17512
  *
@@ -17488,7 +17528,7 @@ export class System {
17488
17528
  * of the Minecraft add-on system.
17489
17529
  */
17490
17530
  export class SystemEvents {
17491
- protected constructor();
17531
+ private constructor();
17492
17532
  /**
17493
17533
  * @remarks
17494
17534
  * This event fires before a the performance watchdog
@@ -17711,7 +17751,7 @@ export class Vector {
17711
17751
  * termination.
17712
17752
  */
17713
17753
  export class WatchdogTerminateBeforeEvent {
17714
- protected constructor();
17754
+ private constructor();
17715
17755
  /**
17716
17756
  * @remarks
17717
17757
  * If set to true, cancels the termination of the script
@@ -17736,8 +17776,9 @@ export class WatchdogTerminateBeforeEvent {
17736
17776
  * be called when a script runtime is being terminated due to a
17737
17777
  * violation of the performance watchdog system.
17738
17778
  */
17779
+ // @ts-ignore Class inheritance allowed for native defined classes
17739
17780
  export class WatchdogTerminateBeforeEventSignal extends IWatchdogTerminateBeforeEventSignal {
17740
- protected constructor();
17781
+ private constructor();
17741
17782
  }
17742
17783
 
17743
17784
  /**
@@ -17746,7 +17787,7 @@ export class WatchdogTerminateBeforeEventSignal extends IWatchdogTerminateBefore
17746
17787
  * environment.
17747
17788
  */
17748
17789
  export class WeatherChangeAfterEvent {
17749
- protected constructor();
17790
+ private constructor();
17750
17791
  /**
17751
17792
  * @remarks
17752
17793
  * Dimension in which the weather has changed.
@@ -17771,8 +17812,9 @@ export class WeatherChangeAfterEvent {
17771
17812
  * @beta
17772
17813
  * Manages callbacks that are connected to weather changing.
17773
17814
  */
17815
+ // @ts-ignore Class inheritance allowed for native defined classes
17774
17816
  export class WeatherChangeAfterEventSignal extends IWeatherChangeAfterEventSignal {
17775
- protected constructor();
17817
+ private constructor();
17776
17818
  }
17777
17819
 
17778
17820
  /**
@@ -17780,7 +17822,7 @@ export class WeatherChangeAfterEventSignal extends IWeatherChangeAfterEventSigna
17780
17822
  * dimensions and the environment of Minecraft.
17781
17823
  */
17782
17824
  export class World {
17783
- protected constructor();
17825
+ private constructor();
17784
17826
  /**
17785
17827
  * @beta
17786
17828
  * @remarks
@@ -17879,7 +17921,6 @@ export class World {
17879
17921
  */
17880
17922
  getEntity(id: string): Entity | undefined;
17881
17923
  /**
17882
- * @beta
17883
17924
  * @remarks
17884
17925
  * Returns a set of players based on a set of conditions
17885
17926
  * defined via the EntityQueryOptions set of filter criteria.
@@ -17900,7 +17941,6 @@ export class World {
17900
17941
  */
17901
17942
  getTime(): number;
17902
17943
  /**
17903
- * @beta
17904
17944
  * @remarks
17905
17945
  * Plays a particular music track for all players.
17906
17946
  *
@@ -17910,7 +17950,6 @@ export class World {
17910
17950
  */
17911
17951
  playMusic(trackID: string, musicOptions?: MusicOptions): void;
17912
17952
  /**
17913
- * @beta
17914
17953
  * @remarks
17915
17954
  * Plays a sound for all players.
17916
17955
  *
@@ -17920,7 +17959,6 @@ export class World {
17920
17959
  */
17921
17960
  playSound(soundID: string, location: Vector3, soundOptions?: WorldSoundOptions): void;
17922
17961
  /**
17923
- * @beta
17924
17962
  * @remarks
17925
17963
  * Queues an additional music track for players. If a track is
17926
17964
  * not playing, a music track will play.
@@ -17941,7 +17979,6 @@ export class World {
17941
17979
  */
17942
17980
  removeDynamicProperty(identifier: string): boolean;
17943
17981
  /**
17944
- * @beta
17945
17982
  * @remarks
17946
17983
  * Sends a message to all players.
17947
17984
  *
@@ -18016,7 +18053,6 @@ export class World {
18016
18053
  */
18017
18054
  setTime(timeOfDay: number): void;
18018
18055
  /**
18019
- * @beta
18020
18056
  * @remarks
18021
18057
  * Stops any music tracks from playing.
18022
18058
  *
@@ -18035,7 +18071,7 @@ export class World {
18035
18071
  * Initialize execution.
18036
18072
  */
18037
18073
  export class WorldInitializeAfterEvent {
18038
- protected constructor();
18074
+ private constructor();
18039
18075
  /**
18040
18076
  * @remarks
18041
18077
  * Contains methods for scripts to initialize and register
@@ -18066,8 +18102,9 @@ export class WorldInitializeAfterEvent {
18066
18102
  * may run multiple times within a session in the case that the
18067
18103
  * /reload command is used.
18068
18104
  */
18105
+ // @ts-ignore Class inheritance allowed for native defined classes
18069
18106
  export class WorldInitializeAfterEventSignal extends IWorldInitializeAfterEventSignal {
18070
- protected constructor();
18107
+ private constructor();
18071
18108
  }
18072
18109
 
18073
18110
  /**
@@ -18282,7 +18319,6 @@ export interface CompoundBlockVolumeItem {
18282
18319
  }
18283
18320
 
18284
18321
  /**
18285
- * @beta
18286
18322
  * Additional options for when damage has been applied via a
18287
18323
  * projectile.
18288
18324
  */
@@ -18302,7 +18338,6 @@ export interface EntityApplyDamageByProjectileOptions {
18302
18338
  }
18303
18339
 
18304
18340
  /**
18305
- * @beta
18306
18341
  * Additional descriptions and metadata for a damage event.
18307
18342
  */
18308
18343
  export interface EntityApplyDamageOptions {
@@ -18432,7 +18467,6 @@ export interface EntityHitInformation {
18432
18467
  }
18433
18468
 
18434
18469
  /**
18435
- * @beta
18436
18470
  * Contains options for selecting entities within an area.
18437
18471
  */
18438
18472
  export interface EntityQueryOptions {
@@ -18603,7 +18637,6 @@ export interface EntityQueryOptions {
18603
18637
  }
18604
18638
 
18605
18639
  /**
18606
- * @beta
18607
18640
  * Contains additional options for filtering players based on
18608
18641
  * their score for an objective.
18609
18642
  */
@@ -18685,7 +18718,6 @@ export interface ExplosionOptions {
18685
18718
  }
18686
18719
 
18687
18720
  /**
18688
- * @beta
18689
18721
  * Additional configuration options for {@link
18690
18722
  * World.playMusic}/{@link World.queueMusic} methods.
18691
18723
  */
@@ -18764,7 +18796,6 @@ export interface PlayAnimationOptions {
18764
18796
  }
18765
18797
 
18766
18798
  /**
18767
- * @beta
18768
18799
  * Additional options for how a sound plays for a player.
18769
18800
  */
18770
18801
  export interface PlayerSoundOptions {
@@ -18789,9 +18820,6 @@ export interface PlayerSoundOptions {
18789
18820
  volume?: number;
18790
18821
  }
18791
18822
 
18792
- /**
18793
- * @beta
18794
- */
18795
18823
  export interface RawMessage {
18796
18824
  rawtext?: RawMessage[];
18797
18825
  score?: RawMessageScore;
@@ -18801,7 +18829,6 @@ export interface RawMessage {
18801
18829
  }
18802
18830
 
18803
18831
  /**
18804
- * @beta
18805
18832
  * Provides a description of a score token to use within a raw
18806
18833
  * message.
18807
18834
  */
@@ -18913,23 +18940,8 @@ export interface TeleportOptions {
18913
18940
  * optional subtitle.
18914
18941
  */
18915
18942
  export interface TitleDisplayOptions {
18916
- /**
18917
- * @remarks
18918
- * Fade-in time for the title and subtitle, in seconds.
18919
- *
18920
- */
18921
18943
  fadeInSeconds: number;
18922
- /**
18923
- * @remarks
18924
- * Fade-out time for the title and subtitle, in seconds.
18925
- *
18926
- */
18927
18944
  fadeOutSeconds: number;
18928
- /**
18929
- * @remarks
18930
- * Amount of time for the title and subtitle to stay in place.
18931
- *
18932
- */
18933
18945
  staySeconds: number;
18934
18946
  /**
18935
18947
  * @remarks
@@ -18959,7 +18971,6 @@ export interface Vector2 {
18959
18971
  }
18960
18972
 
18961
18973
  /**
18962
- * @beta
18963
18974
  * Contains a description of a vector.
18964
18975
  */
18965
18976
  export interface Vector3 {
@@ -18984,7 +18995,6 @@ export interface Vector3 {
18984
18995
  }
18985
18996
 
18986
18997
  /**
18987
- * @beta
18988
18998
  * Contains additional options for a world-level playSound
18989
18999
  * occurrence.
18990
19000
  */
@@ -19006,22 +19016,25 @@ export interface WorldSoundOptions {
19006
19016
  /**
19007
19017
  * @beta
19008
19018
  */
19019
+ // @ts-ignore Class inheritance allowed for native defined classes
19009
19020
  export class CommandError extends Error {
19010
- protected constructor();
19021
+ private constructor();
19011
19022
  }
19012
19023
 
19013
19024
  /**
19014
19025
  * @beta
19015
19026
  */
19027
+ // @ts-ignore Class inheritance allowed for native defined classes
19016
19028
  export class PositionInUnloadedChunkError extends Error {
19017
- protected constructor();
19029
+ private constructor();
19018
19030
  }
19019
19031
 
19020
19032
  /**
19021
19033
  * @beta
19022
19034
  */
19035
+ // @ts-ignore Class inheritance allowed for native defined classes
19023
19036
  export class PositionOutOfWorldBoundariesError extends Error {
19024
- protected constructor();
19037
+ private constructor();
19025
19038
  }
19026
19039
 
19027
19040
  /**