This commit is contained in:
ice_iix 2021-09-04 18:22:18 -07:00
parent 181821d968
commit a5d849e150
2 changed files with 10 additions and 1 deletions

View File

@ -89,6 +89,15 @@ state_packets!(
field action_id: u8=,
}
/// ClientSettings is sent by the client to update its current settings.
packet ClientSettings_Filtering {
field locale: String =,
field view_distance: u8 =,
field chat_mode: VarInt =,
field chat_colors: bool =,
field displayed_skin_parts: u8 =,
field main_hand: VarInt =,
field disable_text_filtering: bool =,
}
packet ClientSettings {
field locale: String =,
field view_distance: u8 =,

View File

@ -13,7 +13,7 @@ protocol_packet_ids!(
0x02 => SetDifficulty
0x03 => ChatMessage
0x04 => ClientStatus
0x05 => ClientSettings
0x05 => ClientSettings_Filtering
0x06 => TabComplete
0x07 => ConfirmTransactionServerbound
0x08 => ClickWindowButton