@minecraft/server-net 1.0.0-beta.1.26.0-preview.26 → 1.0.0-beta.1.26.0-preview.28
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 +16 -13
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -29,34 +29,33 @@ import * as minecraftserveradmin from '@minecraft/server-admin';
|
|
|
29
29
|
export enum HttpRequestMethod {
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* Represents the method for an HTTP
|
|
33
|
-
* requests are
|
|
34
|
-
*
|
|
35
|
-
* specified URI, and not the body contents.
|
|
32
|
+
* Represents the method for an HTTP DELETE request. DELETE
|
|
33
|
+
* requests are used to delete the specified resource from the
|
|
34
|
+
* server.
|
|
36
35
|
*
|
|
37
36
|
*/
|
|
38
37
|
Delete = 'Delete',
|
|
39
38
|
/**
|
|
40
39
|
* @remarks
|
|
41
|
-
* Represents the method for an HTTP
|
|
42
|
-
* are commonly used to
|
|
43
|
-
* subordinate of the specified URI.
|
|
40
|
+
* Represents the method for an HTTP GET request. GET requests
|
|
41
|
+
* are commonly used to retrieve data from the specified URI.
|
|
44
42
|
*
|
|
45
43
|
*/
|
|
46
44
|
Get = 'Get',
|
|
47
45
|
/**
|
|
48
46
|
* @remarks
|
|
49
|
-
* Represents the method for an HTTP
|
|
50
|
-
* are
|
|
51
|
-
*
|
|
47
|
+
* Represents the method for an HTTP HEAD request. HEAD
|
|
48
|
+
* requests are similar to a GET request, but are commonly used
|
|
49
|
+
* to retrieve just the HTTP response headers from the
|
|
50
|
+
* specified URI, and not the body contents.
|
|
52
51
|
*
|
|
53
52
|
*/
|
|
54
53
|
Head = 'Head',
|
|
55
54
|
/**
|
|
56
55
|
* @remarks
|
|
57
|
-
* Represents the method for an HTTP
|
|
58
|
-
* are commonly used to
|
|
59
|
-
*
|
|
56
|
+
* Represents the method for an HTTP POST request. POST
|
|
57
|
+
* requests are commonly used to submit data to be processed to
|
|
58
|
+
* the specified URI.
|
|
60
59
|
*
|
|
61
60
|
*/
|
|
62
61
|
Post = 'Post',
|
|
@@ -97,12 +96,14 @@ export enum PacketId {
|
|
|
97
96
|
BlockPickRequestPacket = 'BlockPickRequestPacket',
|
|
98
97
|
BookEditPacket = 'BookEditPacket',
|
|
99
98
|
BossEventPacket = 'BossEventPacket',
|
|
99
|
+
CameraAimAssistActorPriorityPacket = 'CameraAimAssistActorPriorityPacket',
|
|
100
100
|
CameraAimAssistPacket = 'CameraAimAssistPacket',
|
|
101
101
|
CameraAimAssistPresetsPacket = 'CameraAimAssistPresetsPacket',
|
|
102
102
|
CameraInstructionPacket = 'CameraInstructionPacket',
|
|
103
103
|
CameraPacket = 'CameraPacket',
|
|
104
104
|
CameraPresetsPacket = 'CameraPresetsPacket',
|
|
105
105
|
CameraShakePacket = 'CameraShakePacket',
|
|
106
|
+
CameraSplinePacket = 'CameraSplinePacket',
|
|
106
107
|
ChangeDimensionPacket = 'ChangeDimensionPacket',
|
|
107
108
|
ChangeMobPropertyPacket = 'ChangeMobPropertyPacket',
|
|
108
109
|
ChunkRadiusUpdatedPacket = 'ChunkRadiusUpdatedPacket',
|
|
@@ -114,6 +115,7 @@ export enum PacketId {
|
|
|
114
115
|
ClientboundDataStorePacket = 'ClientboundDataStorePacket',
|
|
115
116
|
ClientboundDebugRendererPacket = 'ClientboundDebugRendererPacket',
|
|
116
117
|
ClientboundMapItemDataPacket = 'ClientboundMapItemDataPacket',
|
|
118
|
+
ClientboundTextureShiftPacket = 'ClientboundTextureShiftPacket',
|
|
117
119
|
ClientCacheBlobStatusPacket = 'ClientCacheBlobStatusPacket',
|
|
118
120
|
ClientCacheMissResponsePacket = 'ClientCacheMissResponsePacket',
|
|
119
121
|
ClientCacheStatusPacket = 'ClientCacheStatusPacket',
|
|
@@ -287,6 +289,7 @@ export enum PacketId {
|
|
|
287
289
|
UpdateSoftEnumPacket = 'UpdateSoftEnumPacket',
|
|
288
290
|
UpdateSubChunkBlocksPacket = 'UpdateSubChunkBlocksPacket',
|
|
289
291
|
UpdateTradePacket = 'UpdateTradePacket',
|
|
292
|
+
VoxelShapesPacket = 'VoxelShapesPacket',
|
|
290
293
|
}
|
|
291
294
|
|
|
292
295
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@minecraft/server-net",
|
|
3
|
-
"version": "1.0.0-beta.1.26.0-preview.
|
|
3
|
+
"version": "1.0.0-beta.1.26.0-preview.28",
|
|
4
4
|
"description": "",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"@minecraft/common": "^1.0.0",
|
|
17
17
|
"@minecraft/server": "^1.17.0 || ^2.0.0",
|
|
18
|
-
"@minecraft/server-admin": "^1.0.0-beta.1.26.0-preview.
|
|
18
|
+
"@minecraft/server-admin": "^1.0.0-beta.1.26.0-preview.28"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT"
|
|
21
21
|
}
|