minecraft-data 3.36.0 → 3.36.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/history.md +4 -0
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +38 -11
- package/minecraft-data/data/bedrock/1.16.201/protocol.json +60 -6
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +38 -11
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +60 -6
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +23 -11
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +38 -5
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +23 -11
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +38 -5
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +25 -12
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +28 -12
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.17.40/proto.yml +28 -12
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +28 -12
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +29 -12
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +29 -13
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +30 -13
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +32 -13
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +39 -6
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +40 -7
- package/minecraft-data/data/bedrock/latest/proto.yml +33 -14
- package/minecraft-data/data/pc/common/protocolVersions.json +8 -0
- package/minecraft-data/doc/history.md +4 -1
- package/package.json +1 -1
|
@@ -953,7 +953,10 @@ packet_mob_effect:
|
|
|
953
953
|
!id: 0x1c
|
|
954
954
|
!bound: client
|
|
955
955
|
runtime_entity_id: varint64
|
|
956
|
-
event_id: u8
|
|
956
|
+
event_id: u8 =>
|
|
957
|
+
1: add
|
|
958
|
+
2: update
|
|
959
|
+
3: remove
|
|
957
960
|
effect_id: zigzag32
|
|
958
961
|
amplifier: zigzag32
|
|
959
962
|
particles: bool
|
|
@@ -1003,6 +1006,7 @@ packet_interact:
|
|
|
1003
1006
|
action_id: u8 =>
|
|
1004
1007
|
3: leave_vehicle
|
|
1005
1008
|
4: mouse_over_entity
|
|
1009
|
+
5: npc_open
|
|
1006
1010
|
6: open_inventory
|
|
1007
1011
|
# TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
|
|
1008
1012
|
# for the InteractActionOpenInventory action type.
|
|
@@ -1418,7 +1422,11 @@ packet_player_list:
|
|
|
1418
1422
|
packet_simple_event:
|
|
1419
1423
|
!id: 0x40
|
|
1420
1424
|
!bound: client
|
|
1421
|
-
event_type: lu16
|
|
1425
|
+
event_type: lu16 =>
|
|
1426
|
+
0: uninitialized_subtype
|
|
1427
|
+
1: enable_commands
|
|
1428
|
+
2: disable_commands
|
|
1429
|
+
3: unlock_world_template_settings
|
|
1422
1430
|
|
|
1423
1431
|
# Event is sent by the server to send an event with additional data. It is typically sent to the client for
|
|
1424
1432
|
# telemetry reasons, much like the SimpleEvent packet.
|
|
@@ -2125,7 +2133,7 @@ packet_player_skin:
|
|
|
2125
2133
|
# connects sends a SubClientLogin to request their own login.
|
|
2126
2134
|
packet_sub_client_login:
|
|
2127
2135
|
!id: 0x5e
|
|
2128
|
-
!bound:
|
|
2136
|
+
!bound: server
|
|
2129
2137
|
# ConnectionRequest is a string containing information about the player and JWTs that may be used to
|
|
2130
2138
|
# verify if the player is connected to XBOX Live. The connection request also contains the necessary
|
|
2131
2139
|
# client public key to initiate encryption.
|
|
@@ -2155,7 +2163,7 @@ packet_set_last_hurt_by:
|
|
|
2155
2163
|
# player stops its typing 'session', rather than simply after closing the book.
|
|
2156
2164
|
packet_book_edit:
|
|
2157
2165
|
!id: 0x61
|
|
2158
|
-
!bound:
|
|
2166
|
+
!bound: server
|
|
2159
2167
|
type: u8 =>
|
|
2160
2168
|
0: replace_page
|
|
2161
2169
|
1: add_page
|
|
@@ -2198,6 +2206,7 @@ packet_npc_request:
|
|
|
2198
2206
|
3: set_name
|
|
2199
2207
|
4: set_skin
|
|
2200
2208
|
5: set_interaction_text
|
|
2209
|
+
6: execute_opening_commands
|
|
2201
2210
|
# CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
|
|
2202
2211
|
# what the player set in it.
|
|
2203
2212
|
command: string
|
|
@@ -2209,7 +2218,7 @@ packet_npc_request:
|
|
|
2209
2218
|
3: set_name
|
|
2210
2219
|
4: set_skin
|
|
2211
2220
|
5: set_interact_text
|
|
2212
|
-
6:
|
|
2221
|
+
6: execute_opening_commands
|
|
2213
2222
|
# SceneName is the name of the scene.
|
|
2214
2223
|
scene_name: string
|
|
2215
2224
|
|
|
@@ -2311,7 +2320,7 @@ packet_show_profile:
|
|
|
2311
2320
|
# in the settings UI.
|
|
2312
2321
|
packet_set_default_game_type:
|
|
2313
2322
|
!id: 0x69
|
|
2314
|
-
!bound:
|
|
2323
|
+
!bound: server
|
|
2315
2324
|
# GameType is the new game type that is set. When sent by the client, this is the requested new default
|
|
2316
2325
|
# game type.
|
|
2317
2326
|
gamemode: GameMode
|
|
@@ -2383,6 +2392,7 @@ packet_lab_table:
|
|
|
2383
2392
|
action_type: u8 =>
|
|
2384
2393
|
0: combine
|
|
2385
2394
|
1: react
|
|
2395
|
+
2: reset
|
|
2386
2396
|
# Position is the position at which the lab table used was located.
|
|
2387
2397
|
position: vec3i
|
|
2388
2398
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
@@ -2648,7 +2658,7 @@ packet_level_event_generic:
|
|
|
2648
2658
|
# or if the book should be removed from it.
|
|
2649
2659
|
packet_lectern_update:
|
|
2650
2660
|
!id: 0x7d
|
|
2651
|
-
!bound:
|
|
2661
|
+
!bound: server
|
|
2652
2662
|
# Page is the page number in the book that was opened by the player on the lectern.
|
|
2653
2663
|
page: u8
|
|
2654
2664
|
# PageCount is the number of pages that the book opened in the lectern has.
|
|
@@ -2665,7 +2675,9 @@ packet_video_stream_connect:
|
|
|
2665
2675
|
!bound: client
|
|
2666
2676
|
server_uri: string
|
|
2667
2677
|
frame_send_frequency: lf32
|
|
2668
|
-
action: u8
|
|
2678
|
+
action: u8 =>
|
|
2679
|
+
1: none
|
|
2680
|
+
2: close
|
|
2669
2681
|
resolution_x: li32
|
|
2670
2682
|
resolution_y: li32
|
|
2671
2683
|
|
|
@@ -2726,7 +2738,7 @@ packet_map_create_locked_copy:
|
|
|
2726
2738
|
# StructureTemplateDataRequest is sent by the client to request data of a structure.
|
|
2727
2739
|
packet_structure_template_data_export_request:
|
|
2728
2740
|
!id: 0x84
|
|
2729
|
-
!bound:
|
|
2741
|
+
!bound: server
|
|
2730
2742
|
# StructureName is the name of the structure that was set in the structure block's UI. This is the name
|
|
2731
2743
|
# used to export the structure to a file.
|
|
2732
2744
|
name: string
|
|
@@ -2766,7 +2778,7 @@ packet_update_block_properties:
|
|
|
2766
2778
|
# what blobs it needs and which blobs it already has, in an ACK type system.
|
|
2767
2779
|
packet_client_cache_blob_status:
|
|
2768
2780
|
!id: 0x87
|
|
2769
|
-
!bound:
|
|
2781
|
+
!bound: server
|
|
2770
2782
|
# The number of MISSes in this packet
|
|
2771
2783
|
misses: varint
|
|
2772
2784
|
# The number of HITs in this packet
|
|
@@ -3119,7 +3131,7 @@ ArmorDamageType: [ "bitflags",
|
|
|
3119
3131
|
# identical to the SetPlayerGameType packet.
|
|
3120
3132
|
packet_update_player_game_type:
|
|
3121
3133
|
!id: 0x97
|
|
3122
|
-
!bound:
|
|
3134
|
+
!bound: client
|
|
3123
3135
|
# GameType is the new game type of the player. It is one of the constants that can be found in
|
|
3124
3136
|
# set_player_game_type.go. Some of these game types require additional flags to be set in an
|
|
3125
3137
|
# AdventureSettings packet for the game mode to obtain its full functionality.
|
|
@@ -3302,7 +3314,7 @@ packet_item_component:
|
|
|
3302
3314
|
# safer version of the text.
|
|
3303
3315
|
packet_filter_text_packet:
|
|
3304
3316
|
!id: 0xa3
|
|
3305
|
-
!bound:
|
|
3317
|
+
!bound: both
|
|
3306
3318
|
# Text is either the text from the client or the safer version of the text sent by the server.
|
|
3307
3319
|
text: string
|
|
3308
3320
|
# FromServer indicates if the packet was sent by the server or not.
|
|
@@ -3378,6 +3390,7 @@ packet_simulation_type:
|
|
|
3378
3390
|
# NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.
|
|
3379
3391
|
packet_npc_dialogue:
|
|
3380
3392
|
!id: 0xa9
|
|
3393
|
+
!bound: client
|
|
3381
3394
|
# ActorUniqueID is the ID of the NPC being requested.
|
|
3382
3395
|
entity_id: lu64
|
|
3383
3396
|
# ActionType is the type of action for the packet.
|
|
@@ -3401,6 +3414,7 @@ packet_edu_uri_resource_packet:
|
|
|
3401
3414
|
# This packet only works on the Education Edition version of Minecraft.
|
|
3402
3415
|
packet_create_photo:
|
|
3403
3416
|
!id: 0xab
|
|
3417
|
+
!bound: client
|
|
3404
3418
|
# EntityUniqueID is the unique ID of the entity.
|
|
3405
3419
|
entity_unique_id: li64
|
|
3406
3420
|
# PhotoName is the name of the photo.
|
|
@@ -3411,6 +3425,7 @@ packet_create_photo:
|
|
|
3411
3425
|
# UpdateSubChunkBlocks is essentially just UpdateBlock packet, however for a set of blocks in a sub chunk.
|
|
3412
3426
|
packet_update_subchunk_blocks:
|
|
3413
3427
|
!id: 0xac
|
|
3428
|
+
!bound: client
|
|
3414
3429
|
# SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.
|
|
3415
3430
|
x: zigzag32
|
|
3416
3431
|
y: zigzag32
|
|
@@ -3422,6 +3437,7 @@ packet_update_subchunk_blocks:
|
|
|
3422
3437
|
|
|
3423
3438
|
packet_photo_info_request:
|
|
3424
3439
|
!id: 0xad
|
|
3440
|
+
!bound: server
|
|
3425
3441
|
photo_id: zigzag64
|
|
3426
3442
|
|
|
3427
3443
|
SubChunkEntryWithoutCaching: []lu32
|
|
@@ -3517,7 +3533,7 @@ packet_script_message:
|
|
|
3517
3533
|
# CodeBuilderSource is an Education Edition packet sent by the client to the server to run an operation with a
|
|
3518
3534
|
packet_code_builder_source:
|
|
3519
3535
|
!id: 0xb2
|
|
3520
|
-
!bound:
|
|
3536
|
+
!bound: server
|
|
3521
3537
|
# Operation is used to distinguish the operation performed. It is always one of the constants listed above.
|
|
3522
3538
|
operation: u8 =>
|
|
3523
3539
|
- none
|
|
@@ -3606,6 +3622,7 @@ packet_change_mob_property:
|
|
|
3606
3622
|
# This packet only functions on the Minecraft: Education Edition version of the game.
|
|
3607
3623
|
packet_lesson_progress:
|
|
3608
3624
|
!id: 0xb7
|
|
3625
|
+
!bound: client
|
|
3609
3626
|
# Action is the action the client should perform to show progress. This is one of the constants defined above.
|
|
3610
3627
|
action: u8
|
|
3611
3628
|
# Score is the score the client should use when displaying the progress.
|
|
@@ -3767,6 +3784,7 @@ packet_request_network_settings:
|
|
|
3767
3784
|
|
|
3768
3785
|
packet_game_test_request:
|
|
3769
3786
|
!id: 0xc2
|
|
3787
|
+
!bound: server
|
|
3770
3788
|
# MaxTestsPerBatch ...
|
|
3771
3789
|
max_tests_per_batch: varint
|
|
3772
3790
|
# Repetitions represents the amount of times the test will be run.
|
|
@@ -3791,6 +3809,7 @@ packet_game_test_request:
|
|
|
3791
3809
|
# test was successful or not, and an error string if the test failed.
|
|
3792
3810
|
packet_game_test_results:
|
|
3793
3811
|
!id: 0xc3
|
|
3812
|
+
!bound: client
|
|
3794
3813
|
# Succeeded indicates whether the test succeeded or not.
|
|
3795
3814
|
succeeded: bool
|
|
3796
3815
|
# Error is the error that occurred. If Succeeded is true, this field is empty.
|
|
@@ -5583,7 +5583,17 @@
|
|
|
5583
5583
|
},
|
|
5584
5584
|
{
|
|
5585
5585
|
"name": "event_id",
|
|
5586
|
-
"type":
|
|
5586
|
+
"type": [
|
|
5587
|
+
"mapper",
|
|
5588
|
+
{
|
|
5589
|
+
"type": "u8",
|
|
5590
|
+
"mappings": {
|
|
5591
|
+
"1": "add",
|
|
5592
|
+
"2": "update",
|
|
5593
|
+
"3": "remove"
|
|
5594
|
+
}
|
|
5595
|
+
}
|
|
5596
|
+
]
|
|
5587
5597
|
},
|
|
5588
5598
|
{
|
|
5589
5599
|
"name": "effect_id",
|
|
@@ -5691,6 +5701,7 @@
|
|
|
5691
5701
|
"mappings": {
|
|
5692
5702
|
"3": "leave_vehicle",
|
|
5693
5703
|
"4": "mouse_over_entity",
|
|
5704
|
+
"5": "npc_open",
|
|
5694
5705
|
"6": "open_inventory"
|
|
5695
5706
|
}
|
|
5696
5707
|
}
|
|
@@ -6332,7 +6343,18 @@
|
|
|
6332
6343
|
[
|
|
6333
6344
|
{
|
|
6334
6345
|
"name": "event_type",
|
|
6335
|
-
"type":
|
|
6346
|
+
"type": [
|
|
6347
|
+
"mapper",
|
|
6348
|
+
{
|
|
6349
|
+
"type": "lu16",
|
|
6350
|
+
"mappings": {
|
|
6351
|
+
"0": "uninitialized_subtype",
|
|
6352
|
+
"1": "enable_commands",
|
|
6353
|
+
"2": "disable_commands",
|
|
6354
|
+
"3": "unlock_world_template_settings"
|
|
6355
|
+
}
|
|
6356
|
+
}
|
|
6357
|
+
]
|
|
6336
6358
|
}
|
|
6337
6359
|
]
|
|
6338
6360
|
],
|
|
@@ -7733,7 +7755,8 @@
|
|
|
7733
7755
|
"2": "execute_closing_commands",
|
|
7734
7756
|
"3": "set_name",
|
|
7735
7757
|
"4": "set_skin",
|
|
7736
|
-
"5": "set_interaction_text"
|
|
7758
|
+
"5": "set_interaction_text",
|
|
7759
|
+
"6": "execute_opening_commands"
|
|
7737
7760
|
}
|
|
7738
7761
|
}
|
|
7739
7762
|
]
|
|
@@ -7755,7 +7778,7 @@
|
|
|
7755
7778
|
"3": "set_name",
|
|
7756
7779
|
"4": "set_skin",
|
|
7757
7780
|
"5": "set_interact_text",
|
|
7758
|
-
"6": "
|
|
7781
|
+
"6": "execute_opening_commands"
|
|
7759
7782
|
}
|
|
7760
7783
|
}
|
|
7761
7784
|
]
|
|
@@ -8054,7 +8077,8 @@
|
|
|
8054
8077
|
"type": "u8",
|
|
8055
8078
|
"mappings": {
|
|
8056
8079
|
"0": "combine",
|
|
8057
|
-
"1": "react"
|
|
8080
|
+
"1": "react",
|
|
8081
|
+
"2": "reset"
|
|
8058
8082
|
}
|
|
8059
8083
|
}
|
|
8060
8084
|
]
|
|
@@ -8470,7 +8494,16 @@
|
|
|
8470
8494
|
},
|
|
8471
8495
|
{
|
|
8472
8496
|
"name": "action",
|
|
8473
|
-
"type":
|
|
8497
|
+
"type": [
|
|
8498
|
+
"mapper",
|
|
8499
|
+
{
|
|
8500
|
+
"type": "u8",
|
|
8501
|
+
"mappings": {
|
|
8502
|
+
"1": "none",
|
|
8503
|
+
"2": "close"
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
]
|
|
8474
8507
|
},
|
|
8475
8508
|
{
|
|
8476
8509
|
"name": "resolution_x",
|
|
@@ -960,7 +960,10 @@ packet_mob_effect:
|
|
|
960
960
|
!id: 0x1c
|
|
961
961
|
!bound: client
|
|
962
962
|
runtime_entity_id: varint64
|
|
963
|
-
event_id: u8
|
|
963
|
+
event_id: u8 =>
|
|
964
|
+
1: add
|
|
965
|
+
2: update
|
|
966
|
+
3: remove
|
|
964
967
|
effect_id: zigzag32
|
|
965
968
|
amplifier: zigzag32
|
|
966
969
|
particles: bool
|
|
@@ -1010,6 +1013,7 @@ packet_interact:
|
|
|
1010
1013
|
action_id: u8 =>
|
|
1011
1014
|
3: leave_vehicle
|
|
1012
1015
|
4: mouse_over_entity
|
|
1016
|
+
5: npc_open
|
|
1013
1017
|
6: open_inventory
|
|
1014
1018
|
# TargetEntityRuntimeID is the runtime ID of the entity that the player interacted with. This is empty
|
|
1015
1019
|
# for the InteractActionOpenInventory action type.
|
|
@@ -1428,7 +1432,11 @@ packet_player_list:
|
|
|
1428
1432
|
packet_simple_event:
|
|
1429
1433
|
!id: 0x40
|
|
1430
1434
|
!bound: client
|
|
1431
|
-
event_type: lu16
|
|
1435
|
+
event_type: lu16 =>
|
|
1436
|
+
0: uninitialized_subtype
|
|
1437
|
+
1: enable_commands
|
|
1438
|
+
2: disable_commands
|
|
1439
|
+
3: unlock_world_template_settings
|
|
1432
1440
|
|
|
1433
1441
|
# Event is sent by the server to send an event with additional data. It is typically sent to the client for
|
|
1434
1442
|
# telemetry reasons, much like the SimpleEvent packet.
|
|
@@ -2135,7 +2143,7 @@ packet_player_skin:
|
|
|
2135
2143
|
# connects sends a SubClientLogin to request their own login.
|
|
2136
2144
|
packet_sub_client_login:
|
|
2137
2145
|
!id: 0x5e
|
|
2138
|
-
!bound:
|
|
2146
|
+
!bound: server
|
|
2139
2147
|
# ConnectionRequest is a string containing information about the player and JWTs that may be used to
|
|
2140
2148
|
# verify if the player is connected to XBOX Live. The connection request also contains the necessary
|
|
2141
2149
|
# client public key to initiate encryption.
|
|
@@ -2165,7 +2173,7 @@ packet_set_last_hurt_by:
|
|
|
2165
2173
|
# player stops its typing 'session', rather than simply after closing the book.
|
|
2166
2174
|
packet_book_edit:
|
|
2167
2175
|
!id: 0x61
|
|
2168
|
-
!bound:
|
|
2176
|
+
!bound: server
|
|
2169
2177
|
type: u8 =>
|
|
2170
2178
|
0: replace_page
|
|
2171
2179
|
1: add_page
|
|
@@ -2208,6 +2216,7 @@ packet_npc_request:
|
|
|
2208
2216
|
3: set_name
|
|
2209
2217
|
4: set_skin
|
|
2210
2218
|
5: set_interaction_text
|
|
2219
|
+
6: execute_opening_commands
|
|
2211
2220
|
# CommandString is the command string set in the NPC. It may consist of multiple commands, depending on
|
|
2212
2221
|
# what the player set in it.
|
|
2213
2222
|
command: string
|
|
@@ -2219,7 +2228,7 @@ packet_npc_request:
|
|
|
2219
2228
|
3: set_name
|
|
2220
2229
|
4: set_skin
|
|
2221
2230
|
5: set_interact_text
|
|
2222
|
-
6:
|
|
2231
|
+
6: execute_opening_commands
|
|
2223
2232
|
# SceneName is the name of the scene.
|
|
2224
2233
|
scene_name: string
|
|
2225
2234
|
|
|
@@ -2321,7 +2330,7 @@ packet_show_profile:
|
|
|
2321
2330
|
# in the settings UI.
|
|
2322
2331
|
packet_set_default_game_type:
|
|
2323
2332
|
!id: 0x69
|
|
2324
|
-
!bound:
|
|
2333
|
+
!bound: server
|
|
2325
2334
|
# GameType is the new game type that is set. When sent by the client, this is the requested new default
|
|
2326
2335
|
# game type.
|
|
2327
2336
|
gamemode: GameMode
|
|
@@ -2393,6 +2402,7 @@ packet_lab_table:
|
|
|
2393
2402
|
action_type: u8 =>
|
|
2394
2403
|
0: combine
|
|
2395
2404
|
1: react
|
|
2405
|
+
2: reset
|
|
2396
2406
|
# Position is the position at which the lab table used was located.
|
|
2397
2407
|
position: vec3i
|
|
2398
2408
|
# ReactionType is the type of the reaction that took place as a result of the items put into the lab
|
|
@@ -2658,7 +2668,7 @@ packet_level_event_generic:
|
|
|
2658
2668
|
# or if the book should be removed from it.
|
|
2659
2669
|
packet_lectern_update:
|
|
2660
2670
|
!id: 0x7d
|
|
2661
|
-
!bound:
|
|
2671
|
+
!bound: server
|
|
2662
2672
|
# Page is the page number in the book that was opened by the player on the lectern.
|
|
2663
2673
|
page: u8
|
|
2664
2674
|
# PageCount is the number of pages that the book opened in the lectern has.
|
|
@@ -2675,7 +2685,9 @@ packet_video_stream_connect:
|
|
|
2675
2685
|
!bound: client
|
|
2676
2686
|
server_uri: string
|
|
2677
2687
|
frame_send_frequency: lf32
|
|
2678
|
-
action: u8
|
|
2688
|
+
action: u8 =>
|
|
2689
|
+
1: none
|
|
2690
|
+
2: close
|
|
2679
2691
|
resolution_x: li32
|
|
2680
2692
|
resolution_y: li32
|
|
2681
2693
|
|
|
@@ -2736,7 +2748,7 @@ packet_map_create_locked_copy:
|
|
|
2736
2748
|
# StructureTemplateDataRequest is sent by the client to request data of a structure.
|
|
2737
2749
|
packet_structure_template_data_export_request:
|
|
2738
2750
|
!id: 0x84
|
|
2739
|
-
!bound:
|
|
2751
|
+
!bound: server
|
|
2740
2752
|
# StructureName is the name of the structure that was set in the structure block's UI. This is the name
|
|
2741
2753
|
# used to export the structure to a file.
|
|
2742
2754
|
name: string
|
|
@@ -2776,7 +2788,7 @@ packet_update_block_properties:
|
|
|
2776
2788
|
# what blobs it needs and which blobs it already has, in an ACK type system.
|
|
2777
2789
|
packet_client_cache_blob_status:
|
|
2778
2790
|
!id: 0x87
|
|
2779
|
-
!bound:
|
|
2791
|
+
!bound: server
|
|
2780
2792
|
# The number of MISSes in this packet
|
|
2781
2793
|
misses: varint
|
|
2782
2794
|
# The number of HITs in this packet
|
|
@@ -3129,7 +3141,7 @@ ArmorDamageType: [ "bitflags",
|
|
|
3129
3141
|
# identical to the SetPlayerGameType packet.
|
|
3130
3142
|
packet_update_player_game_type:
|
|
3131
3143
|
!id: 0x97
|
|
3132
|
-
!bound:
|
|
3144
|
+
!bound: client
|
|
3133
3145
|
# GameType is the new game type of the player. It is one of the constants that can be found in
|
|
3134
3146
|
# set_player_game_type.go. Some of these game types require additional flags to be set in an
|
|
3135
3147
|
# AdventureSettings packet for the game mode to obtain its full functionality.
|
|
@@ -3312,7 +3324,7 @@ packet_item_component:
|
|
|
3312
3324
|
# safer version of the text.
|
|
3313
3325
|
packet_filter_text_packet:
|
|
3314
3326
|
!id: 0xa3
|
|
3315
|
-
!bound:
|
|
3327
|
+
!bound: both
|
|
3316
3328
|
# Text is either the text from the client or the safer version of the text sent by the server.
|
|
3317
3329
|
text: string
|
|
3318
3330
|
# FromServer indicates if the packet was sent by the server or not.
|
|
@@ -3388,6 +3400,7 @@ packet_simulation_type:
|
|
|
3388
3400
|
# NPCDialogue is a packet that allows the client to display dialog boxes for interacting with NPCs.
|
|
3389
3401
|
packet_npc_dialogue:
|
|
3390
3402
|
!id: 0xa9
|
|
3403
|
+
!bound: client
|
|
3391
3404
|
# ActorUniqueID is the ID of the NPC being requested.
|
|
3392
3405
|
entity_id: lu64
|
|
3393
3406
|
# ActionType is the type of action for the packet.
|
|
@@ -3411,6 +3424,7 @@ packet_edu_uri_resource_packet:
|
|
|
3411
3424
|
# This packet only works on the Education Edition version of Minecraft.
|
|
3412
3425
|
packet_create_photo:
|
|
3413
3426
|
!id: 0xab
|
|
3427
|
+
!bound: client
|
|
3414
3428
|
# EntityUniqueID is the unique ID of the entity.
|
|
3415
3429
|
entity_unique_id: li64
|
|
3416
3430
|
# PhotoName is the name of the photo.
|
|
@@ -3421,6 +3435,7 @@ packet_create_photo:
|
|
|
3421
3435
|
# UpdateSubChunkBlocks is essentially just UpdateBlock packet, however for a set of blocks in a sub chunk.
|
|
3422
3436
|
packet_update_subchunk_blocks:
|
|
3423
3437
|
!id: 0xac
|
|
3438
|
+
!bound: client
|
|
3424
3439
|
# SubChunkX, SubChunkY, and SubChunkZ help identify the sub chunk.
|
|
3425
3440
|
x: zigzag32
|
|
3426
3441
|
y: zigzag32
|
|
@@ -3432,6 +3447,7 @@ packet_update_subchunk_blocks:
|
|
|
3432
3447
|
|
|
3433
3448
|
packet_photo_info_request:
|
|
3434
3449
|
!id: 0xad
|
|
3450
|
+
!bound: server
|
|
3435
3451
|
photo_id: zigzag64
|
|
3436
3452
|
|
|
3437
3453
|
SubChunkEntryWithoutCaching: []lu32
|
|
@@ -3527,7 +3543,7 @@ packet_script_message:
|
|
|
3527
3543
|
# CodeBuilderSource is an Education Edition packet sent by the client to the server to run an operation with a
|
|
3528
3544
|
packet_code_builder_source:
|
|
3529
3545
|
!id: 0xb2
|
|
3530
|
-
!bound:
|
|
3546
|
+
!bound: server
|
|
3531
3547
|
# Operation is used to distinguish the operation performed. It is always one of the constants listed above.
|
|
3532
3548
|
operation: u8 =>
|
|
3533
3549
|
- none
|
|
@@ -3616,6 +3632,7 @@ packet_change_mob_property:
|
|
|
3616
3632
|
# This packet only functions on the Minecraft: Education Edition version of the game.
|
|
3617
3633
|
packet_lesson_progress:
|
|
3618
3634
|
!id: 0xb7
|
|
3635
|
+
!bound: client
|
|
3619
3636
|
# Action is the action the client should perform to show progress. This is one of the constants defined above.
|
|
3620
3637
|
action: u8
|
|
3621
3638
|
# Score is the score the client should use when displaying the progress.
|
|
@@ -3777,6 +3794,7 @@ packet_request_network_settings:
|
|
|
3777
3794
|
|
|
3778
3795
|
packet_game_test_request:
|
|
3779
3796
|
!id: 0xc2
|
|
3797
|
+
!bound: server
|
|
3780
3798
|
# MaxTestsPerBatch ...
|
|
3781
3799
|
max_tests_per_batch: varint
|
|
3782
3800
|
# Repetitions represents the amount of times the test will be run.
|
|
@@ -3801,6 +3819,7 @@ packet_game_test_request:
|
|
|
3801
3819
|
# test was successful or not, and an error string if the test failed.
|
|
3802
3820
|
packet_game_test_results:
|
|
3803
3821
|
!id: 0xc3
|
|
3822
|
+
!bound: client
|
|
3804
3823
|
# Succeeded indicates whether the test succeeded or not.
|
|
3805
3824
|
succeeded: bool
|
|
3806
3825
|
# Error is the error that occurred. If Succeeded is true, this field is empty.
|
|
@@ -5648,7 +5648,17 @@
|
|
|
5648
5648
|
},
|
|
5649
5649
|
{
|
|
5650
5650
|
"name": "event_id",
|
|
5651
|
-
"type":
|
|
5651
|
+
"type": [
|
|
5652
|
+
"mapper",
|
|
5653
|
+
{
|
|
5654
|
+
"type": "u8",
|
|
5655
|
+
"mappings": {
|
|
5656
|
+
"1": "add",
|
|
5657
|
+
"2": "update",
|
|
5658
|
+
"3": "remove"
|
|
5659
|
+
}
|
|
5660
|
+
}
|
|
5661
|
+
]
|
|
5652
5662
|
},
|
|
5653
5663
|
{
|
|
5654
5664
|
"name": "effect_id",
|
|
@@ -5756,6 +5766,7 @@
|
|
|
5756
5766
|
"mappings": {
|
|
5757
5767
|
"3": "leave_vehicle",
|
|
5758
5768
|
"4": "mouse_over_entity",
|
|
5769
|
+
"5": "npc_open",
|
|
5759
5770
|
"6": "open_inventory"
|
|
5760
5771
|
}
|
|
5761
5772
|
}
|
|
@@ -6401,7 +6412,18 @@
|
|
|
6401
6412
|
[
|
|
6402
6413
|
{
|
|
6403
6414
|
"name": "event_type",
|
|
6404
|
-
"type":
|
|
6415
|
+
"type": [
|
|
6416
|
+
"mapper",
|
|
6417
|
+
{
|
|
6418
|
+
"type": "lu16",
|
|
6419
|
+
"mappings": {
|
|
6420
|
+
"0": "uninitialized_subtype",
|
|
6421
|
+
"1": "enable_commands",
|
|
6422
|
+
"2": "disable_commands",
|
|
6423
|
+
"3": "unlock_world_template_settings"
|
|
6424
|
+
}
|
|
6425
|
+
}
|
|
6426
|
+
]
|
|
6405
6427
|
}
|
|
6406
6428
|
]
|
|
6407
6429
|
],
|
|
@@ -7802,7 +7824,8 @@
|
|
|
7802
7824
|
"2": "execute_closing_commands",
|
|
7803
7825
|
"3": "set_name",
|
|
7804
7826
|
"4": "set_skin",
|
|
7805
|
-
"5": "set_interaction_text"
|
|
7827
|
+
"5": "set_interaction_text",
|
|
7828
|
+
"6": "execute_opening_commands"
|
|
7806
7829
|
}
|
|
7807
7830
|
}
|
|
7808
7831
|
]
|
|
@@ -7824,7 +7847,7 @@
|
|
|
7824
7847
|
"3": "set_name",
|
|
7825
7848
|
"4": "set_skin",
|
|
7826
7849
|
"5": "set_interact_text",
|
|
7827
|
-
"6": "
|
|
7850
|
+
"6": "execute_opening_commands"
|
|
7828
7851
|
}
|
|
7829
7852
|
}
|
|
7830
7853
|
]
|
|
@@ -8123,7 +8146,8 @@
|
|
|
8123
8146
|
"type": "u8",
|
|
8124
8147
|
"mappings": {
|
|
8125
8148
|
"0": "combine",
|
|
8126
|
-
"1": "react"
|
|
8149
|
+
"1": "react",
|
|
8150
|
+
"2": "reset"
|
|
8127
8151
|
}
|
|
8128
8152
|
}
|
|
8129
8153
|
]
|
|
@@ -8539,7 +8563,16 @@
|
|
|
8539
8563
|
},
|
|
8540
8564
|
{
|
|
8541
8565
|
"name": "action",
|
|
8542
|
-
"type":
|
|
8566
|
+
"type": [
|
|
8567
|
+
"mapper",
|
|
8568
|
+
{
|
|
8569
|
+
"type": "u8",
|
|
8570
|
+
"mappings": {
|
|
8571
|
+
"1": "none",
|
|
8572
|
+
"2": "close"
|
|
8573
|
+
}
|
|
8574
|
+
}
|
|
8575
|
+
]
|
|
8543
8576
|
},
|
|
8544
8577
|
{
|
|
8545
8578
|
"name": "resolution_x",
|