1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

1.21.6 fixes

This commit is contained in:
mat 2025-06-18 08:24:34 +07:00
parent ffbe7a3e42
commit 844697c04c
3 changed files with 4 additions and 10 deletions

View file

@ -1,9 +1,10 @@
use azalea_buf::AzBuf;
use azalea_core::resource_location::ResourceLocation;
use azalea_protocol_macros::ServerboundConfigPacket;
use simdnbt::owned::Nbt;
#[derive(Clone, Debug, AzBuf, ServerboundConfigPacket)]
pub struct ServerboundCustomClickAction {
pub id: ResourceLocation,
pub payload: Option<String>,
pub payload: Nbt,
}

View file

@ -66,14 +66,6 @@ struct CompactRgbColor {
b: u8,
}
#[derive(AzBuf, Clone, Debug)]
pub struct WaypointIconFade {
pub near_dist: i32,
pub far_dist: i32,
pub near_alpha: u8,
pub far_alpha: u8,
}
#[derive(AzBuf, Clone, Debug)]
pub enum WaypointData {
Empty,

View file

@ -1,9 +1,10 @@
use azalea_buf::AzBuf;
use azalea_core::resource_location::ResourceLocation;
use azalea_protocol_macros::ServerboundGamePacket;
use simdnbt::owned::Nbt;
#[derive(Clone, Debug, AzBuf, ServerboundGamePacket)]
pub struct ServerboundCustomClickAction {
pub id: ResourceLocation,
pub payload: Option<String>,
pub payload: Nbt,
}