minecraft-data 3.42.1 → 3.43.1
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/doc/api.md +10 -0
- package/doc/history.md +9 -0
- package/index.js +2 -1
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.20.0/proto.yml +19 -0
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +30 -1
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +30 -1
- package/minecraft-data/data/bedrock/common/legacy.json +1931 -0
- package/minecraft-data/data/bedrock/latest/proto.yml +18 -0
- package/minecraft-data/doc/history.md +6 -0
- package/package.json +1 -1
package/doc/api.md
CHANGED
|
@@ -651,6 +651,16 @@ Example:
|
|
|
651
651
|
console.log(mcData.legacy.pc.blocks['171:15']) // Returns: 'minecraft:black_carpet'
|
|
652
652
|
```
|
|
653
653
|
|
|
654
|
+
### minecraftData.legacy.bedrock.blocks
|
|
655
|
+
|
|
656
|
+
Mapping from 1.2 block:metadata to 1.18.10 block names
|
|
657
|
+
|
|
658
|
+
Example:
|
|
659
|
+
|
|
660
|
+
```js
|
|
661
|
+
console.log(mcData.legacy.bedrock.blocks['242:0']) // Returns: 'minecraft:camera'
|
|
662
|
+
```
|
|
663
|
+
|
|
654
664
|
## Schemas
|
|
655
665
|
|
|
656
666
|
These are common data and directly available in the `minecraftData` object.
|
package/doc/history.md
CHANGED
package/index.js
CHANGED
|
@@ -107,7 +107,8 @@ module.exports.versionsByMinecraftVersion = versionsByMinecraftVersion
|
|
|
107
107
|
module.exports.preNettyVersionsByProtocolVersion = preNettyVersionsByProtocolVersion
|
|
108
108
|
module.exports.postNettyVersionsByProtocolVersion = postNettyVersionsByProtocolVersion
|
|
109
109
|
module.exports.legacy = {
|
|
110
|
-
pc: require('./minecraft-data/data/pc/common/legacy.json')
|
|
110
|
+
pc: require('./minecraft-data/data/pc/common/legacy.json'),
|
|
111
|
+
bedrock: require('./minecraft-data/data/bedrock/common/legacy.json')
|
|
111
112
|
}
|
|
112
113
|
|
|
113
114
|
const schemas = {
|
|
@@ -1834,9 +1834,28 @@ packet_set_local_player_as_initialized:
|
|
|
1834
1834
|
# StartGame packet.
|
|
1835
1835
|
runtime_entity_id: varint64
|
|
1836
1836
|
|
|
1837
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
1838
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
1839
|
+
# options should be removed.
|
|
1840
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
1841
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
1837
1842
|
packet_update_soft_enum:
|
|
1838
1843
|
!id: 0x72
|
|
1839
1844
|
!bound: client
|
|
1845
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
1846
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
1847
|
+
enum_type: string
|
|
1848
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
1849
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
1850
|
+
# options will be removed from the enum.
|
|
1851
|
+
options: string[]varint
|
|
1852
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
1853
|
+
# depending on what ActionType is used.
|
|
1854
|
+
action_type: u8 =>
|
|
1855
|
+
0: add
|
|
1856
|
+
1: remove
|
|
1857
|
+
2: update
|
|
1858
|
+
|
|
1840
1859
|
|
|
1841
1860
|
packet_network_stack_latency:
|
|
1842
1861
|
!id: 0x73
|
|
@@ -6409,7 +6409,36 @@
|
|
|
6409
6409
|
],
|
|
6410
6410
|
"packet_update_soft_enum": [
|
|
6411
6411
|
"container",
|
|
6412
|
-
[
|
|
6412
|
+
[
|
|
6413
|
+
{
|
|
6414
|
+
"name": "enum_type",
|
|
6415
|
+
"type": "string"
|
|
6416
|
+
},
|
|
6417
|
+
{
|
|
6418
|
+
"name": "options",
|
|
6419
|
+
"type": [
|
|
6420
|
+
"array",
|
|
6421
|
+
{
|
|
6422
|
+
"countType": "varint",
|
|
6423
|
+
"type": "string"
|
|
6424
|
+
}
|
|
6425
|
+
]
|
|
6426
|
+
},
|
|
6427
|
+
{
|
|
6428
|
+
"name": "action_type",
|
|
6429
|
+
"type": [
|
|
6430
|
+
"mapper",
|
|
6431
|
+
{
|
|
6432
|
+
"type": "u8",
|
|
6433
|
+
"mappings": {
|
|
6434
|
+
"0": "add",
|
|
6435
|
+
"1": "remove",
|
|
6436
|
+
"2": "update"
|
|
6437
|
+
}
|
|
6438
|
+
}
|
|
6439
|
+
]
|
|
6440
|
+
}
|
|
6441
|
+
]
|
|
6413
6442
|
],
|
|
6414
6443
|
"packet_network_stack_latency": [
|
|
6415
6444
|
"container",
|
|
@@ -1925,9 +1925,28 @@ packet_set_local_player_as_initialized:
|
|
|
1925
1925
|
# StartGame packet.
|
|
1926
1926
|
runtime_entity_id: varint64
|
|
1927
1927
|
|
|
1928
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
1929
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
1930
|
+
# options should be removed.
|
|
1931
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
1932
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
1928
1933
|
packet_update_soft_enum:
|
|
1929
1934
|
!id: 0x72
|
|
1930
1935
|
!bound: client
|
|
1936
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
1937
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
1938
|
+
enum_type: string
|
|
1939
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
1940
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
1941
|
+
# options will be removed from the enum.
|
|
1942
|
+
options: string[]varint
|
|
1943
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
1944
|
+
# depending on what ActionType is used.
|
|
1945
|
+
action_type: u8 =>
|
|
1946
|
+
0: add
|
|
1947
|
+
1: remove
|
|
1948
|
+
2: update
|
|
1949
|
+
|
|
1931
1950
|
|
|
1932
1951
|
packet_network_stack_latency:
|
|
1933
1952
|
!id: 0x73
|
|
@@ -6630,7 +6630,36 @@
|
|
|
6630
6630
|
],
|
|
6631
6631
|
"packet_update_soft_enum": [
|
|
6632
6632
|
"container",
|
|
6633
|
-
[
|
|
6633
|
+
[
|
|
6634
|
+
{
|
|
6635
|
+
"name": "enum_type",
|
|
6636
|
+
"type": "string"
|
|
6637
|
+
},
|
|
6638
|
+
{
|
|
6639
|
+
"name": "options",
|
|
6640
|
+
"type": [
|
|
6641
|
+
"array",
|
|
6642
|
+
{
|
|
6643
|
+
"countType": "varint",
|
|
6644
|
+
"type": "string"
|
|
6645
|
+
}
|
|
6646
|
+
]
|
|
6647
|
+
},
|
|
6648
|
+
{
|
|
6649
|
+
"name": "action_type",
|
|
6650
|
+
"type": [
|
|
6651
|
+
"mapper",
|
|
6652
|
+
{
|
|
6653
|
+
"type": "u8",
|
|
6654
|
+
"mappings": {
|
|
6655
|
+
"0": "add",
|
|
6656
|
+
"1": "remove",
|
|
6657
|
+
"2": "update"
|
|
6658
|
+
}
|
|
6659
|
+
}
|
|
6660
|
+
]
|
|
6661
|
+
}
|
|
6662
|
+
]
|
|
6634
6663
|
],
|
|
6635
6664
|
"packet_network_stack_latency": [
|
|
6636
6665
|
"container",
|
|
@@ -2263,9 +2263,28 @@ packet_set_local_player_as_initialized:
|
|
|
2263
2263
|
# StartGame packet.
|
|
2264
2264
|
runtime_entity_id: varint64
|
|
2265
2265
|
|
|
2266
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2267
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2268
|
+
# options should be removed.
|
|
2269
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2270
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2266
2271
|
packet_update_soft_enum:
|
|
2267
2272
|
!id: 0x72
|
|
2268
2273
|
!bound: client
|
|
2274
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2275
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2276
|
+
enum_type: string
|
|
2277
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2278
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2279
|
+
# options will be removed from the enum.
|
|
2280
|
+
options: string[]varint
|
|
2281
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2282
|
+
# depending on what ActionType is used.
|
|
2283
|
+
action_type: u8 =>
|
|
2284
|
+
0: add
|
|
2285
|
+
1: remove
|
|
2286
|
+
2: update
|
|
2287
|
+
|
|
2269
2288
|
|
|
2270
2289
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2271
2290
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7397,7 +7397,36 @@
|
|
|
7397
7397
|
],
|
|
7398
7398
|
"packet_update_soft_enum": [
|
|
7399
7399
|
"container",
|
|
7400
|
-
[
|
|
7400
|
+
[
|
|
7401
|
+
{
|
|
7402
|
+
"name": "enum_type",
|
|
7403
|
+
"type": "string"
|
|
7404
|
+
},
|
|
7405
|
+
{
|
|
7406
|
+
"name": "options",
|
|
7407
|
+
"type": [
|
|
7408
|
+
"array",
|
|
7409
|
+
{
|
|
7410
|
+
"countType": "varint",
|
|
7411
|
+
"type": "string"
|
|
7412
|
+
}
|
|
7413
|
+
]
|
|
7414
|
+
},
|
|
7415
|
+
{
|
|
7416
|
+
"name": "action_type",
|
|
7417
|
+
"type": [
|
|
7418
|
+
"mapper",
|
|
7419
|
+
{
|
|
7420
|
+
"type": "u8",
|
|
7421
|
+
"mappings": {
|
|
7422
|
+
"0": "add",
|
|
7423
|
+
"1": "remove",
|
|
7424
|
+
"2": "update"
|
|
7425
|
+
}
|
|
7426
|
+
}
|
|
7427
|
+
]
|
|
7428
|
+
}
|
|
7429
|
+
]
|
|
7401
7430
|
],
|
|
7402
7431
|
"packet_network_stack_latency": [
|
|
7403
7432
|
"container",
|
|
@@ -2265,9 +2265,28 @@ packet_set_local_player_as_initialized:
|
|
|
2265
2265
|
# StartGame packet.
|
|
2266
2266
|
runtime_entity_id: varint64
|
|
2267
2267
|
|
|
2268
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2269
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2270
|
+
# options should be removed.
|
|
2271
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2272
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2268
2273
|
packet_update_soft_enum:
|
|
2269
2274
|
!id: 0x72
|
|
2270
2275
|
!bound: client
|
|
2276
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2277
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2278
|
+
enum_type: string
|
|
2279
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2280
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2281
|
+
# options will be removed from the enum.
|
|
2282
|
+
options: string[]varint
|
|
2283
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2284
|
+
# depending on what ActionType is used.
|
|
2285
|
+
action_type: u8 =>
|
|
2286
|
+
0: add
|
|
2287
|
+
1: remove
|
|
2288
|
+
2: update
|
|
2289
|
+
|
|
2271
2290
|
|
|
2272
2291
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2273
2292
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7476,7 +7476,36 @@
|
|
|
7476
7476
|
],
|
|
7477
7477
|
"packet_update_soft_enum": [
|
|
7478
7478
|
"container",
|
|
7479
|
-
[
|
|
7479
|
+
[
|
|
7480
|
+
{
|
|
7481
|
+
"name": "enum_type",
|
|
7482
|
+
"type": "string"
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
"name": "options",
|
|
7486
|
+
"type": [
|
|
7487
|
+
"array",
|
|
7488
|
+
{
|
|
7489
|
+
"countType": "varint",
|
|
7490
|
+
"type": "string"
|
|
7491
|
+
}
|
|
7492
|
+
]
|
|
7493
|
+
},
|
|
7494
|
+
{
|
|
7495
|
+
"name": "action_type",
|
|
7496
|
+
"type": [
|
|
7497
|
+
"mapper",
|
|
7498
|
+
{
|
|
7499
|
+
"type": "u8",
|
|
7500
|
+
"mappings": {
|
|
7501
|
+
"0": "add",
|
|
7502
|
+
"1": "remove",
|
|
7503
|
+
"2": "update"
|
|
7504
|
+
}
|
|
7505
|
+
}
|
|
7506
|
+
]
|
|
7507
|
+
}
|
|
7508
|
+
]
|
|
7480
7509
|
],
|
|
7481
7510
|
"packet_network_stack_latency": [
|
|
7482
7511
|
"container",
|
|
@@ -2362,9 +2362,28 @@ packet_set_local_player_as_initialized:
|
|
|
2362
2362
|
# StartGame packet.
|
|
2363
2363
|
runtime_entity_id: varint64
|
|
2364
2364
|
|
|
2365
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2366
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2367
|
+
# options should be removed.
|
|
2368
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2369
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2365
2370
|
packet_update_soft_enum:
|
|
2366
2371
|
!id: 0x72
|
|
2367
2372
|
!bound: client
|
|
2373
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2374
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2375
|
+
enum_type: string
|
|
2376
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2377
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2378
|
+
# options will be removed from the enum.
|
|
2379
|
+
options: string[]varint
|
|
2380
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2381
|
+
# depending on what ActionType is used.
|
|
2382
|
+
action_type: u8 =>
|
|
2383
|
+
0: add
|
|
2384
|
+
1: remove
|
|
2385
|
+
2: update
|
|
2386
|
+
|
|
2368
2387
|
|
|
2369
2388
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2370
2389
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7592,7 +7592,36 @@
|
|
|
7592
7592
|
],
|
|
7593
7593
|
"packet_update_soft_enum": [
|
|
7594
7594
|
"container",
|
|
7595
|
-
[
|
|
7595
|
+
[
|
|
7596
|
+
{
|
|
7597
|
+
"name": "enum_type",
|
|
7598
|
+
"type": "string"
|
|
7599
|
+
},
|
|
7600
|
+
{
|
|
7601
|
+
"name": "options",
|
|
7602
|
+
"type": [
|
|
7603
|
+
"array",
|
|
7604
|
+
{
|
|
7605
|
+
"countType": "varint",
|
|
7606
|
+
"type": "string"
|
|
7607
|
+
}
|
|
7608
|
+
]
|
|
7609
|
+
},
|
|
7610
|
+
{
|
|
7611
|
+
"name": "action_type",
|
|
7612
|
+
"type": [
|
|
7613
|
+
"mapper",
|
|
7614
|
+
{
|
|
7615
|
+
"type": "u8",
|
|
7616
|
+
"mappings": {
|
|
7617
|
+
"0": "add",
|
|
7618
|
+
"1": "remove",
|
|
7619
|
+
"2": "update"
|
|
7620
|
+
}
|
|
7621
|
+
}
|
|
7622
|
+
]
|
|
7623
|
+
}
|
|
7624
|
+
]
|
|
7596
7625
|
],
|
|
7597
7626
|
"packet_network_stack_latency": [
|
|
7598
7627
|
"container",
|
|
@@ -2378,9 +2378,28 @@ packet_set_local_player_as_initialized:
|
|
|
2378
2378
|
# StartGame packet.
|
|
2379
2379
|
runtime_entity_id: varint64
|
|
2380
2380
|
|
|
2381
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2382
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2383
|
+
# options should be removed.
|
|
2384
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2385
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2381
2386
|
packet_update_soft_enum:
|
|
2382
2387
|
!id: 0x72
|
|
2383
2388
|
!bound: client
|
|
2389
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2390
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2391
|
+
enum_type: string
|
|
2392
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2393
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2394
|
+
# options will be removed from the enum.
|
|
2395
|
+
options: string[]varint
|
|
2396
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2397
|
+
# depending on what ActionType is used.
|
|
2398
|
+
action_type: u8 =>
|
|
2399
|
+
0: add
|
|
2400
|
+
1: remove
|
|
2401
|
+
2: update
|
|
2402
|
+
|
|
2384
2403
|
|
|
2385
2404
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2386
2405
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7736,7 +7736,36 @@
|
|
|
7736
7736
|
],
|
|
7737
7737
|
"packet_update_soft_enum": [
|
|
7738
7738
|
"container",
|
|
7739
|
-
[
|
|
7739
|
+
[
|
|
7740
|
+
{
|
|
7741
|
+
"name": "enum_type",
|
|
7742
|
+
"type": "string"
|
|
7743
|
+
},
|
|
7744
|
+
{
|
|
7745
|
+
"name": "options",
|
|
7746
|
+
"type": [
|
|
7747
|
+
"array",
|
|
7748
|
+
{
|
|
7749
|
+
"countType": "varint",
|
|
7750
|
+
"type": "string"
|
|
7751
|
+
}
|
|
7752
|
+
]
|
|
7753
|
+
},
|
|
7754
|
+
{
|
|
7755
|
+
"name": "action_type",
|
|
7756
|
+
"type": [
|
|
7757
|
+
"mapper",
|
|
7758
|
+
{
|
|
7759
|
+
"type": "u8",
|
|
7760
|
+
"mappings": {
|
|
7761
|
+
"0": "add",
|
|
7762
|
+
"1": "remove",
|
|
7763
|
+
"2": "update"
|
|
7764
|
+
}
|
|
7765
|
+
}
|
|
7766
|
+
]
|
|
7767
|
+
}
|
|
7768
|
+
]
|
|
7740
7769
|
],
|
|
7741
7770
|
"packet_network_stack_latency": [
|
|
7742
7771
|
"container",
|
|
@@ -2378,9 +2378,28 @@ packet_set_local_player_as_initialized:
|
|
|
2378
2378
|
# StartGame packet.
|
|
2379
2379
|
runtime_entity_id: varint64
|
|
2380
2380
|
|
|
2381
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2382
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2383
|
+
# options should be removed.
|
|
2384
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2385
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2381
2386
|
packet_update_soft_enum:
|
|
2382
2387
|
!id: 0x72
|
|
2383
2388
|
!bound: client
|
|
2389
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2390
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2391
|
+
enum_type: string
|
|
2392
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2393
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2394
|
+
# options will be removed from the enum.
|
|
2395
|
+
options: string[]varint
|
|
2396
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2397
|
+
# depending on what ActionType is used.
|
|
2398
|
+
action_type: u8 =>
|
|
2399
|
+
0: add
|
|
2400
|
+
1: remove
|
|
2401
|
+
2: update
|
|
2402
|
+
|
|
2384
2403
|
|
|
2385
2404
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2386
2405
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7737,7 +7737,36 @@
|
|
|
7737
7737
|
],
|
|
7738
7738
|
"packet_update_soft_enum": [
|
|
7739
7739
|
"container",
|
|
7740
|
-
[
|
|
7740
|
+
[
|
|
7741
|
+
{
|
|
7742
|
+
"name": "enum_type",
|
|
7743
|
+
"type": "string"
|
|
7744
|
+
},
|
|
7745
|
+
{
|
|
7746
|
+
"name": "options",
|
|
7747
|
+
"type": [
|
|
7748
|
+
"array",
|
|
7749
|
+
{
|
|
7750
|
+
"countType": "varint",
|
|
7751
|
+
"type": "string"
|
|
7752
|
+
}
|
|
7753
|
+
]
|
|
7754
|
+
},
|
|
7755
|
+
{
|
|
7756
|
+
"name": "action_type",
|
|
7757
|
+
"type": [
|
|
7758
|
+
"mapper",
|
|
7759
|
+
{
|
|
7760
|
+
"type": "u8",
|
|
7761
|
+
"mappings": {
|
|
7762
|
+
"0": "add",
|
|
7763
|
+
"1": "remove",
|
|
7764
|
+
"2": "update"
|
|
7765
|
+
}
|
|
7766
|
+
}
|
|
7767
|
+
]
|
|
7768
|
+
}
|
|
7769
|
+
]
|
|
7741
7770
|
],
|
|
7742
7771
|
"packet_network_stack_latency": [
|
|
7743
7772
|
"container",
|
|
@@ -2385,9 +2385,28 @@ packet_set_local_player_as_initialized:
|
|
|
2385
2385
|
# StartGame packet.
|
|
2386
2386
|
runtime_entity_id: varint64
|
|
2387
2387
|
|
|
2388
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2389
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2390
|
+
# options should be removed.
|
|
2391
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2392
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2388
2393
|
packet_update_soft_enum:
|
|
2389
2394
|
!id: 0x72
|
|
2390
2395
|
!bound: client
|
|
2396
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2397
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2398
|
+
enum_type: string
|
|
2399
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2400
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2401
|
+
# options will be removed from the enum.
|
|
2402
|
+
options: string[]varint
|
|
2403
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2404
|
+
# depending on what ActionType is used.
|
|
2405
|
+
action_type: u8 =>
|
|
2406
|
+
0: add
|
|
2407
|
+
1: remove
|
|
2408
|
+
2: update
|
|
2409
|
+
|
|
2391
2410
|
|
|
2392
2411
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2393
2412
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7782,7 +7782,36 @@
|
|
|
7782
7782
|
],
|
|
7783
7783
|
"packet_update_soft_enum": [
|
|
7784
7784
|
"container",
|
|
7785
|
-
[
|
|
7785
|
+
[
|
|
7786
|
+
{
|
|
7787
|
+
"name": "enum_type",
|
|
7788
|
+
"type": "string"
|
|
7789
|
+
},
|
|
7790
|
+
{
|
|
7791
|
+
"name": "options",
|
|
7792
|
+
"type": [
|
|
7793
|
+
"array",
|
|
7794
|
+
{
|
|
7795
|
+
"countType": "varint",
|
|
7796
|
+
"type": "string"
|
|
7797
|
+
}
|
|
7798
|
+
]
|
|
7799
|
+
},
|
|
7800
|
+
{
|
|
7801
|
+
"name": "action_type",
|
|
7802
|
+
"type": [
|
|
7803
|
+
"mapper",
|
|
7804
|
+
{
|
|
7805
|
+
"type": "u8",
|
|
7806
|
+
"mappings": {
|
|
7807
|
+
"0": "add",
|
|
7808
|
+
"1": "remove",
|
|
7809
|
+
"2": "update"
|
|
7810
|
+
}
|
|
7811
|
+
}
|
|
7812
|
+
]
|
|
7813
|
+
}
|
|
7814
|
+
]
|
|
7786
7815
|
],
|
|
7787
7816
|
"packet_network_stack_latency": [
|
|
7788
7817
|
"container",
|
|
@@ -2392,9 +2392,28 @@ packet_set_local_player_as_initialized:
|
|
|
2392
2392
|
# StartGame packet.
|
|
2393
2393
|
runtime_entity_id: varint64
|
|
2394
2394
|
|
|
2395
|
+
# UpdateSoftEnum is sent by the server to update a soft enum, also known as a dynamic enum, previously sent
|
|
2396
|
+
# in the AvailableCommands packet. It is sent whenever the enum should get new options or when some of its
|
|
2397
|
+
# options should be removed.
|
|
2398
|
+
# The UpdateSoftEnum packet will apply for enums that have been set in the AvailableCommands packet with the
|
|
2399
|
+
# 'Dynamic' field of the CommandEnum set to true.
|
|
2395
2400
|
packet_update_soft_enum:
|
|
2396
2401
|
!id: 0x72
|
|
2397
2402
|
!bound: client
|
|
2403
|
+
# EnumType is the type of the enum. This type must be identical to the one set in the AvailableCommands
|
|
2404
|
+
# packet, because the client uses this to recognise which enum to update.
|
|
2405
|
+
enum_type: string
|
|
2406
|
+
# Options is a list of options that should be updated. Depending on the ActionType field, either these
|
|
2407
|
+
# options will be added to the enum, the enum options will be set to these options or all of these
|
|
2408
|
+
# options will be removed from the enum.
|
|
2409
|
+
options: string[]varint
|
|
2410
|
+
# ActionType is the type of the action to execute on the enum. The Options field has a different result,
|
|
2411
|
+
# depending on what ActionType is used.
|
|
2412
|
+
action_type: u8 =>
|
|
2413
|
+
0: add
|
|
2414
|
+
1: remove
|
|
2415
|
+
2: update
|
|
2416
|
+
|
|
2398
2417
|
|
|
2399
2418
|
# NetworkStackLatency is sent by the server (and the client, on development builds) to measure the latency
|
|
2400
2419
|
# over the entire Minecraft stack, rather than the RakNet latency. It has other usages too, such as the
|
|
@@ -7840,7 +7840,36 @@
|
|
|
7840
7840
|
],
|
|
7841
7841
|
"packet_update_soft_enum": [
|
|
7842
7842
|
"container",
|
|
7843
|
-
[
|
|
7843
|
+
[
|
|
7844
|
+
{
|
|
7845
|
+
"name": "enum_type",
|
|
7846
|
+
"type": "string"
|
|
7847
|
+
},
|
|
7848
|
+
{
|
|
7849
|
+
"name": "options",
|
|
7850
|
+
"type": [
|
|
7851
|
+
"array",
|
|
7852
|
+
{
|
|
7853
|
+
"countType": "varint",
|
|
7854
|
+
"type": "string"
|
|
7855
|
+
}
|
|
7856
|
+
]
|
|
7857
|
+
},
|
|
7858
|
+
{
|
|
7859
|
+
"name": "action_type",
|
|
7860
|
+
"type": [
|
|
7861
|
+
"mapper",
|
|
7862
|
+
{
|
|
7863
|
+
"type": "u8",
|
|
7864
|
+
"mappings": {
|
|
7865
|
+
"0": "add",
|
|
7866
|
+
"1": "remove",
|
|
7867
|
+
"2": "update"
|
|
7868
|
+
}
|
|
7869
|
+
}
|
|
7870
|
+
]
|
|
7871
|
+
}
|
|
7872
|
+
]
|
|
7844
7873
|
],
|
|
7845
7874
|
"packet_network_stack_latency": [
|
|
7846
7875
|
"container",
|