Skip to content

Commit

Permalink
Add bedrock 1.20.80 protocol data (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat committed Apr 25, 2024
1 parent 2235e82 commit 7c216d8
Show file tree
Hide file tree
Showing 9 changed files with 18,765 additions and 5 deletions.
4,154 changes: 4,154 additions & 0 deletions data/bedrock/1.20.71/proto.yml

Large diffs are not rendered by default.

2,315 changes: 2,315 additions & 0 deletions data/bedrock/1.20.71/types.yml

Large diffs are not rendered by default.

12,226 changes: 12,226 additions & 0 deletions data/bedrock/1.20.80/protocol.json

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions data/bedrock/1.20.80/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": 671,
"minecraftVersion": "1.20.80",
"majorVersion": "1.20",
"releaseType": "release"
}
6 changes: 6 additions & 0 deletions data/bedrock/common/protocolVersions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
[
{
"version": 671,
"minecraftVersion": "1.20.80",
"majorVersion": "1.20",
"releaseType": "release"
},
{
"version": 662,
"minecraftVersion": "1.20.71",
Expand Down
3 changes: 2 additions & 1 deletion data/bedrock/common/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,6 @@
"1.20.40",
"1.20.50",
"1.20.61",
"1.20.71"
"1.20.71",
"1.20.80"
]
14 changes: 12 additions & 2 deletions data/bedrock/latest/proto.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Created from MiNET and gophertunnel docs
# The version below is the latest version this protocol schema was updated for.
# The output protocol.json will be in the folder for the version
!version: 1.20.71
!version: 1.20.80

# Some ProtoDef aliases
string: ["pstring",{"countType":"varint"}] # String / array types
Expand Down Expand Up @@ -158,6 +158,7 @@ packet_resource_pack_stack:
game_version: string
experiments: Experiments # ??? such random fields
experiments_previously_used: bool
has_editor_packs: bool

packet_resource_pack_client_response:
!id: 0x08
Expand Down Expand Up @@ -265,6 +266,9 @@ packet_start_game:
# The world game mode that a player gets when it first spawns in the world. It is shown in the
# settings and is used if the Player Gamemode is set to 5.
world_gamemode: GameMode
# Specifies if the game is locked to "hardcore" mode or not, meaning the world will be unplayable
# after player dies in survival game mode. Persists even after switching player or world game modes.
hardcore: bool
# Difficulty is the difficulty of the world. It is a value from 0-3, with 0 being peaceful,
# 1 being easy, 2 being normal and 3 being hard.
difficulty: zigzag32
Expand Down Expand Up @@ -826,6 +830,7 @@ packet_level_event:
3612: particle_trial_spawner_spawning
3613: particle_trial_spawner_ejecting
3614: particle_wind_explosion
3615: particle_wolf_armor_break
4000: set_data
9800: players_sleeping
9801: sleeping_players
Expand Down Expand Up @@ -3248,6 +3253,7 @@ packet_update_player_game_type:
# PlayerUniqueID is the entity unique ID of the player that should have its game mode updated. If this
# packet is sent to other clients with the player unique ID of another player, nothing happens.
player_unique_id: zigzag64
tick: varint


# EmoteList is sent by the client every time it joins the server and when it equips new emotes. It may be
Expand Down Expand Up @@ -3406,6 +3412,8 @@ packet_correct_player_move_prediction:
position: vec3f
# Delta is the change in position compared to what the client sent as its position at that specific tick.
delta: vec3f
vehicle_rotation: prediction_type ?
if vehicle: vec2f
# OnGround specifies if the player was on the ground at the time of the tick below.
on_ground: bool
# Tick is the tick of the movement which was corrected by this packet.
Expand Down Expand Up @@ -4147,7 +4155,9 @@ Element: u8 =>
- ProgressBar
- Hunger
- AirBubbles
- HourseHealth
- VehicleHealth
- EffectsBar
- ItemTextPopup

packet_server_post_move:
!id: 0x10
Expand Down
20 changes: 20 additions & 0 deletions data/bedrock/latest/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ MetadataFlags2: [ "bitflags", {
"timer_flag_1",
"timer_flag_2",
"timer_flag_3",
"body_rotation_blocked"
]
}]

Expand Down Expand Up @@ -743,6 +744,7 @@ Recipes: []varint
uuid: uuid
block: string
priority: zigzag32
assume_symmetry: bool
network_id: varint
if furnace:
input_id: zigzag32
Expand Down Expand Up @@ -2313,3 +2315,21 @@ DisconnectFailReason: zigzag32 =>
- stale_connection_being_replaced
- realms_session_not_found
- bad_packet
- conn_failed_to_create_offer
- conn_failed_to_create_answer
- conn_failed_to_set_local_description
- conn_failed_to_set_remote_description
- conn_negotiation_timeout_waiting_for_response
- conn_negotiation_timeout_waiting_for_accept
- conn_incoming_connection_ignored
- conn_signaling_parsing_failure
- conn_signaling_unknown_error
- conn_signaling_unicast_delivery_failed
- conn_signaling_broadcast_delivery_failed
- conn_signaling_generic_delivery_failed
- editor_mismatch_editor_world
- editor_mismatch_vanilla_world
- world_transfer_not_primary_client
- server_shutdown
- game_setup_cancelled
- game_setup_failed
26 changes: 24 additions & 2 deletions data/dataPaths.json
Original file line number Diff line number Diff line change
Expand Up @@ -2010,10 +2010,32 @@
"steve": "bedrock/1.16.201",
"blocksB2J": "bedrock/1.20.71",
"blocksJ2B": "bedrock/1.20.71",
"proto": "bedrock/1.20.71",
"types": "bedrock/1.20.71",
"version": "bedrock/1.20.71",
"language": "bedrock/1.20.10"
},
"1.20.80": {
"blocks": "bedrock/1.20.71",
"blockStates": "bedrock/1.20.71",
"blockCollisionShapes": "bedrock/1.20.71",
"biomes": "bedrock/1.20.0",
"entities": "bedrock/1.19.1",
"items": "bedrock/1.20.0",
"recipes": "bedrock/1.19.10",
"instruments": "bedrock/1.17.0",
"materials": "pc/1.17",
"enchantments": "bedrock/1.19.1",
"effects": "pc/1.17",
"protocol": "bedrock/1.20.80",
"windows": "bedrock/1.16.201",
"steve": "bedrock/1.16.201",
"blocksB2J": "bedrock/1.20.71",
"blocksJ2B": "bedrock/1.20.71",
"proto": "bedrock/latest",
"types": "bedrock/latest",
"version": "bedrock/1.20.71",
"version": "bedrock/1.20.80",
"language": "bedrock/1.20.10"
}
}
}
}

0 comments on commit 7c216d8

Please sign in to comment.