mirror of
https://github.com/mat-1/azalea.git
synced 2024-05-19 14:37:59 +00:00
1d80f531b7
* 23w51b * make recalculate_near_end_of_path public so other plugins can do .after(recalculate_near_end_of_path) * update to 24w03a i think * start implementing 24w13a * registries work (but a lot of packets are still broken) * fix recipes and commands packets * i love codecs :D i am not going insane :D mojang's java is very readable :D * item components are "implemented" meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow * update to 1.20.5-pre3 * fix all the broken packets and clippy (mojang please don't do an update like this again or i will murder someone) * 1.20.5-rc1 * fix failing tests * 1.20.5
16 lines
383 B
Rust
Executable file
16 lines
383 B
Rust
Executable file
use azalea_buf::McBuf;
|
|
use azalea_protocol_macros::ClientboundGamePacket;
|
|
use azalea_registry::MobEffect;
|
|
|
|
#[derive(Clone, Debug, McBuf, ClientboundGamePacket)]
|
|
pub struct ClientboundUpdateMobEffectPacket {
|
|
#[var]
|
|
pub entity_id: u32,
|
|
pub mob_effect: MobEffect,
|
|
#[var]
|
|
pub effect_amplifier: u32,
|
|
#[var]
|
|
pub effect_duration_ticks: u32,
|
|
pub flags: u8,
|
|
}
|