Skip to content

Commit 641f42d

Browse files
Add bedrock 1.21.60 data (#980)
* Bedrock v776 protocol support * Update README * cam preset fix, lang * add item registry to login sequence * Unnecessary type * Consistent field naming with previous versions * Rename item ID to runtime_id * updates * fix entitymetadata * updates * fix path, do bedrock ci against fork * fix * Update bedrock-ci.yml --------- Co-authored-by: extremeheat <[email protected]>
1 parent c42c06e commit 641f42d

File tree

113 files changed

+33506
-1253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+33506
-1253
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Language independent module providing minecraft data for minecraft clients, serv
1010
Supports
1111
* Minecraft PC version 0.30c (classic), 1.7.10, 1.8.8, 1.9 (15w40b, 1.9, 1.9.1-pre2, 1.9.2, 1.9.4),
1212
1.10 (16w20a, 1.10-pre1, 1.10, 1.10.1, 1.10.2), 1.11 (16w35a, 1.11, 1.11.2), 1.12 (17w15a, 17w18b, 1.12-pre4, 1.12, 1.12.1, 1.12.2), 1.13 (17w50a, 1.13, 1.13.1, 1.13.2-pre1, 1.13.2-pre2, 1.13.2), 1.14 (1.14, 1.14.1, 1.14.3, 1.14.4), 1.15 (1.15, 1.15.1, 1.15.2), 1.16 (20w13b, 20w14a, 1.16-rc1, 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5), 1.17, 1.17.1, 1.18 (1.18, 1.18.1, 1.18.2), 1.19 (1.19, 1.19.2, 1.19.3, 1.19.4), 1.20 (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6), 1.21 (1.21, 1.21.1, 1.21.3)
13-
* Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10, 1.19.20, 1.19.21, 1.19.30, 1.19.40, 1.19.50, 1.19.60, 1.19.62, 1.19.63, 1.19.70, 1.19.80, 1.20.0, 1.20.10, 1.20.30, 1.20.40, 1.20.50, 1.20.61, 1.20.71, 1.20.80, 1.21.0, 1.21.2, 1.21.20, 1.21.30, 1.21.42, 1.21.50
13+
* Minecraft bedrock version 0.14, 0.15, 1.0, 1.16.201, 1.16.210, 1.16.220, 1.17.0, 1.17.10, 1.17.30, 1.17.40, 1.18.0, 1.18.11, 1.18.30, 1.19.1, 1.19.10, 1.19.20, 1.19.21, 1.19.30, 1.19.40, 1.19.50, 1.19.60, 1.19.62, 1.19.63, 1.19.70, 1.19.80, 1.20.0, 1.20.10, 1.20.30, 1.20.40, 1.20.50, 1.20.61, 1.20.71, 1.20.80, 1.21.0, 1.21.2, 1.21.20, 1.21.30, 1.21.42, 1.21.50, 1.21.60
1414

1515

1616
## Wrappers

data/bedrock/1.16.201/proto.yml

+10
Original file line numberDiff line numberDiff line change
@@ -873,13 +873,23 @@ packet_animate:
873873
!id: 0x2c
874874
!bound: both
875875
action_id: zigzag32 =>
876+
# Unused
876877
0: none
878+
# Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
879+
# See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
877880
1: swing_arm
878881
2: unknown
882+
# Client bound notification to stop sleeping in a bed
879883
3: wake_up
884+
# Client-bound notification to play critical hit particles
880885
4: critical_hit
886+
# Unused
881887
5: magic_critical_hit
888+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
889+
# See Player Auth Input for how to compute this in the latest protocol.
882890
128: row_right
891+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
892+
# See Player Auth Input for how to compute this in the latest protocol.
883893
129: row_left
884894
runtime_entity_id: varint64
885895
_: action_id ?

data/bedrock/1.16.201/types.yml

+13
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,19 @@ Transaction:
306306
changed_slots: []varint
307307
slot_id: u8
308308
transaction_type: varint =>
309+
# Sent for container UI operations depending on if ItemStackNetManager is enabled
309310
0: normal
311+
# Sent from server to client to reject a transaction
310312
1: inventory_mismatch
313+
# Sent for a player performing right click style item use.
314+
# See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
311315
2: item_use
316+
# Sent for a player right clicking on an entity or attacking them.
317+
# See ItemUseInventoryTransaction::ActionType for which it is.
312318
3: item_use_on_entity
319+
# Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
320+
# This is different than canceling item use early which would be in Player Auth Input.
321+
# See ItemReleaseInventoryTransaction::ActionType for which it is.
313322
4: item_release
314323
network_ids: bool
315324
inventory_actions: []varint
@@ -375,7 +384,9 @@ Transaction:
375384
# ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
376385
# found in the constants above, and specifies the way the player interacted with the entity.
377386
action_type: varint =>
387+
# Right click interact with actor.
378388
0: interact
389+
# Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
379390
1: attack
380391
# HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
381392
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -396,7 +407,9 @@ Transaction:
396407
# As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
397408
# it) or releasing a bow (to shoot an arrow) is essentially the same.
398409
action_type: varint =>
410+
# Release right click and hold style item use, like firing a bow
399411
0: release
412+
# Finish right click and hold style item use, like charging a crossbow
400413
1: consume
401414
# HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
402415
# to ensure that the hot bar slot and held item are correctly synchronised with the server.

data/bedrock/1.16.210/proto.yml

+10
Original file line numberDiff line numberDiff line change
@@ -894,13 +894,23 @@ packet_animate:
894894
!id: 0x2c
895895
!bound: both
896896
action_id: zigzag32 =>
897+
# Unused
897898
0: none
899+
# Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
900+
# See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
898901
1: swing_arm
899902
2: unknown
903+
# Client bound notification to stop sleeping in a bed
900904
3: wake_up
905+
# Client-bound notification to play critical hit particles
901906
4: critical_hit
907+
# Unused
902908
5: magic_critical_hit
909+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
910+
# See Player Auth Input for how to compute this in the latest protocol.
903911
128: row_right
912+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
913+
# See Player Auth Input for how to compute this in the latest protocol.
904914
129: row_left
905915
runtime_entity_id: varint64
906916
_: action_id ?

data/bedrock/1.16.210/protocol.json

+11-10
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,9 @@
494494
"16": "minecart_display_block",
495495
"17": "minecart_display_offset",
496496
"18": "minecart_has_display",
497-
"20": "old_swell",
498-
"21": "swell_dir",
497+
"19": "horse_type",
498+
"20": "creeper_swell",
499+
"21": "creeper_swell_direction",
499500
"22": "charge_amount",
500501
"23": "enderman_held_runtime_id",
501502
"24": "entity_age",
@@ -525,15 +526,15 @@
525526
"49": "wither_target_1",
526527
"50": "wither_target_2",
527528
"51": "wither_target_3",
528-
"52": "aerial_attack",
529+
"52": "wither_aerial_attack",
529530
"53": "boundingbox_width",
530531
"54": "boundingbox_height",
531532
"55": "fuse_length",
532533
"56": "rider_seat_position",
533534
"57": "rider_rotation_locked",
534535
"58": "rider_max_rotation",
535536
"59": "rider_min_rotation",
536-
"60": "rider_rotation_offset",
537+
"60": "rider_seat_rotation_offset",
537538
"61": "area_effect_cloud_radius",
538539
"62": "area_effect_cloud_waiting",
539540
"63": "area_effect_cloud_particle_id",
@@ -550,7 +551,7 @@
550551
"74": "controlling_rider_seat_number",
551552
"75": "strength",
552553
"76": "max_strength",
553-
"77": "spell_casting_color",
554+
"77": "evoker_spell_casting_color",
554555
"78": "limited_life",
555556
"79": "armor_stand_pose_index",
556557
"80": "ender_crystal_time_offset",
@@ -568,11 +569,11 @@
568569
"92": "flags_extended",
569570
"93": "laying_amount",
570571
"94": "laying_amount_previous",
571-
"95": "duration",
572-
"96": "spawn_time",
573-
"97": "change_rate",
574-
"98": "change_on_pickup",
575-
"99": "pickup_count",
572+
"95": "area_effect_cloud_duration",
573+
"96": "area_effect_cloud_spawn_time",
574+
"97": "area_effect_cloud_change_rate",
575+
"98": "area_effect_cloud_change_on_pickup",
576+
"99": "area_effect_cloud_pickup_count",
576577
"100": "interact_text",
577578
"101": "trade_tier",
578579
"102": "max_trade_tier",

data/bedrock/1.16.210/types.yml

+30-10
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,9 @@ MetadataDictionary: []varint
136136
16: minecart_display_block #int (id | (data << 16))
137137
17: minecart_display_offset #int
138138
18: minecart_has_display #byte (must be 1 for minecart to show block inside)
139-
20: old_swell
140-
21: swell_dir
139+
19: horse_type
140+
20: creeper_swell
141+
21: creeper_swell_direction
141142
22: charge_amount
142143
23: enderman_held_runtime_id #short
143144
24: entity_age #short
@@ -167,15 +168,15 @@ MetadataDictionary: []varint
167168
49: wither_target_1 #long
168169
50: wither_target_2 #long
169170
51: wither_target_3 #long
170-
52: aerial_attack
171+
52: wither_aerial_attack
171172
53: boundingbox_width
172173
54: boundingbox_height
173174
55: fuse_length
174175
56: rider_seat_position #vector3f
175176
57: rider_rotation_locked #byte
176177
58: rider_max_rotation #float
177178
59: rider_min_rotation #float
178-
60: rider_rotation_offset
179+
60: rider_seat_rotation_offset
179180
61: area_effect_cloud_radius #float
180181
62: area_effect_cloud_waiting #int
181182
63: area_effect_cloud_particle_id #int
@@ -192,7 +193,7 @@ MetadataDictionary: []varint
192193
74: controlling_rider_seat_number #byte
193194
75: strength #int
194195
76: max_strength #int
195-
77: spell_casting_color #int
196+
77: evoker_spell_casting_color #int
196197
78: limited_life
197198
79: armor_stand_pose_index # int
198199
80: ender_crystal_time_offset # int
@@ -210,11 +211,11 @@ MetadataDictionary: []varint
210211
92: flags_extended
211212
93: laying_amount
212213
94: laying_amount_previous
213-
95: duration
214-
96: spawn_time
215-
97: change_rate
216-
98: change_on_pickup
217-
99: pickup_count
214+
95: area_effect_cloud_duration
215+
96: area_effect_cloud_spawn_time
216+
97: area_effect_cloud_change_rate
217+
98: area_effect_cloud_change_on_pickup
218+
99: area_effect_cloud_pickup_count
218219
100: interact_text
219220
101: trade_tier
220221
102: max_trade_tier
@@ -408,8 +409,14 @@ TransactionUseItem:
408409
# ActionType is the type of the UseItem inventory transaction. It is one of the action types found above,
409410
# and specifies the way the player interacted with the block.
410411
action_type: varint =>
412+
# Right click item use on a surface like placing a block
411413
0: click_block
414+
# Start right click and hold style item use or potentially interact with nothing.
415+
# If it is a usable item like food the server is expected to send a SetActorDataPacket with ActorFlags::USINGITEM along with the transaction response.
416+
# While using an item, movement speed is slowed which will be reflected in the move vector in Player Auth Input.
412417
1: click_air
418+
# Block breaking like left click. When using server auth block breaking as specified in StartGamePacket this is never sent.
419+
# Instead, block actions are supplied in Player Auth Input.
413420
2: break_block
414421
# BlockPosition is the position of the block that was interacted with. This is only really a correct
415422
# block position if ActionType is not UseItemActionClickAir.
@@ -487,10 +494,19 @@ Transaction:
487494
legacy: TransactionLegacy
488495
# What type of transaction took place
489496
transaction_type: varint =>
497+
# Sent for container UI operations depending on if ItemStackNetManager is enabled
490498
0: normal
499+
# Sent from server to client to reject a transaction
491500
1: inventory_mismatch
501+
# Sent for a player performing right click style item use.
502+
# See the contained ItemUseInventoryTransaction::ActionType for the expected use case.
492503
2: item_use
504+
# Sent for a player right clicking on an entity or attacking them.
505+
# See ItemUseInventoryTransaction::ActionType for which it is.
493506
3: item_use_on_entity
507+
# Sent when releasing right click on a chargeable item like a bow or finishing charging like a crossbow.
508+
# This is different than canceling item use early which would be in Player Auth Input.
509+
# See ItemReleaseInventoryTransaction::ActionType for which it is.
494510
4: item_release
495511
# The list of inventory internal actions in this packet, e.g. inventory GUI actions
496512
actions: TransactionActions
@@ -509,7 +525,9 @@ Transaction:
509525
# ActionType is the type of the UseItemOnEntity inventory transaction. It is one of the action types
510526
# found in the constants above, and specifies the way the player interacted with the entity.
511527
action_type: varint =>
528+
# Right click interact with actor.
512529
0: interact
530+
# Left click style attack of actor or elytra spin attack. Server is expected to deal damage to the entity with visuals.
513531
1: attack
514532
# HotBarSlot is the hot bar slot that the player was holding while clicking the entity. It should be used
515533
# to ensure that the hot bar slot and held item are correctly synchronised with the server.
@@ -530,7 +548,9 @@ Transaction:
530548
# As of 1.13, the ActionType is always 0. This field can be ignored, because releasing food (by consuming
531549
# it) or releasing a bow (to shoot an arrow) is essentially the same.
532550
action_type: varint =>
551+
# Release right click and hold style item use, like firing a bow
533552
0: release
553+
# Finish right click and hold style item use, like charging a crossbow
534554
1: consume
535555
# HotBarSlot is the hot bar slot that the player was holding while releasing the item. It should be used
536556
# to ensure that the hot bar slot and held item are correctly synchronised with the server.

data/bedrock/1.16.220/proto.yml

+10
Original file line numberDiff line numberDiff line change
@@ -924,13 +924,23 @@ packet_animate:
924924
!id: 0x2c
925925
!bound: both
926926
action_id: zigzag32 =>
927+
# Unused
927928
0: none
929+
# Server bound notification to swing the player's arm. Server is expected to rebroadcast to all that should see the arm move.
930+
# See also PlayerAuthInputPacket::InputData::MissedSwing for a very similar action
928931
1: swing_arm
929932
2: unknown
933+
# Client bound notification to stop sleeping in a bed
930934
3: wake_up
935+
# Client-bound notification to play critical hit particles
931936
4: critical_hit
937+
# Unused
932938
5: magic_critical_hit
939+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
940+
# See Player Auth Input for how to compute this in the latest protocol.
933941
128: row_right
942+
# Sent every tick the client is in a boat exclusively in legacy client authoritative movement.
943+
# See Player Auth Input for how to compute this in the latest protocol.
934944
129: row_left
935945
runtime_entity_id: varint64
936946
_: action_id ?

data/bedrock/1.16.220/protocol.json

+11-10
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,9 @@
671671
"16": "minecart_display_block",
672672
"17": "minecart_display_offset",
673673
"18": "minecart_has_display",
674-
"20": "old_swell",
675-
"21": "swell_dir",
674+
"19": "horse_type",
675+
"20": "creeper_swell",
676+
"21": "creeper_swell_direction",
676677
"22": "charge_amount",
677678
"23": "enderman_held_runtime_id",
678679
"24": "entity_age",
@@ -702,15 +703,15 @@
702703
"49": "wither_target_1",
703704
"50": "wither_target_2",
704705
"51": "wither_target_3",
705-
"52": "aerial_attack",
706+
"52": "wither_aerial_attack",
706707
"53": "boundingbox_width",
707708
"54": "boundingbox_height",
708709
"55": "fuse_length",
709710
"56": "rider_seat_position",
710711
"57": "rider_rotation_locked",
711712
"58": "rider_max_rotation",
712713
"59": "rider_min_rotation",
713-
"60": "rider_rotation_offset",
714+
"60": "rider_seat_rotation_offset",
714715
"61": "area_effect_cloud_radius",
715716
"62": "area_effect_cloud_waiting",
716717
"63": "area_effect_cloud_particle_id",
@@ -727,7 +728,7 @@
727728
"74": "controlling_rider_seat_number",
728729
"75": "strength",
729730
"76": "max_strength",
730-
"77": "spell_casting_color",
731+
"77": "evoker_spell_casting_color",
731732
"78": "limited_life",
732733
"79": "armor_stand_pose_index",
733734
"80": "ender_crystal_time_offset",
@@ -745,11 +746,11 @@
745746
"92": "flags_extended",
746747
"93": "laying_amount",
747748
"94": "laying_amount_previous",
748-
"95": "duration",
749-
"96": "spawn_time",
750-
"97": "change_rate",
751-
"98": "change_on_pickup",
752-
"99": "pickup_count",
749+
"95": "area_effect_cloud_duration",
750+
"96": "area_effect_cloud_spawn_time",
751+
"97": "area_effect_cloud_change_rate",
752+
"98": "area_effect_cloud_change_on_pickup",
753+
"99": "area_effect_cloud_pickup_count",
753754
"100": "interact_text",
754755
"101": "trade_tier",
755756
"102": "max_trade_tier",

0 commit comments

Comments
 (0)