diff options
| author | mat <github@matdoes.dev> | 2022-04-20 16:28:31 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-04-20 16:28:39 +0000 |
| commit | 8bd97c6c96f2c3c1ef4edfc1ff9d59f9af664972 (patch) | |
| tree | d435eea3d11b59e1d93124b1293d1c50fc063792 /azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs | |
| parent | c5f10af09d1d2fee640b946da9ec5ca1bcd1e62d (diff) | |
| download | azalea-drasl-8bd97c6c96f2c3c1ef4edfc1ff9d59f9af664972.tar.xz | |
add player abilities packet
Diffstat (limited to 'azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs b/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs new file mode 100644 index 00000000..6136fff5 --- /dev/null +++ b/azalea-protocol/src/packets/game/clientbound_player_abilities_packet.rs @@ -0,0 +1,11 @@ +// i don't know the actual name of this packet, i couldn't find it in the source code + +use packet_macros::GamePacket; + +#[derive(Clone, Debug, GamePacket)] +pub struct ClientboundPlayerAbilitiesPacket { + pub flags: u8, + pub flying_speed: f32, + /// Used for the fov + pub walking_speed: f32, +} |
