diff options
| author | mat <github@matdoes.dev> | 2022-04-30 22:18:33 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-30 22:18:33 -0500 |
| commit | 3c3deb625db1b466b9cb3b123af73333b27b14cc (patch) | |
| tree | b33e43d28f0774b633a8a6bba936c54fe96c90f3 /azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs | |
| parent | 51201ffe657a3d20843c13be57ced740270cd384 (diff) | |
| download | azalea-drasl-3c3deb625db1b466b9cb3b123af73333b27b14cc.tar.xz | |
add entity -> add mob
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs b/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs deleted file mode 100644 index c5a5597f..00000000 --- a/azalea-protocol/src/packets/game/clientbound_add_entity_packet.rs +++ /dev/null @@ -1,23 +0,0 @@ -use crate::mc_buf::UnsizedByteArray; -use azalea_core::resource_location::ResourceLocation; -use packet_macros::GamePacket; -use uuid::Uuid; - -#[derive(Clone, Debug, GamePacket)] -pub struct ClientboundAddEntityPacket { - #[varint] - pub id: i32, - pub uuid: Uuid, - // TODO: have an entity type struct - #[varint] - pub entity_type: i32, - pub x: f64, - pub y: f64, - pub z: f64, - pub x_rot: i8, - pub y_rot: i8, - pub y_head_rot: i8, - pub x_vel: u16, - pub y_vel: u16, - pub z_vel: u16, -} |
