@minecraft/server 1.16.0-rc.1.21.60-preview.21 → 1.16.0
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/README.md +0 -2
- package/index.d.ts +0 -18
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.
|
|
4
4
|
|
|
5
|
-
## **NOTE: This version of this module is still in pre-release. It may change or it may be removed in future releases.**
|
|
6
|
-
|
|
7
5
|
See full documentation for this module here:
|
|
8
6
|
|
|
9
7
|
https://learn.microsoft.com/en-us/minecraft/creator/scriptapi/minecraft/server/minecraft-server
|
package/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
***************************************************************************** */
|
|
9
9
|
/**
|
|
10
|
-
* @preview
|
|
11
10
|
* @packageDocumentation
|
|
12
11
|
* Contains many types related to manipulating a Minecraft
|
|
13
12
|
* world, including entities, blocks, dimensions, and more.
|
|
@@ -27,9 +26,6 @@ import * as minecraftcommon from '@minecraft/common';
|
|
|
27
26
|
* function Block.getComponent.
|
|
28
27
|
*/
|
|
29
28
|
export enum BlockComponentTypes {
|
|
30
|
-
/**
|
|
31
|
-
* @rc
|
|
32
|
-
*/
|
|
33
29
|
FluidContainer = 'minecraft:fluidContainer',
|
|
34
30
|
/**
|
|
35
31
|
* @remarks
|
|
@@ -1571,7 +1567,6 @@ export enum ItemLockMode {
|
|
|
1571
1567
|
}
|
|
1572
1568
|
|
|
1573
1569
|
/**
|
|
1574
|
-
* @rc
|
|
1575
1570
|
* Describes the memory of a device.
|
|
1576
1571
|
*/
|
|
1577
1572
|
export enum MemoryTier {
|
|
@@ -1795,7 +1790,6 @@ export enum PaletteColor {
|
|
|
1795
1790
|
}
|
|
1796
1791
|
|
|
1797
1792
|
/**
|
|
1798
|
-
* @rc
|
|
1799
1793
|
* Describes what kind of platform is a device.
|
|
1800
1794
|
*/
|
|
1801
1795
|
export enum PlatformType {
|
|
@@ -2741,7 +2735,6 @@ export class BlockExplodeAfterEventSignal {
|
|
|
2741
2735
|
}
|
|
2742
2736
|
|
|
2743
2737
|
/**
|
|
2744
|
-
* @rc
|
|
2745
2738
|
* Represents the fluid container of a block in the world. Used
|
|
2746
2739
|
* with blocks like cauldrons.
|
|
2747
2740
|
*/
|
|
@@ -3773,7 +3766,6 @@ export class Camera {
|
|
|
3773
3766
|
}
|
|
3774
3767
|
|
|
3775
3768
|
/**
|
|
3776
|
-
* @rc
|
|
3777
3769
|
* Contains the device information for a client instance.
|
|
3778
3770
|
*/
|
|
3779
3771
|
// @ts-ignore Class inheritance allowed for native defined classes
|
|
@@ -4584,7 +4576,6 @@ export class Dimension {
|
|
|
4584
4576
|
*/
|
|
4585
4577
|
readonly id: string;
|
|
4586
4578
|
/**
|
|
4587
|
-
* @rc
|
|
4588
4579
|
* @remarks
|
|
4589
4580
|
* Searches the block volume for a block that satisfies the
|
|
4590
4581
|
* block filter.
|
|
@@ -4670,7 +4661,6 @@ export class Dimension {
|
|
|
4670
4661
|
*/
|
|
4671
4662
|
createExplosion(location: Vector3, radius: number, explosionOptions?: ExplosionOptions): boolean;
|
|
4672
4663
|
/**
|
|
4673
|
-
* @rc
|
|
4674
4664
|
* @remarks
|
|
4675
4665
|
* Fills an area of blocks with a specific block type.
|
|
4676
4666
|
*
|
|
@@ -4739,7 +4729,6 @@ export class Dimension {
|
|
|
4739
4729
|
*/
|
|
4740
4730
|
getBlockFromRay(location: Vector3, direction: Vector3, options?: BlockRaycastOptions): BlockRaycastHit | undefined;
|
|
4741
4731
|
/**
|
|
4742
|
-
* @rc
|
|
4743
4732
|
* @remarks
|
|
4744
4733
|
* Gets all the blocks in a volume that satisfy the filter.
|
|
4745
4734
|
*
|
|
@@ -9133,7 +9122,6 @@ export class FeedItemEffect {
|
|
|
9133
9122
|
}
|
|
9134
9123
|
|
|
9135
9124
|
/**
|
|
9136
|
-
* @rc
|
|
9137
9125
|
* Represents constants related to fluid containers.
|
|
9138
9126
|
*/
|
|
9139
9127
|
export class FluidContainer {
|
|
@@ -11108,7 +11096,6 @@ export class ItemUseOnAfterEvent {
|
|
|
11108
11096
|
*/
|
|
11109
11097
|
readonly faceLocation: Vector3;
|
|
11110
11098
|
/**
|
|
11111
|
-
* @rc
|
|
11112
11099
|
* @remarks
|
|
11113
11100
|
* This value will be true if the event was triggered on
|
|
11114
11101
|
* players initial interaction button press and false on events
|
|
@@ -11619,7 +11606,6 @@ export class Player extends Entity {
|
|
|
11619
11606
|
*/
|
|
11620
11607
|
readonly camera: Camera;
|
|
11621
11608
|
/**
|
|
11622
|
-
* @rc
|
|
11623
11609
|
* @remarks
|
|
11624
11610
|
* Contains the player's device information.
|
|
11625
11611
|
*
|
|
@@ -14149,7 +14135,6 @@ export class System {
|
|
|
14149
14135
|
*/
|
|
14150
14136
|
readonly currentTick: number;
|
|
14151
14137
|
/**
|
|
14152
|
-
* @rc
|
|
14153
14138
|
* @remarks
|
|
14154
14139
|
* Contains the device information for the server.
|
|
14155
14140
|
*
|
|
@@ -14323,7 +14308,6 @@ export class SystemAfterEvents {
|
|
|
14323
14308
|
}
|
|
14324
14309
|
|
|
14325
14310
|
/**
|
|
14326
|
-
* @rc
|
|
14327
14311
|
* Contains device information, like memory tier.
|
|
14328
14312
|
*/
|
|
14329
14313
|
export class SystemInfo {
|
|
@@ -15688,7 +15672,6 @@ export interface BlockEventOptions {
|
|
|
15688
15672
|
}
|
|
15689
15673
|
|
|
15690
15674
|
/**
|
|
15691
|
-
* @rc
|
|
15692
15675
|
* Contains additional options for a block fill operation.
|
|
15693
15676
|
*/
|
|
15694
15677
|
export interface BlockFillOptions {
|
|
@@ -17563,7 +17546,6 @@ export class LocationOutOfWorldBoundariesError extends Error {
|
|
|
17563
17546
|
}
|
|
17564
17547
|
|
|
17565
17548
|
/**
|
|
17566
|
-
* @rc
|
|
17567
17549
|
* Error thrown when the specified area contains one or more
|
|
17568
17550
|
* unloaded chunks.
|
|
17569
17551
|
*/
|