Add ClientSettings_Filtering variant https://wiki.vg/index.php?title=Protocol&oldid=16918#Client_Settings
This commit is contained in:
parent
181821d968
commit
a5d849e150
|
@ -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 =,
|
||||
|
|
|
@ -13,7 +13,7 @@ protocol_packet_ids!(
|
|||
0x02 => SetDifficulty
|
||||
0x03 => ChatMessage
|
||||
0x04 => ClientStatus
|
||||
0x05 => ClientSettings
|
||||
0x05 => ClientSettings_Filtering
|
||||
0x06 => TabComplete
|
||||
0x07 => ConfirmTransactionServerbound
|
||||
0x08 => ClickWindowButton
|
||||
|
|
Loading…
Reference in New Issue