@minecraft/server 1.8.0-beta.1.20.50-preview.24 → 1.9.0-beta.1.20.60-preview.20
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 -8
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -3823,7 +3823,7 @@ export class Dimension {
|
|
|
3823
3823
|
* overworld.createExplosion(explodeNoBlocksLoc, 15, { breaksBlocks: false });
|
|
3824
3824
|
* ```
|
|
3825
3825
|
*/
|
|
3826
|
-
createExplosion(location: Vector3, radius: number, explosionOptions?: ExplosionOptions):
|
|
3826
|
+
createExplosion(location: Vector3, radius: number, explosionOptions?: ExplosionOptions): boolean;
|
|
3827
3827
|
/**
|
|
3828
3828
|
* @beta
|
|
3829
3829
|
* @remarks
|
|
@@ -8319,7 +8319,7 @@ export class ItemReleaseUseAfterEvent {
|
|
|
8319
8319
|
* Returns the item stack that triggered this item event.
|
|
8320
8320
|
*
|
|
8321
8321
|
*/
|
|
8322
|
-
readonly itemStack
|
|
8322
|
+
readonly itemStack?: ItemStack;
|
|
8323
8323
|
/**
|
|
8324
8324
|
* @remarks
|
|
8325
8325
|
* Returns the source entity that triggered this item event.
|
|
@@ -9832,6 +9832,20 @@ export class Player extends Entity {
|
|
|
9832
9832
|
* {@link LocationOutOfWorldBoundariesError}
|
|
9833
9833
|
*/
|
|
9834
9834
|
setSpawnPoint(spawnPoint?: DimensionLocation): void;
|
|
9835
|
+
/**
|
|
9836
|
+
* @beta
|
|
9837
|
+
* @remarks
|
|
9838
|
+
* This function can't be called in read-only mode.
|
|
9839
|
+
*
|
|
9840
|
+
* @throws This function can throw errors.
|
|
9841
|
+
*
|
|
9842
|
+
* {@link Error}
|
|
9843
|
+
*
|
|
9844
|
+
* {@link LocationInUnloadedChunkError}
|
|
9845
|
+
*
|
|
9846
|
+
* {@link LocationOutOfWorldBoundariesError}
|
|
9847
|
+
*/
|
|
9848
|
+
spawnParticle(effectName: string, location: Vector3, molangVariables?: MolangVariableMap): void;
|
|
9835
9849
|
/**
|
|
9836
9850
|
* @beta
|
|
9837
9851
|
* @remarks
|
|
@@ -10508,12 +10522,7 @@ export class PlayerPlaceBlockBeforeEvent extends BlockEvent {
|
|
|
10508
10522
|
*
|
|
10509
10523
|
*/
|
|
10510
10524
|
readonly faceLocation: Vector3;
|
|
10511
|
-
|
|
10512
|
-
* @remarks
|
|
10513
|
-
* The item being used to place the block.
|
|
10514
|
-
*
|
|
10515
|
-
*/
|
|
10516
|
-
itemStack: ItemStack;
|
|
10525
|
+
readonly permutationBeingPlaced: BlockPermutation;
|
|
10517
10526
|
/**
|
|
10518
10527
|
* @remarks
|
|
10519
10528
|
* Player that is placing the block for this event.
|
|
@@ -13083,6 +13092,7 @@ export interface DefinitionModifier {
|
|
|
13083
13092
|
*/
|
|
13084
13093
|
removedComponentGroups: string[];
|
|
13085
13094
|
/**
|
|
13095
|
+
* @beta
|
|
13086
13096
|
* @remarks
|
|
13087
13097
|
* The list of entity definition events that will be fired via
|
|
13088
13098
|
* this update.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0-beta.1.20.60-preview.20",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@minecraft/common": "^1.1.0-rc.1.20.
|
|
16
|
+
"@minecraft/common": "^1.1.0-rc.1.20.60-preview.20"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT"
|
|
19
19
|
}
|