@minecraft/server 2.4.0-beta.1.21.120-preview.24 → 2.4.0-beta.1.21.120-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 -23
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -255,7 +255,6 @@ export enum CompoundBlockVolumePositionRelativity {
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
|
-
* @rc
|
|
259
258
|
* Reasons that the {@link
|
|
260
259
|
* @minecraft/server.ContainerRulesError} was thrown.
|
|
261
260
|
*/
|
|
@@ -2139,9 +2138,6 @@ export enum ItemComponentTypes {
|
|
|
2139
2138
|
*
|
|
2140
2139
|
*/
|
|
2141
2140
|
Food = 'minecraft:food',
|
|
2142
|
-
/**
|
|
2143
|
-
* @rc
|
|
2144
|
-
*/
|
|
2145
2141
|
Inventory = 'minecraft:inventory',
|
|
2146
2142
|
/**
|
|
2147
2143
|
* @beta
|
|
@@ -3493,7 +3489,6 @@ export class AimAssistRegistry {
|
|
|
3493
3489
|
}
|
|
3494
3490
|
|
|
3495
3491
|
/**
|
|
3496
|
-
* @rc
|
|
3497
3492
|
* Describes a type of biome.
|
|
3498
3493
|
*/
|
|
3499
3494
|
export class BiomeType {
|
|
@@ -3844,7 +3839,6 @@ export class Block {
|
|
|
3844
3839
|
*/
|
|
3845
3840
|
getItemStack(amount?: number, withData?: boolean): ItemStack | undefined;
|
|
3846
3841
|
/**
|
|
3847
|
-
* @rc
|
|
3848
3842
|
* @remarks
|
|
3849
3843
|
* Returns the total brightness level of light shining on a
|
|
3850
3844
|
* certain block.
|
|
@@ -3884,7 +3878,6 @@ export class Block {
|
|
|
3884
3878
|
*/
|
|
3885
3879
|
getRedstonePower(): number | undefined;
|
|
3886
3880
|
/**
|
|
3887
|
-
* @rc
|
|
3888
3881
|
* @remarks
|
|
3889
3882
|
* Returns the brightness level of light shining from the sky
|
|
3890
3883
|
* on a certain block.
|
|
@@ -6454,7 +6447,6 @@ export class CompoundBlockVolume {
|
|
|
6454
6447
|
export class Container {
|
|
6455
6448
|
private constructor();
|
|
6456
6449
|
/**
|
|
6457
|
-
* @rc
|
|
6458
6450
|
* @remarks
|
|
6459
6451
|
* If these rules are defined other container operations will
|
|
6460
6452
|
* throw if they cause these rules to be invalidated. For
|
|
@@ -6490,7 +6482,6 @@ export class Container {
|
|
|
6490
6482
|
*/
|
|
6491
6483
|
readonly size: number;
|
|
6492
6484
|
/**
|
|
6493
|
-
* @rc
|
|
6494
6485
|
* @remarks
|
|
6495
6486
|
* The combined weight of all items in the container.
|
|
6496
6487
|
*
|
|
@@ -7101,7 +7092,6 @@ export class ContainerSlot {
|
|
|
7101
7092
|
*/
|
|
7102
7093
|
setCanPlaceOn(blockIdentifiers?: string[]): void;
|
|
7103
7094
|
/**
|
|
7104
|
-
* @rc
|
|
7105
7095
|
* @remarks
|
|
7106
7096
|
* Sets multiple dynamic properties with specific values.
|
|
7107
7097
|
*
|
|
@@ -7516,7 +7506,6 @@ export class Dimension {
|
|
|
7516
7506
|
*/
|
|
7517
7507
|
findClosestBiome(pos: Vector3, biomeToFind: BiomeType | string, options?: BiomeSearchOptions): Vector3 | undefined;
|
|
7518
7508
|
/**
|
|
7519
|
-
* @rc
|
|
7520
7509
|
* @remarks
|
|
7521
7510
|
* Returns the biome type at the specified location.
|
|
7522
7511
|
*
|
|
@@ -7756,7 +7745,6 @@ export class Dimension {
|
|
|
7756
7745
|
*/
|
|
7757
7746
|
getGeneratedStructures(location: Vector3): (minecraftvanilladata.MinecraftFeatureTypes | string)[];
|
|
7758
7747
|
/**
|
|
7759
|
-
* @rc
|
|
7760
7748
|
* @remarks
|
|
7761
7749
|
* Returns the total brightness level of light shining on a
|
|
7762
7750
|
* certain block position.
|
|
@@ -7790,7 +7778,6 @@ export class Dimension {
|
|
|
7790
7778
|
*/
|
|
7791
7779
|
getPlayers(options?: EntityQueryOptions): Player[];
|
|
7792
7780
|
/**
|
|
7793
|
-
* @rc
|
|
7794
7781
|
* @remarks
|
|
7795
7782
|
* Returns the brightness level of light shining from the sky
|
|
7796
7783
|
* on a certain block position.
|
|
@@ -7829,7 +7816,6 @@ export class Dimension {
|
|
|
7829
7816
|
*/
|
|
7830
7817
|
getWeather(): WeatherType;
|
|
7831
7818
|
/**
|
|
7832
|
-
* @rc
|
|
7833
7819
|
* @remarks
|
|
7834
7820
|
* Returns true if the chunk at the given location is loaded
|
|
7835
7821
|
* (and valid for use with scripting).
|
|
@@ -9532,7 +9518,6 @@ export class Entity {
|
|
|
9532
9518
|
*/
|
|
9533
9519
|
runCommand(commandString: string): CommandResult;
|
|
9534
9520
|
/**
|
|
9535
|
-
* @rc
|
|
9536
9521
|
* @remarks
|
|
9537
9522
|
* Sets multiple dynamic properties with specific values.
|
|
9538
9523
|
*
|
|
@@ -13902,7 +13887,6 @@ export class ItemFoodComponent extends ItemComponent {
|
|
|
13902
13887
|
}
|
|
13903
13888
|
|
|
13904
13889
|
/**
|
|
13905
|
-
* @rc
|
|
13906
13890
|
* This component is added to items with the `Storage Item`
|
|
13907
13891
|
* component. Can access and modify this items inventory
|
|
13908
13892
|
* container.
|
|
@@ -14165,7 +14149,6 @@ export class ItemStack {
|
|
|
14165
14149
|
*/
|
|
14166
14150
|
readonly typeId: string;
|
|
14167
14151
|
/**
|
|
14168
|
-
* @rc
|
|
14169
14152
|
* @remarks
|
|
14170
14153
|
* The total weight of all items in the stack plus the weight
|
|
14171
14154
|
* of all items in the items container which is defined with
|
|
@@ -14458,7 +14441,6 @@ export class ItemStack {
|
|
|
14458
14441
|
*/
|
|
14459
14442
|
setCanPlaceOn(blockIdentifiers?: string[]): void;
|
|
14460
14443
|
/**
|
|
14461
|
-
* @rc
|
|
14462
14444
|
* @remarks
|
|
14463
14445
|
* Sets multiple dynamic properties with specific values.
|
|
14464
14446
|
*
|
|
@@ -20929,7 +20911,6 @@ export class World {
|
|
|
20929
20911
|
*/
|
|
20930
20912
|
setDifficulty(difficulty: Difficulty): void;
|
|
20931
20913
|
/**
|
|
20932
|
-
* @rc
|
|
20933
20914
|
* @remarks
|
|
20934
20915
|
* Sets multiple dynamic properties with specific values.
|
|
20935
20916
|
*
|
|
@@ -22130,7 +22111,6 @@ export interface CompoundBlockVolumeItem {
|
|
|
22130
22111
|
}
|
|
22131
22112
|
|
|
22132
22113
|
/**
|
|
22133
|
-
* @rc
|
|
22134
22114
|
* Rules that if broken on container operations will throw an
|
|
22135
22115
|
* error.
|
|
22136
22116
|
*/
|
|
@@ -23774,7 +23754,6 @@ export interface ScriptEventMessageFilterOptions {
|
|
|
23774
23754
|
*/
|
|
23775
23755
|
export interface SpawnEntityOptions {
|
|
23776
23756
|
/**
|
|
23777
|
-
* @rc
|
|
23778
23757
|
* @remarks
|
|
23779
23758
|
* Optional boolean which determines if this entity should
|
|
23780
23759
|
* persist in the game world. Persistence prevents the entity
|
|
@@ -23783,7 +23762,6 @@ export interface SpawnEntityOptions {
|
|
|
23783
23762
|
*/
|
|
23784
23763
|
initialPersistence?: boolean;
|
|
23785
23764
|
/**
|
|
23786
|
-
* @rc
|
|
23787
23765
|
* @remarks
|
|
23788
23766
|
* Optional initial rotation, in degrees, to set on the entity
|
|
23789
23767
|
* when it spawns.
|
|
@@ -24177,7 +24155,6 @@ export class CommandError extends Error {
|
|
|
24177
24155
|
export class ContainerRulesError extends Error {
|
|
24178
24156
|
private constructor();
|
|
24179
24157
|
/**
|
|
24180
|
-
* @rc
|
|
24181
24158
|
* @remarks
|
|
24182
24159
|
* The specific reason the error was thrown.
|
|
24183
24160
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "2.4.0-beta.1.21.120-
|
|
3
|
+
"version": "2.4.0-beta.1.21.120-stable",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
],
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@minecraft/common": "^1.2.0",
|
|
17
|
-
"@minecraft/vanilla-data": ">=1.20.70
|
|
17
|
+
"@minecraft/vanilla-data": ">=1.20.70"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT"
|
|
20
20
|
}
|