@minecraft/server 2.0.0-beta.1.21.80-preview.27 → 2.0.0-beta.1.21.80-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 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -381,7 +381,6 @@ export enum CustomComponentNameErrorReason {
|
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
|
-
* @rc
|
|
385
384
|
* An enumeration for the various difficulty levels of
|
|
386
385
|
* Minecraft.
|
|
387
386
|
*/
|
|
@@ -7195,7 +7194,6 @@ export class Dimension {
|
|
|
7195
7194
|
*/
|
|
7196
7195
|
getWeather(): WeatherType;
|
|
7197
7196
|
/**
|
|
7198
|
-
* @rc
|
|
7199
7197
|
* @remarks
|
|
7200
7198
|
* Places the given feature into the dimension at the specified
|
|
7201
7199
|
* location.
|
|
@@ -7226,7 +7224,6 @@ export class Dimension {
|
|
|
7226
7224
|
*/
|
|
7227
7225
|
placeFeature(featureName: string, location: Vector3, shouldThrow?: boolean): boolean;
|
|
7228
7226
|
/**
|
|
7229
|
-
* @rc
|
|
7230
7227
|
* @remarks
|
|
7231
7228
|
* Places the given feature rule into the dimension at the
|
|
7232
7229
|
* specified location.
|
|
@@ -14162,7 +14159,6 @@ export class Player extends Entity {
|
|
|
14162
14159
|
*/
|
|
14163
14160
|
addLevels(amount: number): number;
|
|
14164
14161
|
/**
|
|
14165
|
-
* @rc
|
|
14166
14162
|
* @remarks
|
|
14167
14163
|
* For this player, removes all overrides of any Entity
|
|
14168
14164
|
* Properties on the target Entity. This change is not applied
|
|
@@ -14321,7 +14317,6 @@ export class Player extends Entity {
|
|
|
14321
14317
|
*/
|
|
14322
14318
|
queueMusic(trackId: string, musicOptions?: MusicOptions): void;
|
|
14323
14319
|
/**
|
|
14324
|
-
* @rc
|
|
14325
14320
|
* @remarks
|
|
14326
14321
|
* For this player, removes the override on an Entity Property.
|
|
14327
14322
|
* This change is not applied until the next tick and will not
|
|
@@ -14462,7 +14457,6 @@ export class Player extends Entity {
|
|
|
14462
14457
|
*/
|
|
14463
14458
|
setOp(isOp: boolean): void;
|
|
14464
14459
|
/**
|
|
14465
|
-
* @rc
|
|
14466
14460
|
* @remarks
|
|
14467
14461
|
* For this player, overrides an Entity Property on the target
|
|
14468
14462
|
* Entity to the provided value. This property must be client
|
|
@@ -17262,7 +17256,6 @@ export class StructureManager {
|
|
|
17262
17256
|
options?: StructurePlaceOptions,
|
|
17263
17257
|
): void;
|
|
17264
17258
|
/**
|
|
17265
|
-
* @rc
|
|
17266
17259
|
* @remarks
|
|
17267
17260
|
* Places a partial jigsaw structure in the world. This is
|
|
17268
17261
|
* useful for debugging connections between jigsaw blocks.
|
|
@@ -17306,7 +17299,6 @@ export class StructureManager {
|
|
|
17306
17299
|
options?: JigsawPlaceOptions,
|
|
17307
17300
|
): BlockBoundingBox;
|
|
17308
17301
|
/**
|
|
17309
|
-
* @rc
|
|
17310
17302
|
* @remarks
|
|
17311
17303
|
* Places a jigsaw structure in the world.
|
|
17312
17304
|
*
|
|
@@ -18154,7 +18146,6 @@ export class World {
|
|
|
18154
18146
|
*/
|
|
18155
18147
|
getDefaultSpawnLocation(): Vector3;
|
|
18156
18148
|
/**
|
|
18157
|
-
* @rc
|
|
18158
18149
|
* @remarks
|
|
18159
18150
|
* Gets the difficulty from the world.
|
|
18160
18151
|
*
|
|
@@ -18406,7 +18397,6 @@ export class World {
|
|
|
18406
18397
|
*/
|
|
18407
18398
|
setDefaultSpawnLocation(spawnLocation: Vector3): void;
|
|
18408
18399
|
/**
|
|
18409
|
-
* @rc
|
|
18410
18400
|
* @remarks
|
|
18411
18401
|
* Sets the worlds difficulty.
|
|
18412
18402
|
*
|
|
@@ -19110,7 +19100,6 @@ export interface BiomeSearchOptions {
|
|
|
19110
19100
|
}
|
|
19111
19101
|
|
|
19112
19102
|
/**
|
|
19113
|
-
* @rc
|
|
19114
19103
|
* A BlockBoundingBox is an interface to an object which
|
|
19115
19104
|
* represents an AABB aligned rectangle.
|
|
19116
19105
|
* The BlockBoundingBox assumes that it was created in a valid
|
|
@@ -20481,7 +20470,6 @@ export interface ItemCustomComponent {
|
|
|
20481
20470
|
}
|
|
20482
20471
|
|
|
20483
20472
|
/**
|
|
20484
|
-
* @rc
|
|
20485
20473
|
* Provides additional options for {@link
|
|
20486
20474
|
* StructureManager.placeJigsaw}.
|
|
20487
20475
|
*/
|
|
@@ -20503,7 +20491,6 @@ export interface JigsawPlaceOptions {
|
|
|
20503
20491
|
}
|
|
20504
20492
|
|
|
20505
20493
|
/**
|
|
20506
|
-
* @rc
|
|
20507
20494
|
* Provides additional options for {@link
|
|
20508
20495
|
* StructureManager.placeJigsawStructure}.
|
|
20509
20496
|
*/
|
|
@@ -21502,9 +21489,6 @@ export class NamespaceNameError extends Error {
|
|
|
21502
21489
|
reason: NamespaceNameErrorReason;
|
|
21503
21490
|
}
|
|
21504
21491
|
|
|
21505
|
-
/**
|
|
21506
|
-
* @rc
|
|
21507
|
-
*/
|
|
21508
21492
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
21509
21493
|
export class PlaceJigsawError extends Error {
|
|
21510
21494
|
private constructor();
|