@minecraft/server 1.18.0-beta.1.21.60-preview.28 → 1.18.0-beta.1.21.60-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.
- package/index.d.ts +0 -24
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1647,7 +1647,6 @@ export enum InputButton {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
|
|
1649
1649
|
/**
|
|
1650
|
-
* @rc
|
|
1651
1650
|
* Describes the type of input of a device.
|
|
1652
1651
|
*/
|
|
1653
1652
|
export enum InputMode {
|
|
@@ -1699,7 +1698,6 @@ export enum InputPermissionCategory {
|
|
|
1699
1698
|
*/
|
|
1700
1699
|
Movement = 2,
|
|
1701
1700
|
/**
|
|
1702
|
-
* @rc
|
|
1703
1701
|
* @remarks
|
|
1704
1702
|
* Player input for moving laterally in the world. This would
|
|
1705
1703
|
* be WASD on a keyboard or the movement joystick on gamepad or
|
|
@@ -1708,7 +1706,6 @@ export enum InputPermissionCategory {
|
|
|
1708
1706
|
*/
|
|
1709
1707
|
LateralMovement = 4,
|
|
1710
1708
|
/**
|
|
1711
|
-
* @rc
|
|
1712
1709
|
* @remarks
|
|
1713
1710
|
* Player input relating to sneak. This also affects flying
|
|
1714
1711
|
* down.
|
|
@@ -1716,7 +1713,6 @@ export enum InputPermissionCategory {
|
|
|
1716
1713
|
*/
|
|
1717
1714
|
Sneak = 5,
|
|
1718
1715
|
/**
|
|
1719
|
-
* @rc
|
|
1720
1716
|
* @remarks
|
|
1721
1717
|
* Player input relating to jumping. This also affects flying
|
|
1722
1718
|
* up.
|
|
@@ -1724,14 +1720,12 @@ export enum InputPermissionCategory {
|
|
|
1724
1720
|
*/
|
|
1725
1721
|
Jump = 6,
|
|
1726
1722
|
/**
|
|
1727
|
-
* @rc
|
|
1728
1723
|
* @remarks
|
|
1729
1724
|
* Player input relating to mounting vehicles.
|
|
1730
1725
|
*
|
|
1731
1726
|
*/
|
|
1732
1727
|
Mount = 7,
|
|
1733
1728
|
/**
|
|
1734
|
-
* @rc
|
|
1735
1729
|
* @remarks
|
|
1736
1730
|
* Player input relating to dismounting. When disabled, the
|
|
1737
1731
|
* player can still dismount vehicles by other means, for
|
|
@@ -1741,28 +1735,24 @@ export enum InputPermissionCategory {
|
|
|
1741
1735
|
*/
|
|
1742
1736
|
Dismount = 8,
|
|
1743
1737
|
/**
|
|
1744
|
-
* @rc
|
|
1745
1738
|
* @remarks
|
|
1746
1739
|
* Player input relating to moving the player forward.
|
|
1747
1740
|
*
|
|
1748
1741
|
*/
|
|
1749
1742
|
MoveForward = 9,
|
|
1750
1743
|
/**
|
|
1751
|
-
* @rc
|
|
1752
1744
|
* @remarks
|
|
1753
1745
|
* Player input relating to moving the player backward.
|
|
1754
1746
|
*
|
|
1755
1747
|
*/
|
|
1756
1748
|
MoveBackward = 10,
|
|
1757
1749
|
/**
|
|
1758
|
-
* @rc
|
|
1759
1750
|
* @remarks
|
|
1760
1751
|
* Player input relating to moving the player left.
|
|
1761
1752
|
*
|
|
1762
1753
|
*/
|
|
1763
1754
|
MoveLeft = 11,
|
|
1764
1755
|
/**
|
|
1765
|
-
* @rc
|
|
1766
1756
|
* @remarks
|
|
1767
1757
|
* Player input relating to moving the player right.
|
|
1768
1758
|
*
|
|
@@ -1775,9 +1765,6 @@ export enum InputPermissionCategory {
|
|
|
1775
1765
|
* function ItemStack.getComponent.
|
|
1776
1766
|
*/
|
|
1777
1767
|
export enum ItemComponentTypes {
|
|
1778
|
-
/**
|
|
1779
|
-
* @rc
|
|
1780
|
-
*/
|
|
1781
1768
|
Compostable = 'minecraft:compostable',
|
|
1782
1769
|
/**
|
|
1783
1770
|
* @remarks
|
|
@@ -3110,7 +3097,6 @@ export class Block {
|
|
|
3110
3097
|
*/
|
|
3111
3098
|
readonly isSolid: boolean;
|
|
3112
3099
|
/**
|
|
3113
|
-
* @rc
|
|
3114
3100
|
* @remarks
|
|
3115
3101
|
* Returns or sets whether this block has water on it.
|
|
3116
3102
|
*
|
|
@@ -3555,7 +3541,6 @@ export class Block {
|
|
|
3555
3541
|
*/
|
|
3556
3542
|
setType(blockType: BlockType | string): void;
|
|
3557
3543
|
/**
|
|
3558
|
-
* @rc
|
|
3559
3544
|
* @remarks
|
|
3560
3545
|
* Sets whether this block has a water logged state - for
|
|
3561
3546
|
* example, whether stairs are submerged within water.
|
|
@@ -11472,7 +11457,6 @@ export class ILeverActionAfterEventSignal {
|
|
|
11472
11457
|
}
|
|
11473
11458
|
|
|
11474
11459
|
/**
|
|
11475
|
-
* @rc
|
|
11476
11460
|
* Contains the input information for a client instance.
|
|
11477
11461
|
*/
|
|
11478
11462
|
export class InputInfo {
|
|
@@ -11877,7 +11861,6 @@ export class ItemComponentUseOnEvent extends ItemUseOnEvent {
|
|
|
11877
11861
|
}
|
|
11878
11862
|
|
|
11879
11863
|
/**
|
|
11880
|
-
* @rc
|
|
11881
11864
|
* When present, the item can be composted in the composter
|
|
11882
11865
|
* block if the composting chance is in the range [1 - 100].
|
|
11883
11866
|
*/
|
|
@@ -13791,7 +13774,6 @@ export class Player extends Entity {
|
|
|
13791
13774
|
*/
|
|
13792
13775
|
readonly clientSystemInfo: ClientSystemInfo;
|
|
13793
13776
|
/**
|
|
13794
|
-
* @rc
|
|
13795
13777
|
* @remarks
|
|
13796
13778
|
* Contains the player's input information.
|
|
13797
13779
|
*
|
|
@@ -14736,7 +14718,6 @@ export class PlayerGameModeChangeBeforeEventSignal {
|
|
|
14736
14718
|
}
|
|
14737
14719
|
|
|
14738
14720
|
/**
|
|
14739
|
-
* @rc
|
|
14740
14721
|
* Event data for when a player input mode changes.
|
|
14741
14722
|
*/
|
|
14742
14723
|
export class PlayerInputModeChangeAfterEvent {
|
|
@@ -14762,7 +14743,6 @@ export class PlayerInputModeChangeAfterEvent {
|
|
|
14762
14743
|
}
|
|
14763
14744
|
|
|
14764
14745
|
/**
|
|
14765
|
-
* @rc
|
|
14766
14746
|
* Manages callbacks that are connected to player input mode.
|
|
14767
14747
|
*/
|
|
14768
14748
|
export class PlayerInputModeChangeAfterEventSignal {
|
|
@@ -14871,7 +14851,6 @@ export class PlayerInputPermissions {
|
|
|
14871
14851
|
*/
|
|
14872
14852
|
movementEnabled: boolean;
|
|
14873
14853
|
/**
|
|
14874
|
-
* @rc
|
|
14875
14854
|
* @remarks
|
|
14876
14855
|
* Returns true if an input permission is enabled.
|
|
14877
14856
|
*
|
|
@@ -14883,7 +14862,6 @@ export class PlayerInputPermissions {
|
|
|
14883
14862
|
*/
|
|
14884
14863
|
isPermissionCategoryEnabled(permissionCategory: InputPermissionCategory): boolean;
|
|
14885
14864
|
/**
|
|
14886
|
-
* @rc
|
|
14887
14865
|
* @remarks
|
|
14888
14866
|
* Enable or disable an input permission. When enabled the
|
|
14889
14867
|
* input will work, when disabled will not work.
|
|
@@ -18287,7 +18265,6 @@ export class WorldAfterEvents {
|
|
|
18287
18265
|
readonly playerEmote: PlayerEmoteAfterEventSignal;
|
|
18288
18266
|
readonly playerGameModeChange: PlayerGameModeChangeAfterEventSignal;
|
|
18289
18267
|
/**
|
|
18290
|
-
* @rc
|
|
18291
18268
|
* @remarks
|
|
18292
18269
|
* This event fires when a player's {@link
|
|
18293
18270
|
* @minecraft/Server.InputMode} changes.
|
|
@@ -20769,7 +20746,6 @@ export class InvalidContainerSlotError extends Error {
|
|
|
20769
20746
|
}
|
|
20770
20747
|
|
|
20771
20748
|
/**
|
|
20772
|
-
* @rc
|
|
20773
20749
|
* The error called when an entity is invalid. This can occur
|
|
20774
20750
|
* when accessing components on a removed entity.
|
|
20775
20751
|
*/
|