@minecraft/server 1.14.0-beta.1.21.20-preview.21 → 1.14.0-beta.1.21.20-preview.23
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 +18 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1685,7 +1685,7 @@ export enum ItemComponentTypes {
|
|
|
1685
1685
|
*/
|
|
1686
1686
|
Food = 'minecraft:food',
|
|
1687
1687
|
/**
|
|
1688
|
-
* @
|
|
1688
|
+
* @beta
|
|
1689
1689
|
*/
|
|
1690
1690
|
Potion = 'minecraft:potion',
|
|
1691
1691
|
}
|
|
@@ -4335,6 +4335,7 @@ export class Camera {
|
|
|
4335
4335
|
cameraPreset: string,
|
|
4336
4336
|
setOptions?:
|
|
4337
4337
|
| CameraDefaultOptions
|
|
4338
|
+
| CameraFixedBoomOptions
|
|
4338
4339
|
| CameraSetFacingOptions
|
|
4339
4340
|
| CameraSetLocationOptions
|
|
4340
4341
|
| CameraSetPosOptions
|
|
@@ -5749,7 +5750,7 @@ export class Dimension {
|
|
|
5749
5750
|
*/
|
|
5750
5751
|
getPlayers(options?: EntityQueryOptions): Player[];
|
|
5751
5752
|
/**
|
|
5752
|
-
* @
|
|
5753
|
+
* @rc
|
|
5753
5754
|
* @remarks
|
|
5754
5755
|
* This function can't be called in read-only mode.
|
|
5755
5756
|
*
|
|
@@ -11032,7 +11033,7 @@ export class ItemFoodComponent extends ItemComponent {
|
|
|
11032
11033
|
}
|
|
11033
11034
|
|
|
11034
11035
|
/**
|
|
11035
|
-
* @
|
|
11036
|
+
* @beta
|
|
11036
11037
|
* When present on an item, this item is a potion item.
|
|
11037
11038
|
*/
|
|
11038
11039
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -11556,7 +11557,7 @@ export class ItemStack {
|
|
|
11556
11557
|
*/
|
|
11557
11558
|
setLore(loreList?: string[]): void;
|
|
11558
11559
|
/**
|
|
11559
|
-
* @
|
|
11560
|
+
* @beta
|
|
11560
11561
|
* @remarks
|
|
11561
11562
|
* Helper function for creating potion items.
|
|
11562
11563
|
*
|
|
@@ -13692,7 +13693,7 @@ export class PlayerSpawnAfterEventSignal extends IPlayerSpawnAfterEventSignal {
|
|
|
13692
13693
|
}
|
|
13693
13694
|
|
|
13694
13695
|
/**
|
|
13695
|
-
* @
|
|
13696
|
+
* @beta
|
|
13696
13697
|
* Represents a type of potion effect - like healing or leaping
|
|
13697
13698
|
* - that can be used with PotionOptions.
|
|
13698
13699
|
*/
|
|
@@ -13702,7 +13703,7 @@ export class PotionEffectType {
|
|
|
13702
13703
|
}
|
|
13703
13704
|
|
|
13704
13705
|
/**
|
|
13705
|
-
* @
|
|
13706
|
+
* @beta
|
|
13706
13707
|
* Represents a type of potion liquid - like splash, or
|
|
13707
13708
|
* lingering - that can be used with PotionOptions.
|
|
13708
13709
|
*/
|
|
@@ -13712,7 +13713,7 @@ export class PotionLiquidType {
|
|
|
13712
13713
|
}
|
|
13713
13714
|
|
|
13714
13715
|
/**
|
|
13715
|
-
* @
|
|
13716
|
+
* @beta
|
|
13716
13717
|
* Represents a type of potion modifier - like strong, or long
|
|
13717
13718
|
* - that can be used with PotionOptions.
|
|
13718
13719
|
*/
|
|
@@ -13722,7 +13723,7 @@ export class PotionModifierType {
|
|
|
13722
13723
|
}
|
|
13723
13724
|
|
|
13724
13725
|
/**
|
|
13725
|
-
* @
|
|
13726
|
+
* @beta
|
|
13726
13727
|
* Used for accessing all potion effects, liquids, and
|
|
13727
13728
|
* modifiers currently available for use within the world.
|
|
13728
13729
|
*/
|
|
@@ -16764,6 +16765,13 @@ export interface CameraFadeTimeOptions {
|
|
|
16764
16765
|
holdTime: number;
|
|
16765
16766
|
}
|
|
16766
16767
|
|
|
16768
|
+
/**
|
|
16769
|
+
* @beta
|
|
16770
|
+
*/
|
|
16771
|
+
export interface CameraFixedBoomOptions {
|
|
16772
|
+
viewOffset?: Vector2;
|
|
16773
|
+
}
|
|
16774
|
+
|
|
16767
16775
|
export interface CameraSetFacingOptions {
|
|
16768
16776
|
easeOptions?: CameraEaseOptions;
|
|
16769
16777
|
facingEntity: Entity;
|
|
@@ -17767,7 +17775,7 @@ export interface PlayerSoundOptions {
|
|
|
17767
17775
|
}
|
|
17768
17776
|
|
|
17769
17777
|
/**
|
|
17770
|
-
* @
|
|
17778
|
+
* @beta
|
|
17771
17779
|
* Options for use in creating potions. See
|
|
17772
17780
|
* ItemStack.createPotion.
|
|
17773
17781
|
*/
|
|
@@ -18290,7 +18298,7 @@ export interface Vector3 {
|
|
|
18290
18298
|
}
|
|
18291
18299
|
|
|
18292
18300
|
/**
|
|
18293
|
-
* @
|
|
18301
|
+
* @rc
|
|
18294
18302
|
*/
|
|
18295
18303
|
export interface VectorXZ {
|
|
18296
18304
|
x: number;
|