mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
clear titles packet
This commit is contained in:
parent
157ac22461
commit
b276978195
3 changed files with 10 additions and 0 deletions
|
@ -927,6 +927,7 @@ fn process_packet_events(ecs: &mut World) {
|
|||
ClientboundGamePacket::SetSubtitleText(_) => {}
|
||||
ClientboundGamePacket::SetTitleText(_) => {}
|
||||
ClientboundGamePacket::SetTitlesAnimation(_) => {}
|
||||
ClientboundGamePacket::ClearTitles(_) => {}
|
||||
ClientboundGamePacket::SoundEntity(_) => {}
|
||||
ClientboundGamePacket::StopSound(_) => {}
|
||||
ClientboundGamePacket::TabList(_) => {}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
use azalea_buf::McBuf;
|
||||
use azalea_protocol_macros::ClientboundGamePacket;
|
||||
|
||||
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
|
||||
pub struct ClientboundClearTitlesPacket {
|
||||
pub reset_times: bool,
|
||||
}
|
|
@ -12,6 +12,7 @@ pub mod clientbound_boss_event_packet;
|
|||
pub mod clientbound_bundle_packet;
|
||||
pub mod clientbound_change_difficulty_packet;
|
||||
pub mod clientbound_chunks_biomes_packet;
|
||||
pub mod clientbound_clear_titles_packet;
|
||||
pub mod clientbound_command_suggestions_packet;
|
||||
pub mod clientbound_commands_packet;
|
||||
pub mod clientbound_container_close_packet;
|
||||
|
@ -232,6 +233,7 @@ declare_state_packets!(
|
|||
0x0b: clientbound_boss_event_packet::ClientboundBossEventPacket,
|
||||
0x0c: clientbound_change_difficulty_packet::ClientboundChangeDifficultyPacket,
|
||||
0x0d: clientbound_chunks_biomes_packet::ClientboundChunksBiomesPacket,
|
||||
0x0e: clientbound_clear_titles_packet::ClientboundClearTitlesPacket,
|
||||
0x0f: clientbound_command_suggestions_packet::ClientboundCommandSuggestionsPacket,
|
||||
0x10: clientbound_commands_packet::ClientboundCommandsPacket,
|
||||
0x11: clientbound_container_close_packet::ClientboundContainerClosePacket,
|
||||
|
|
Loading…
Add table
Reference in a new issue