@minecraft/server 1.9.0-beta.1.20.60-preview.26 → 1.9.0-beta.1.20.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 +1 -20
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* ```json
|
|
16
16
|
* {
|
|
17
17
|
* "module_name": "@minecraft/server",
|
|
18
|
-
* "version": "1.
|
|
18
|
+
* "version": "1.8.0"
|
|
19
19
|
* }
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
@@ -802,34 +802,29 @@ export enum EquipmentSlot {
|
|
|
802
802
|
}
|
|
803
803
|
|
|
804
804
|
/**
|
|
805
|
-
* @beta
|
|
806
805
|
* Represents the type of fluid for use within a fluid
|
|
807
806
|
* containing block, like a cauldron.
|
|
808
807
|
*/
|
|
809
808
|
export enum FluidType {
|
|
810
809
|
/**
|
|
811
|
-
* @beta
|
|
812
810
|
* @remarks
|
|
813
811
|
* Represents lava as a type of fluid.
|
|
814
812
|
*
|
|
815
813
|
*/
|
|
816
814
|
Lava = 'Lava',
|
|
817
815
|
/**
|
|
818
|
-
* @beta
|
|
819
816
|
* @remarks
|
|
820
817
|
* Represents a potion as a type of fluid.
|
|
821
818
|
*
|
|
822
819
|
*/
|
|
823
820
|
Potion = 'Potion',
|
|
824
821
|
/**
|
|
825
|
-
* @beta
|
|
826
822
|
* @remarks
|
|
827
823
|
* Represents powder snow as a type of fluid.
|
|
828
824
|
*
|
|
829
825
|
*/
|
|
830
826
|
PowderSnow = 'PowderSnow',
|
|
831
827
|
/**
|
|
832
|
-
* @beta
|
|
833
828
|
* @remarks
|
|
834
829
|
* Represents water as a type of fluida.
|
|
835
830
|
*
|
|
@@ -1659,7 +1654,6 @@ export class Block {
|
|
|
1659
1654
|
*/
|
|
1660
1655
|
getRedstonePower(): number | undefined;
|
|
1661
1656
|
/**
|
|
1662
|
-
* @beta
|
|
1663
1657
|
* @remarks
|
|
1664
1658
|
* Returns a set of tags for a block.
|
|
1665
1659
|
*
|
|
@@ -1673,7 +1667,6 @@ export class Block {
|
|
|
1673
1667
|
*/
|
|
1674
1668
|
getTags(): string[];
|
|
1675
1669
|
/**
|
|
1676
|
-
* @beta
|
|
1677
1670
|
* @remarks
|
|
1678
1671
|
* Checks to see if the permutation of this block has a
|
|
1679
1672
|
* specific tag.
|
|
@@ -2120,7 +2113,6 @@ export class BlockPermutation {
|
|
|
2120
2113
|
*/
|
|
2121
2114
|
getItemStack(amount?: number): ItemStack | undefined;
|
|
2122
2115
|
/**
|
|
2123
|
-
* @beta
|
|
2124
2116
|
* @remarks
|
|
2125
2117
|
* Gets a state for the permutation.
|
|
2126
2118
|
*
|
|
@@ -2170,7 +2162,6 @@ export class BlockPermutation {
|
|
|
2170
2162
|
*/
|
|
2171
2163
|
matches(blockName: string, states?: Record<string, boolean | number | string>): boolean;
|
|
2172
2164
|
/**
|
|
2173
|
-
* @beta
|
|
2174
2165
|
* @remarks
|
|
2175
2166
|
* Returns a derived BlockPermutation with a specific property
|
|
2176
2167
|
* set.
|
|
@@ -2537,7 +2528,6 @@ export class BlockStateType {
|
|
|
2537
2528
|
}
|
|
2538
2529
|
|
|
2539
2530
|
/**
|
|
2540
|
-
* @beta
|
|
2541
2531
|
* The type (or template) of a block. Does not contain
|
|
2542
2532
|
* permutation data (state) other than the type of block it
|
|
2543
2533
|
* represents. This type was introduced as of version
|
|
@@ -3930,7 +3920,6 @@ export class ContainerSlot {
|
|
|
3930
3920
|
}
|
|
3931
3921
|
|
|
3932
3922
|
/**
|
|
3933
|
-
* @beta
|
|
3934
3923
|
* Contains information related to firing of a data driven
|
|
3935
3924
|
* entity event - for example, the minecraft:ageable_grow_up
|
|
3936
3925
|
* event on a chicken.
|
|
@@ -3959,7 +3948,6 @@ export class DataDrivenEntityTriggerAfterEvent {
|
|
|
3959
3948
|
}
|
|
3960
3949
|
|
|
3961
3950
|
/**
|
|
3962
|
-
* @beta
|
|
3963
3951
|
* Contains event registration related to firing of a data
|
|
3964
3952
|
* driven entity event - for example, the
|
|
3965
3953
|
* minecraft:ageable_grow_up event on a chicken.
|
|
@@ -4613,7 +4601,6 @@ export class Effect {
|
|
|
4613
4601
|
}
|
|
4614
4602
|
|
|
4615
4603
|
/**
|
|
4616
|
-
* @beta
|
|
4617
4604
|
* Contains information related to changes to an effect - like
|
|
4618
4605
|
* poison - being added to an entity.
|
|
4619
4606
|
*/
|
|
@@ -4634,7 +4621,6 @@ export class EffectAddAfterEvent {
|
|
|
4634
4621
|
}
|
|
4635
4622
|
|
|
4636
4623
|
/**
|
|
4637
|
-
* @beta
|
|
4638
4624
|
* Manages callbacks that are connected to when an effect is
|
|
4639
4625
|
* added to an entity.
|
|
4640
4626
|
*/
|
|
@@ -4665,7 +4651,6 @@ export class EffectAddAfterEventSignal {
|
|
|
4665
4651
|
}
|
|
4666
4652
|
|
|
4667
4653
|
/**
|
|
4668
|
-
* @beta
|
|
4669
4654
|
* Contains information related to changes to an effect - like
|
|
4670
4655
|
* poison - being added to an entity.
|
|
4671
4656
|
*/
|
|
@@ -4698,7 +4683,6 @@ export class EffectAddBeforeEvent {
|
|
|
4698
4683
|
}
|
|
4699
4684
|
|
|
4700
4685
|
/**
|
|
4701
|
-
* @beta
|
|
4702
4686
|
* Manages callbacks that are connected to when an effect is
|
|
4703
4687
|
* added to an entity.
|
|
4704
4688
|
*/
|
|
@@ -12860,7 +12844,6 @@ export class WorldAfterEvents {
|
|
|
12860
12844
|
*/
|
|
12861
12845
|
readonly chatSend: ChatSendAfterEventSignal;
|
|
12862
12846
|
/**
|
|
12863
|
-
* @beta
|
|
12864
12847
|
* @remarks
|
|
12865
12848
|
* This event is fired when an entity event has been triggered
|
|
12866
12849
|
* that will update the component definition state of an
|
|
@@ -13613,7 +13596,6 @@ export interface CompoundBlockVolumeItem {
|
|
|
13613
13596
|
}
|
|
13614
13597
|
|
|
13615
13598
|
/**
|
|
13616
|
-
* @beta
|
|
13617
13599
|
* Contains a set of updates to the component definition state
|
|
13618
13600
|
* of an entity.
|
|
13619
13601
|
*/
|
|
@@ -13756,7 +13738,6 @@ export interface EntityDamageSource {
|
|
|
13756
13738
|
}
|
|
13757
13739
|
|
|
13758
13740
|
/**
|
|
13759
|
-
* @beta
|
|
13760
13741
|
* Specifies additional filters that are used in registering a
|
|
13761
13742
|
* data driven trigger event for entities.
|
|
13762
13743
|
*/
|