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:
parent
ffbe7a3e42
commit
844697c04c
3 changed files with 4 additions and 10 deletions
|
@ -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,
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue