minecraft-data 3.83.0 → 3.84.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/.github/workflows/ci.yml +2 -2
- package/.github/workflows/npm-publish.yml +1 -1
- package/data.js +23 -1
- package/doc/history.md +8 -0
- package/minecraft-data/.github/workflows/bedrock-ci.yml +2 -2
- package/minecraft-data/.github/workflows/build-gh-pages.yml +2 -2
- package/minecraft-data/.github/workflows/ci.yml +1 -1
- package/minecraft-data/.github/workflows/update-helper.yml +1 -1
- package/minecraft-data/README.md +1 -1
- package/minecraft-data/data/bedrock/1.16.201/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.16.201/types.yml +13 -0
- package/minecraft-data/data/bedrock/1.16.210/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.16.210/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.16.210/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.16.220/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.16.220/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.16.220/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.0/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.17.0/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.0/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.10/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.17.10/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.10/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.30/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.17.30/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.17.40/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.17.40/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.18.0/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.18.0/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.18.0/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.18.11/proto.yml +10 -0
- package/minecraft-data/data/bedrock/1.18.11/protocol.json +11 -10
- package/minecraft-data/data/bedrock/1.18.11/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.18.30/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.18.30/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.18.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.1/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.1/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.1/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.10/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.10/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.10/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.20/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.20/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.20/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.21/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.21/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.21/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.30/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.30/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.40/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.40/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.40/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.50/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.50/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.50/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.60/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.60/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.60/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.62/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.62/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.62/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.70/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.70/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.70/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.19.80/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.19.80/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.19.80/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.0/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.20.0/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.0/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.10/proto.yml +11 -2
- package/minecraft-data/data/bedrock/1.20.10/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.10/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.30/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.30/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.30/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.40/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.40/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.40/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.50/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.50/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.50/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.61/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.61/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.61/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.71/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.71/protocol.json +15 -11
- package/minecraft-data/data/bedrock/1.20.71/types.yml +30 -10
- package/minecraft-data/data/bedrock/1.20.80/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.20.80/protocol.json +22 -12
- package/minecraft-data/data/bedrock/1.20.80/types.yml +36 -10
- package/minecraft-data/data/bedrock/1.21.0/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.0/protocol.json +34 -25
- package/minecraft-data/data/bedrock/1.21.0/types.yml +48 -23
- package/minecraft-data/data/bedrock/1.21.2/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.2/protocol.json +34 -25
- package/minecraft-data/data/bedrock/1.21.2/types.yml +48 -23
- package/minecraft-data/data/bedrock/1.21.20/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.20/protocol.json +35 -25
- package/minecraft-data/data/bedrock/1.21.20/types.yml +49 -23
- package/minecraft-data/data/bedrock/1.21.30/proto.yml +43 -34
- package/minecraft-data/data/bedrock/1.21.30/protocol.json +37 -25
- package/minecraft-data/data/bedrock/1.21.30/types.yml +51 -23
- package/minecraft-data/data/bedrock/1.21.42/proto.yml +44 -34
- package/minecraft-data/data/bedrock/1.21.42/protocol.json +44 -25
- package/minecraft-data/data/bedrock/1.21.42/types.yml +51 -23
- package/minecraft-data/data/bedrock/1.21.50/proto.yml +4410 -0
- package/minecraft-data/data/bedrock/1.21.50/protocol.json +44 -25
- package/minecraft-data/data/bedrock/1.21.50/types.yml +2466 -0
- package/minecraft-data/data/bedrock/1.21.60/language.json +10840 -0
- package/minecraft-data/data/bedrock/1.21.60/protocol.json +13244 -0
- package/minecraft-data/data/bedrock/1.21.60/version.json +6 -0
- package/minecraft-data/data/bedrock/common/features.json +5 -0
- package/minecraft-data/data/bedrock/common/protocolVersions.json +6 -0
- package/minecraft-data/data/bedrock/common/versions.json +2 -1
- package/minecraft-data/data/bedrock/latest/proto.yml +123 -46
- package/minecraft-data/data/bedrock/latest/types.yml +72 -33
- package/minecraft-data/data/dataPaths.json +24 -2
- package/minecraft-data/data/pc/1.21.4/entities.json +2813 -175
- package/minecraft-data/data/pc/common/protocolVersions.json +32 -0
- package/minecraft-data/doc/history.md +12 -0
- package/minecraft-data/tools/js/extractPcEntityMetadata.js +1 -1
- package/package.json +1 -1
|
@@ -738,8 +738,9 @@
|
|
|
738
738
|
"16": "minecart_display_block",
|
|
739
739
|
"17": "minecart_display_offset",
|
|
740
740
|
"18": "minecart_has_display",
|
|
741
|
-
"
|
|
742
|
-
"
|
|
741
|
+
"19": "horse_type",
|
|
742
|
+
"20": "creeper_swell",
|
|
743
|
+
"21": "creeper_swell_direction",
|
|
743
744
|
"22": "charge_amount",
|
|
744
745
|
"23": "enderman_held_runtime_id",
|
|
745
746
|
"24": "entity_age",
|
|
@@ -769,7 +770,7 @@
|
|
|
769
770
|
"49": "wither_target_1",
|
|
770
771
|
"50": "wither_target_2",
|
|
771
772
|
"51": "wither_target_3",
|
|
772
|
-
"52": "
|
|
773
|
+
"52": "wither_aerial_attack",
|
|
773
774
|
"53": "boundingbox_width",
|
|
774
775
|
"54": "boundingbox_height",
|
|
775
776
|
"55": "fuse_length",
|
|
@@ -777,7 +778,7 @@
|
|
|
777
778
|
"57": "rider_rotation_locked",
|
|
778
779
|
"58": "rider_max_rotation",
|
|
779
780
|
"59": "rider_min_rotation",
|
|
780
|
-
"60": "
|
|
781
|
+
"60": "rider_seat_rotation_offset",
|
|
781
782
|
"61": "area_effect_cloud_radius",
|
|
782
783
|
"62": "area_effect_cloud_waiting",
|
|
783
784
|
"63": "area_effect_cloud_particle_id",
|
|
@@ -794,7 +795,7 @@
|
|
|
794
795
|
"74": "controlling_rider_seat_number",
|
|
795
796
|
"75": "strength",
|
|
796
797
|
"76": "max_strength",
|
|
797
|
-
"77": "
|
|
798
|
+
"77": "evoker_spell_casting_color",
|
|
798
799
|
"78": "limited_life",
|
|
799
800
|
"79": "armor_stand_pose_index",
|
|
800
801
|
"80": "ender_crystal_time_offset",
|
|
@@ -812,11 +813,11 @@
|
|
|
812
813
|
"92": "flags_extended",
|
|
813
814
|
"93": "laying_amount",
|
|
814
815
|
"94": "laying_amount_previous",
|
|
815
|
-
"95": "
|
|
816
|
-
"96": "
|
|
817
|
-
"97": "
|
|
818
|
-
"98": "
|
|
819
|
-
"99": "
|
|
816
|
+
"95": "area_effect_cloud_duration",
|
|
817
|
+
"96": "area_effect_cloud_spawn_time",
|
|
818
|
+
"97": "area_effect_cloud_change_rate",
|
|
819
|
+
"98": "area_effect_cloud_change_on_pickup",
|
|
820
|
+
"99": "area_effect_cloud_pickup_count",
|
|
820
821
|
"100": "interact_text",
|
|
821
822
|
"101": "trade_tier",
|
|
822
823
|
"102": "max_trade_tier",
|
|
@@ -837,19 +838,18 @@
|
|
|
837
838
|
"117": "nearby_cured_discount_timestamp",
|
|
838
839
|
"118": "hitbox",
|
|
839
840
|
"119": "is_buoyant",
|
|
840
|
-
"120": "
|
|
841
|
-
"121": "
|
|
842
|
-
"122": "
|
|
843
|
-
"123": "
|
|
844
|
-
"124": "
|
|
845
|
-
"125": "
|
|
846
|
-
"126": "
|
|
847
|
-
"127": "
|
|
848
|
-
"128": "
|
|
849
|
-
"129": "
|
|
850
|
-
"130": "
|
|
851
|
-
"131": "
|
|
852
|
-
"132": "visible_mob_effects"
|
|
841
|
+
"120": "freezing_effect_strength",
|
|
842
|
+
"121": "buoyancy_data",
|
|
843
|
+
"122": "goat_horn_count",
|
|
844
|
+
"123": "update_properties",
|
|
845
|
+
"124": "movement_sound_distance_offset",
|
|
846
|
+
"125": "heartbeat_interval_ticks",
|
|
847
|
+
"126": "heartbeat_sound_event",
|
|
848
|
+
"127": "player_last_death_position",
|
|
849
|
+
"128": "player_last_death_dimension",
|
|
850
|
+
"129": "player_has_died",
|
|
851
|
+
"130": "collision_box",
|
|
852
|
+
"131": "visible_mob_effects"
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
]
|
|
@@ -4581,7 +4581,13 @@
|
|
|
4581
4581
|
"105": "world_transfer_not_primary_client",
|
|
4582
4582
|
"106": "server_shutdown",
|
|
4583
4583
|
"107": "game_setup_cancelled",
|
|
4584
|
-
"108": "game_setup_failed"
|
|
4584
|
+
"108": "game_setup_failed",
|
|
4585
|
+
"109": "no_venue",
|
|
4586
|
+
"110": "conn_signalling_sign_in_failed",
|
|
4587
|
+
"111": "session_access_denied",
|
|
4588
|
+
"112": "service_sign_in_issue",
|
|
4589
|
+
"113": "conn_no_signaling_channel",
|
|
4590
|
+
"114": "conn_not_logged_in"
|
|
4585
4591
|
}
|
|
4586
4592
|
}
|
|
4587
4593
|
],
|
|
@@ -9498,7 +9504,10 @@
|
|
|
9498
9504
|
},
|
|
9499
9505
|
{
|
|
9500
9506
|
"name": "molang_variables",
|
|
9501
|
-
"type":
|
|
9507
|
+
"type": [
|
|
9508
|
+
"option",
|
|
9509
|
+
"string"
|
|
9510
|
+
]
|
|
9502
9511
|
}
|
|
9503
9512
|
]
|
|
9504
9513
|
],
|
|
@@ -200,8 +200,9 @@ MetadataDictionary: []varint
|
|
|
200
200
|
16: minecart_display_block #int (id | (data << 16))
|
|
201
201
|
17: minecart_display_offset #int
|
|
202
202
|
18: minecart_has_display #byte (must be 1 for minecart to show block inside)
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
19: horse_type
|
|
204
|
+
20: creeper_swell
|
|
205
|
+
21: creeper_swell_direction
|
|
205
206
|
22: charge_amount
|
|
206
207
|
23: enderman_held_runtime_id #short
|
|
207
208
|
24: entity_age #short
|
|
@@ -231,7 +232,7 @@ MetadataDictionary: []varint
|
|
|
231
232
|
49: wither_target_1 #long
|
|
232
233
|
50: wither_target_2 #long
|
|
233
234
|
51: wither_target_3 #long
|
|
234
|
-
52:
|
|
235
|
+
52: wither_aerial_attack
|
|
235
236
|
53: boundingbox_width
|
|
236
237
|
54: boundingbox_height
|
|
237
238
|
55: fuse_length
|
|
@@ -239,7 +240,7 @@ MetadataDictionary: []varint
|
|
|
239
240
|
57: rider_rotation_locked #byte
|
|
240
241
|
58: rider_max_rotation #float
|
|
241
242
|
59: rider_min_rotation #float
|
|
242
|
-
60:
|
|
243
|
+
60: rider_seat_rotation_offset
|
|
243
244
|
61: area_effect_cloud_radius #float
|
|
244
245
|
62: area_effect_cloud_waiting #int
|
|
245
246
|
63: area_effect_cloud_particle_id #int
|
|
@@ -256,7 +257,7 @@ MetadataDictionary: []varint
|
|
|
256
257
|
74: controlling_rider_seat_number #byte
|
|
257
258
|
75: strength #int
|
|
258
259
|
76: max_strength #int
|
|
259
|
-
77:
|
|
260
|
+
77: evoker_spell_casting_color #int
|
|
260
261
|
78: limited_life
|
|
261
262
|
79: armor_stand_pose_index # int
|
|
262
263
|
80: ender_crystal_time_offset # int
|
|
@@ -274,11 +275,11 @@ MetadataDictionary: []varint
|
|
|
274
275
|
92: flags_extended
|
|
275
276
|
93: laying_amount
|
|
276
277
|
94: laying_amount_previous
|
|
277
|
-
95:
|
|
278
|
-
96:
|
|
279
|
-
97:
|
|
280
|
-
98:
|
|
281
|
-
99:
|
|
278
|
+
95: area_effect_cloud_duration
|
|
279
|
+
96: area_effect_cloud_spawn_time
|
|
280
|
+
97: area_effect_cloud_change_rate
|
|
281
|
+
98: area_effect_cloud_change_on_pickup
|
|
282
|
+
99: area_effect_cloud_pickup_count
|
|
282
283
|
100: interact_text
|
|
283
284
|
101: trade_tier
|
|
284
285
|
102: max_trade_tier
|
|
@@ -299,19 +300,18 @@ MetadataDictionary: []varint
|
|
|
299
300
|
117: nearby_cured_discount_timestamp
|
|
300
301
|
118: hitbox
|
|
301
302
|
119: is_buoyant
|
|
302
|
-
120:
|
|
303
|
-
121:
|
|
304
|
-
122:
|
|
305
|
-
123:
|
|
306
|
-
124:
|
|
307
|
-
125:
|
|
308
|
-
126:
|
|
309
|
-
127:
|
|
310
|
-
128:
|
|
311
|
-
129:
|
|
312
|
-
130:
|
|
313
|
-
131:
|
|
314
|
-
132: visible_mob_effects
|
|
303
|
+
120: freezing_effect_strength
|
|
304
|
+
121: buoyancy_data
|
|
305
|
+
122: goat_horn_count
|
|
306
|
+
123: update_properties
|
|
307
|
+
124: movement_sound_distance_offset
|
|
308
|
+
125: heartbeat_interval_ticks
|
|
309
|
+
126: heartbeat_sound_event
|
|
310
|
+
127: player_last_death_position
|
|
311
|
+
128: player_last_death_dimension
|
|
312
|
+
129: player_has_died
|
|
313
|
+
130: collision_box
|
|
314
|
+
131: visible_mob_effects # long
|
|
315
315
|
type: varint =>
|
|
316
316
|
0: byte
|
|
317
317
|
1: short
|
|
@@ -522,8 +522,14 @@ TransactionUseItem:
|
|
|
522
522
|
# ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
|
|
523
523
|
# and specifies the way the player interacted with the block.
|
|
524
524
|
action_type: varint =>
|
|
525
|
+
# Right click item use on a surface like placing a block
|
|
525
526
|
0: click_block
|
|
527
|
+
# Start right click and hold style item use or potentially interact with nothing.
|
|
528
|
+
# If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
|
|
529
|
+
# While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.
|
|
526
530
|
1: click_air
|
|
531
|
+
# Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
|
|
532
|
+
# Instead, block actions are supplied in Player Auth Input.
|
|
527
533
|
2: break_block
|
|
528
534
|
# BlockPosition is the position of the block that was interacted with. This is only really a correct
|
|
529
535
|
# block position if ActionType is not UseItemActionClickAir.
|
|
@@ -596,10 +602,19 @@ Transaction:
|
|
|
596
602
|
legacy: TransactionLegacy
|
|
597
603
|
# What type of transaction took place
|
|
598
604
|
transaction_type: varint =>
|
|
605
|
+
# Sent for container UI operations depending on if ItemStackNetManager is enabled
|
|
599
606
|
0: normal
|
|
607
|
+
# Sent from server to client to reject a transaction
|
|
600
608
|
1: inventory_mismatch
|
|
609
|
+
# Sent for a player performing right click style item use.
|
|
610
|
+
# See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
|
|
601
611
|
2: item_use
|
|
612
|
+
# Sent for a player right clicking on an entity or attacking them.
|
|
613
|
+
# See ItemUseInventoryTransaction::ActionType for which it is.
|
|
602
614
|
3: item_use_on_entity
|
|
615
|
+
# Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
|
|
616
|
+
# This is different than canceling item use early which would be in Player Auth Input.
|
|
617
|
+
# See ItemReleaseInventoryTransaction::ActionType for which it is.
|
|
603
618
|
4: item_release
|
|
604
619
|
# The list of inventory internal actions in this packet, e.g. inventory GUI actions
|
|
605
620
|
actions: TransactionActions
|
|
@@ -618,7 +633,9 @@ Transaction:
|
|
|
618
633
|
# ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
|
|
619
634
|
# found in the constants above, and specifies the way the player interacted with the entity.
|
|
620
635
|
action_type: varint =>
|
|
636
|
+
# Right click interact with actor.
|
|
621
637
|
0: interact
|
|
638
|
+
# Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
|
|
622
639
|
1: attack
|
|
623
640
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
|
|
624
641
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
@@ -639,7 +656,9 @@ Transaction:
|
|
|
639
656
|
# As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
|
|
640
657
|
# it) or releasing a bow (to shoot an arrow) is essentially the same.
|
|
641
658
|
action_type: varint =>
|
|
659
|
+
# Release right click and hold style item use, like firing a bow
|
|
642
660
|
0: release
|
|
661
|
+
# Finish right click and hold style item use, like charging a crossbow
|
|
643
662
|
1: consume
|
|
644
663
|
# HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
|
|
645
664
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
@@ -2371,3 +2390,9 @@ DisconnectFailReason: zigzag32 =>
|
|
|
2371
2390
|
- server_shutdown
|
|
2372
2391
|
- game_setup_cancelled
|
|
2373
2392
|
- game_setup_failed
|
|
2393
|
+
- no_venue
|
|
2394
|
+
- conn_signalling_sign_in_failed
|
|
2395
|
+
- session_access_denied
|
|
2396
|
+
- service_sign_in_issue
|
|
2397
|
+
- conn_no_signaling_channel
|
|
2398
|
+
- conn_not_logged_in
|
|
@@ -1177,13 +1177,23 @@ packet_animate:
|
|
|
1177
1177
|
!id: 0x2c
|
|
1178
1178
|
!bound: both
|
|
1179
1179
|
action_id: zigzag32 =>
|
|
1180
|
+
# Unused
|
|
1180
1181
|
0: none
|
|
1182
|
+
# Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
|
|
1183
|
+
# See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
|
|
1181
1184
|
1: swing_arm
|
|
1182
1185
|
2: unknown
|
|
1186
|
+
# Client bound notification to stop sleeping in a bed
|
|
1183
1187
|
3: wake_up
|
|
1188
|
+
# Client-bound notification to play critical hit particles
|
|
1184
1189
|
4: critical_hit
|
|
1190
|
+
# Unused
|
|
1185
1191
|
5: magic_critical_hit
|
|
1192
|
+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
|
|
1193
|
+
# See Player Auth Input for how to compute this in the latest protocol.
|
|
1186
1194
|
128: row_right
|
|
1195
|
+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
|
|
1196
|
+
# See Player Auth Input for how to compute this in the latest protocol.
|
|
1187
1197
|
129: row_left
|
|
1188
1198
|
runtime_entity_id: varint64
|
|
1189
1199
|
_: action_id ?
|
|
@@ -2680,8 +2690,7 @@ packet_spawn_particle_effect:
|
|
|
2680
2690
|
particle_name: string
|
|
2681
2691
|
# MoLangVariables is an encoded JSON map of MoLang variables that may be applicable to the particle spawn. This can
|
|
2682
2692
|
# just be left empty in most cases.
|
|
2683
|
-
|
|
2684
|
-
molang_variables: ByteArray
|
|
2693
|
+
molang_variables?: string
|
|
2685
2694
|
|
|
2686
2695
|
# AvailableActorIdentifiers is sent by the server at the start of the game to let the client know all
|
|
2687
2696
|
# entities that are available on the server.
|
|
@@ -4040,38 +4049,38 @@ packet_camera_instruction:
|
|
|
4040
4049
|
# Ease represents the easing function that is used by the instruction.
|
|
4041
4050
|
ease_data?:
|
|
4042
4051
|
type: u8 =>
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4052
|
+
- Linear
|
|
4053
|
+
- Spring
|
|
4054
|
+
- InQuad
|
|
4055
|
+
- OutQuad
|
|
4056
|
+
- InOutQuad
|
|
4057
|
+
- InCubic
|
|
4058
|
+
- OutCubic
|
|
4059
|
+
- InOutCubic
|
|
4060
|
+
- InQuart
|
|
4061
|
+
- OutQuart
|
|
4062
|
+
- InOutQuart
|
|
4063
|
+
- InQuint
|
|
4064
|
+
- OutQuint
|
|
4065
|
+
- InOutQuint
|
|
4066
|
+
- InSine
|
|
4067
|
+
- OutSine
|
|
4068
|
+
- InOutSine
|
|
4069
|
+
- InExpo
|
|
4070
|
+
- OutExpo
|
|
4071
|
+
- InOutExpo
|
|
4072
|
+
- InCirc
|
|
4073
|
+
- OutCirc
|
|
4074
|
+
- InOutCirc
|
|
4075
|
+
- InBounce
|
|
4076
|
+
- OutBounce
|
|
4077
|
+
- InOutBounce
|
|
4078
|
+
- InBack
|
|
4079
|
+
- OutBack
|
|
4080
|
+
- InOutBack
|
|
4081
|
+
- InElastic
|
|
4082
|
+
- OutElastic
|
|
4083
|
+
- InOutElastic
|
|
4075
4084
|
duration: lf32
|
|
4076
4085
|
position?: vec3f
|
|
4077
4086
|
rotation?: vec2f
|
|
@@ -746,8 +746,9 @@
|
|
|
746
746
|
"16": "minecart_display_block",
|
|
747
747
|
"17": "minecart_display_offset",
|
|
748
748
|
"18": "minecart_has_display",
|
|
749
|
-
"
|
|
750
|
-
"
|
|
749
|
+
"19": "horse_type",
|
|
750
|
+
"20": "creeper_swell",
|
|
751
|
+
"21": "creeper_swell_direction",
|
|
751
752
|
"22": "charge_amount",
|
|
752
753
|
"23": "enderman_held_runtime_id",
|
|
753
754
|
"24": "entity_age",
|
|
@@ -777,7 +778,7 @@
|
|
|
777
778
|
"49": "wither_target_1",
|
|
778
779
|
"50": "wither_target_2",
|
|
779
780
|
"51": "wither_target_3",
|
|
780
|
-
"52": "
|
|
781
|
+
"52": "wither_aerial_attack",
|
|
781
782
|
"53": "boundingbox_width",
|
|
782
783
|
"54": "boundingbox_height",
|
|
783
784
|
"55": "fuse_length",
|
|
@@ -785,7 +786,7 @@
|
|
|
785
786
|
"57": "rider_rotation_locked",
|
|
786
787
|
"58": "rider_max_rotation",
|
|
787
788
|
"59": "rider_min_rotation",
|
|
788
|
-
"60": "
|
|
789
|
+
"60": "rider_seat_rotation_offset",
|
|
789
790
|
"61": "area_effect_cloud_radius",
|
|
790
791
|
"62": "area_effect_cloud_waiting",
|
|
791
792
|
"63": "area_effect_cloud_particle_id",
|
|
@@ -802,7 +803,7 @@
|
|
|
802
803
|
"74": "controlling_rider_seat_number",
|
|
803
804
|
"75": "strength",
|
|
804
805
|
"76": "max_strength",
|
|
805
|
-
"77": "
|
|
806
|
+
"77": "evoker_spell_casting_color",
|
|
806
807
|
"78": "limited_life",
|
|
807
808
|
"79": "armor_stand_pose_index",
|
|
808
809
|
"80": "ender_crystal_time_offset",
|
|
@@ -820,11 +821,11 @@
|
|
|
820
821
|
"92": "flags_extended",
|
|
821
822
|
"93": "laying_amount",
|
|
822
823
|
"94": "laying_amount_previous",
|
|
823
|
-
"95": "
|
|
824
|
-
"96": "
|
|
825
|
-
"97": "
|
|
826
|
-
"98": "
|
|
827
|
-
"99": "
|
|
824
|
+
"95": "area_effect_cloud_duration",
|
|
825
|
+
"96": "area_effect_cloud_spawn_time",
|
|
826
|
+
"97": "area_effect_cloud_change_rate",
|
|
827
|
+
"98": "area_effect_cloud_change_on_pickup",
|
|
828
|
+
"99": "area_effect_cloud_pickup_count",
|
|
828
829
|
"100": "interact_text",
|
|
829
830
|
"101": "trade_tier",
|
|
830
831
|
"102": "max_trade_tier",
|
|
@@ -845,19 +846,18 @@
|
|
|
845
846
|
"117": "nearby_cured_discount_timestamp",
|
|
846
847
|
"118": "hitbox",
|
|
847
848
|
"119": "is_buoyant",
|
|
848
|
-
"120": "
|
|
849
|
-
"121": "
|
|
850
|
-
"122": "
|
|
851
|
-
"123": "
|
|
852
|
-
"124": "
|
|
853
|
-
"125": "
|
|
854
|
-
"126": "
|
|
855
|
-
"127": "
|
|
856
|
-
"128": "
|
|
857
|
-
"129": "
|
|
858
|
-
"130": "
|
|
859
|
-
"131": "
|
|
860
|
-
"132": "visible_mob_effects"
|
|
849
|
+
"120": "freezing_effect_strength",
|
|
850
|
+
"121": "buoyancy_data",
|
|
851
|
+
"122": "goat_horn_count",
|
|
852
|
+
"123": "update_properties",
|
|
853
|
+
"124": "movement_sound_distance_offset",
|
|
854
|
+
"125": "heartbeat_interval_ticks",
|
|
855
|
+
"126": "heartbeat_sound_event",
|
|
856
|
+
"127": "player_last_death_position",
|
|
857
|
+
"128": "player_last_death_dimension",
|
|
858
|
+
"129": "player_has_died",
|
|
859
|
+
"130": "collision_box",
|
|
860
|
+
"131": "visible_mob_effects"
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
]
|
|
@@ -4652,7 +4652,14 @@
|
|
|
4652
4652
|
"105": "world_transfer_not_primary_client",
|
|
4653
4653
|
"106": "server_shutdown",
|
|
4654
4654
|
"107": "game_setup_cancelled",
|
|
4655
|
-
"108": "game_setup_failed"
|
|
4655
|
+
"108": "game_setup_failed",
|
|
4656
|
+
"109": "no_venue",
|
|
4657
|
+
"110": "conn_signalling_sign_in_failed",
|
|
4658
|
+
"111": "session_access_denied",
|
|
4659
|
+
"112": "service_sign_in_issue",
|
|
4660
|
+
"113": "conn_no_signaling_channel",
|
|
4661
|
+
"114": "conn_not_logged_in",
|
|
4662
|
+
"115": "conn_client_signalling_error"
|
|
4656
4663
|
}
|
|
4657
4664
|
}
|
|
4658
4665
|
],
|
|
@@ -9638,7 +9645,10 @@
|
|
|
9638
9645
|
},
|
|
9639
9646
|
{
|
|
9640
9647
|
"name": "molang_variables",
|
|
9641
|
-
"type":
|
|
9648
|
+
"type": [
|
|
9649
|
+
"option",
|
|
9650
|
+
"string"
|
|
9651
|
+
]
|
|
9642
9652
|
}
|
|
9643
9653
|
]
|
|
9644
9654
|
],
|
|
@@ -202,8 +202,9 @@ MetadataDictionary: []varint
|
|
|
202
202
|
16: minecart_display_block #int (id | (data << 16))
|
|
203
203
|
17: minecart_display_offset #int
|
|
204
204
|
18: minecart_has_display #byte (must be 1 for minecart to show block inside)
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
19: horse_type
|
|
206
|
+
20: creeper_swell
|
|
207
|
+
21: creeper_swell_direction
|
|
207
208
|
22: charge_amount
|
|
208
209
|
23: enderman_held_runtime_id #short
|
|
209
210
|
24: entity_age #short
|
|
@@ -233,7 +234,7 @@ MetadataDictionary: []varint
|
|
|
233
234
|
49: wither_target_1 #long
|
|
234
235
|
50: wither_target_2 #long
|
|
235
236
|
51: wither_target_3 #long
|
|
236
|
-
52:
|
|
237
|
+
52: wither_aerial_attack
|
|
237
238
|
53: boundingbox_width
|
|
238
239
|
54: boundingbox_height
|
|
239
240
|
55: fuse_length
|
|
@@ -241,7 +242,7 @@ MetadataDictionary: []varint
|
|
|
241
242
|
57: rider_rotation_locked #byte
|
|
242
243
|
58: rider_max_rotation #float
|
|
243
244
|
59: rider_min_rotation #float
|
|
244
|
-
60:
|
|
245
|
+
60: rider_seat_rotation_offset
|
|
245
246
|
61: area_effect_cloud_radius #float
|
|
246
247
|
62: area_effect_cloud_waiting #int
|
|
247
248
|
63: area_effect_cloud_particle_id #int
|
|
@@ -258,7 +259,7 @@ MetadataDictionary: []varint
|
|
|
258
259
|
74: controlling_rider_seat_number #byte
|
|
259
260
|
75: strength #int
|
|
260
261
|
76: max_strength #int
|
|
261
|
-
77:
|
|
262
|
+
77: evoker_spell_casting_color #int
|
|
262
263
|
78: limited_life
|
|
263
264
|
79: armor_stand_pose_index # int
|
|
264
265
|
80: ender_crystal_time_offset # int
|
|
@@ -276,11 +277,11 @@ MetadataDictionary: []varint
|
|
|
276
277
|
92: flags_extended
|
|
277
278
|
93: laying_amount
|
|
278
279
|
94: laying_amount_previous
|
|
279
|
-
95:
|
|
280
|
-
96:
|
|
281
|
-
97:
|
|
282
|
-
98:
|
|
283
|
-
99:
|
|
280
|
+
95: area_effect_cloud_duration
|
|
281
|
+
96: area_effect_cloud_spawn_time
|
|
282
|
+
97: area_effect_cloud_change_rate
|
|
283
|
+
98: area_effect_cloud_change_on_pickup
|
|
284
|
+
99: area_effect_cloud_pickup_count
|
|
284
285
|
100: interact_text
|
|
285
286
|
101: trade_tier
|
|
286
287
|
102: max_trade_tier
|
|
@@ -301,19 +302,18 @@ MetadataDictionary: []varint
|
|
|
301
302
|
117: nearby_cured_discount_timestamp
|
|
302
303
|
118: hitbox
|
|
303
304
|
119: is_buoyant
|
|
304
|
-
120:
|
|
305
|
-
121:
|
|
306
|
-
122:
|
|
307
|
-
123:
|
|
308
|
-
124:
|
|
309
|
-
125:
|
|
310
|
-
126:
|
|
311
|
-
127:
|
|
312
|
-
128:
|
|
313
|
-
129:
|
|
314
|
-
130:
|
|
315
|
-
131:
|
|
316
|
-
132: visible_mob_effects
|
|
305
|
+
120: freezing_effect_strength
|
|
306
|
+
121: buoyancy_data
|
|
307
|
+
122: goat_horn_count
|
|
308
|
+
123: update_properties
|
|
309
|
+
124: movement_sound_distance_offset
|
|
310
|
+
125: heartbeat_interval_ticks
|
|
311
|
+
126: heartbeat_sound_event
|
|
312
|
+
127: player_last_death_position
|
|
313
|
+
128: player_last_death_dimension
|
|
314
|
+
129: player_has_died
|
|
315
|
+
130: collision_box
|
|
316
|
+
131: visible_mob_effects # long
|
|
317
317
|
type: varint =>
|
|
318
318
|
0: byte
|
|
319
319
|
1: short
|
|
@@ -526,8 +526,14 @@ TransactionUseItem:
|
|
|
526
526
|
# ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
|
|
527
527
|
# and specifies the way the player interacted with the block.
|
|
528
528
|
action_type: varint =>
|
|
529
|
+
# Right click item use on a surface like placing a block
|
|
529
530
|
0: click_block
|
|
531
|
+
# Start right click and hold style item use or potentially interact with nothing.
|
|
532
|
+
# If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
|
|
533
|
+
# While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.
|
|
530
534
|
1: click_air
|
|
535
|
+
# Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
|
|
536
|
+
# Instead, block actions are supplied in Player Auth Input.
|
|
531
537
|
2: break_block
|
|
532
538
|
# TriggerType is the type of the trigger that caused the inventory transaction. It is one of the trigger
|
|
533
539
|
# types found in the constants above. If TriggerType is TriggerTypePlayerInput, the transaction is from
|
|
@@ -612,10 +618,19 @@ Transaction:
|
|
|
612
618
|
legacy: TransactionLegacy
|
|
613
619
|
# What type of transaction took place
|
|
614
620
|
transaction_type: varint =>
|
|
621
|
+
# Sent for container UI operations depending on if ItemStackNetManager is enabled
|
|
615
622
|
0: normal
|
|
623
|
+
# Sent from server to client to reject a transaction
|
|
616
624
|
1: inventory_mismatch
|
|
625
|
+
# Sent for a player performing right click style item use.
|
|
626
|
+
# See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
|
|
617
627
|
2: item_use
|
|
628
|
+
# Sent for a player right clicking on an entity or attacking them.
|
|
629
|
+
# See ItemUseInventoryTransaction::ActionType for which it is.
|
|
618
630
|
3: item_use_on_entity
|
|
631
|
+
# Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
|
|
632
|
+
# This is different than canceling item use early which would be in Player Auth Input.
|
|
633
|
+
# See ItemReleaseInventoryTransaction::ActionType for which it is.
|
|
619
634
|
4: item_release
|
|
620
635
|
# The list of inventory internal actions in this packet, e.g. inventory GUI actions
|
|
621
636
|
actions: TransactionActions
|
|
@@ -634,7 +649,9 @@ Transaction:
|
|
|
634
649
|
# ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
|
|
635
650
|
# found in the constants above, and specifies the way the player interacted with the entity.
|
|
636
651
|
action_type: varint =>
|
|
652
|
+
# Right click interact with actor.
|
|
637
653
|
0: interact
|
|
654
|
+
# Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
|
|
638
655
|
1: attack
|
|
639
656
|
# HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
|
|
640
657
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
@@ -655,7 +672,9 @@ Transaction:
|
|
|
655
672
|
# As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
|
|
656
673
|
# it) or releasing a bow (to shoot an arrow) is essentially the same.
|
|
657
674
|
action_type: varint =>
|
|
675
|
+
# Release right click and hold style item use, like firing a bow
|
|
658
676
|
0: release
|
|
677
|
+
# Finish right click and hold style item use, like charging a crossbow
|
|
659
678
|
1: consume
|
|
660
679
|
# HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
|
|
661
680
|
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
|
|
@@ -2400,6 +2419,13 @@ DisconnectFailReason: zigzag32 =>
|
|
|
2400
2419
|
- server_shutdown
|
|
2401
2420
|
- game_setup_cancelled
|
|
2402
2421
|
- game_setup_failed
|
|
2422
|
+
- no_venue
|
|
2423
|
+
- conn_signalling_sign_in_failed
|
|
2424
|
+
- session_access_denied
|
|
2425
|
+
- service_sign_in_issue
|
|
2426
|
+
- conn_no_signaling_channel
|
|
2427
|
+
- conn_not_logged_in
|
|
2428
|
+
- conn_client_signalling_error
|
|
2403
2429
|
|
|
2404
2430
|
FullContainerName:
|
|
2405
2431
|
container_id: ContainerSlotType
|