Skip to content

Commit c653972

Browse files
authored
Add Bedrock 1.21.120 protocol data (#1107)
* Restore original Bedrock naming in latest schema * Fix Animate rowing_time naming * Add Bedrock wetness stop actor event
1 parent 3f77f6c commit c653972

File tree

10 files changed

+14878
-194
lines changed

10 files changed

+14878
-194
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ 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), 1.21.8
1313
<!--NEXT PC-->
14-
* 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, 1.21.70, 1.21.80, 1.21.90, 1.21.93, 1.21.100, 1.21.111
14+
* 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, 1.21.70, 1.21.80, 1.21.90, 1.21.93, 1.21.100, 1.21.111, 1.21.120
1515
<!--NEXT BEDROCK-->
1616

1717
## Wrappers

data/bedrock/1.21.111/proto.yml

Lines changed: 37 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Created from MiNET and gophertunnel docs
22
# The version below is the latest version this protocol schema was updated for.
33
# The output protocol.json will be in the folder for the version
4-
!version: 1.21.100
4+
!version: 1.21.111
55

66
# Some ProtoDef aliases
77
string: ["pstring",{"countType":"varint"}] # String / array types
@@ -340,7 +340,7 @@ packet_start_game:
340340
# Defines game rules currently active with their respective values. The value of these game
341341
# rules may be either 'bool', 'Int32' or 'Float32'. Some game rules are server side only,
342342
# and don't necessarily need to be sent to the client.
343-
gamerules: GameRules
343+
gamerules: GameRuleVarint[]varint
344344
experiments: Experiments
345345
experiments_previously_used: bool
346346
# Specifies if the world had the bonus map setting enabled when generating it.
@@ -724,6 +724,7 @@ packet_level_sound_event_old:
724724
is_baby_mob: bool
725725
is_global: bool
726726

727+
# TODO: Check and verify old versions
727728
packet_level_event:
728729
!id: 0x19
729730
!bound: client
@@ -835,6 +836,13 @@ packet_level_event:
835836
3613: particle_trial_spawner_ejecting
836837
3614: particle_wind_explosion
837838
3615: particle_wolf_armor_break
839+
3616: ominous_item_spawner
840+
3617: creaking_crumble
841+
3618: pale_oak_leaves
842+
3619: eyeblossom_open
843+
3620: eyeblossom_close
844+
3621: green_flame
845+
#
838846
4000: set_data
839847
9800: players_sleeping
840848
9801: sleeping_players
@@ -1679,7 +1687,7 @@ packet_chunk_radius_update:
16791687
packet_game_rules_changed:
16801688
!id: 0x48
16811689
!bound: client
1682-
rules: GameRules
1690+
rules: GameRuleI32[]varint
16831691

16841692
# Camera is sent by the server to use an Education Edition camera on a player. It produces an image
16851693
# client-side.
@@ -3320,33 +3328,16 @@ packet_item_stack_response:
33203328
packet_player_armor_damage:
33213329
!id: 0x95
33223330
!bound: client
3323-
# Bitset holds a bitset of 4 bits that indicate which pieces of armour need to have damage dealt to them.
3324-
# The first bit, when toggled, is for a helmet, the second for the chestplate, the third for the leggings
3325-
# and the fourth for boots.
3326-
type: ArmorDamageType
3327-
helmet_damage: type.head ?
3328-
if true: zigzag32
3329-
chestplate_damage: type.chest ?
3330-
if true: zigzag32
3331-
leggings_damage: type.legs ?
3332-
if true: zigzag32
3333-
boots_damage: type.feet ?
3334-
if true: zigzag32
3335-
body_damage: type.body ?
3336-
if true: zigzag32
3337-
3338-
ArmorDamageType: [ "bitflags",
3339-
{
3340-
"type": "u8",
3341-
"flags": {
3342-
"head": 0b1,
3343-
"chest": 0b10,
3344-
"legs": 0b100,
3345-
"feet": 0b1000,
3346-
"body": 0b10000
3347-
}
3348-
}
3349-
]
3331+
entries: ArmorDamageEntry[]varint
3332+
3333+
ArmorDamageEntry:
3334+
armor_slot: u8 =>
3335+
0: helmet
3336+
1: chestplate
3337+
2: leggings
3338+
3: boots
3339+
4: body
3340+
damage: li16
33503341

33513342
# CodeBuilder is an Education Edition packet sent by the server to the client to open the URL to a Code
33523343
# Builder (websocket) server.
@@ -4571,3 +4562,19 @@ packet_server_script_debug_drawer:
45714562
arrow_head_length?: lf32
45724563
arrow_head_radius?: lf32
45734564
segment_count?: u8
4565+
4566+
# ServerBoundPackSettingChange
4567+
packet_serverbound_pack_setting_change:
4568+
!id: 0x149
4569+
!bound: server
4570+
pack_id: uuid
4571+
pack_setting:
4572+
name: string
4573+
type: u8 =>
4574+
- float
4575+
- bool
4576+
- string
4577+
value: type ?
4578+
if float: lf32
4579+
if bool: bool
4580+
if string: string

0 commit comments

Comments
 (0)