diff options
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs')
| -rwxr-xr-x | azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs b/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs deleted file mode 100755 index 19d4a715..00000000 --- a/azalea-protocol/src/packets/game/clientbound_update_attributes_packet.rs +++ /dev/null @@ -1,18 +0,0 @@ -use azalea_buf::McBuf; -use azalea_entity::attributes::AttributeModifier; -use azalea_protocol_macros::ClientboundGamePacket; -use azalea_registry::Attribute; - -#[derive(Clone, Debug, McBuf, ClientboundGamePacket)] -pub struct ClientboundUpdateAttributesPacket { - #[var] - pub entity_id: u32, - pub values: Vec<AttributeSnapshot>, -} - -#[derive(Clone, Debug, McBuf)] -pub struct AttributeSnapshot { - pub attribute: Attribute, - pub base: f64, - pub modifiers: Vec<AttributeModifier>, -} |
