Botcraft 1.21.4
Loading...
Searching...
No Matches
ServerboundUseItemPacket.hpp
Go to the documentation of this file.
1#pragma once
2
4
5namespace ProtocolCraft
6{
7 class ServerboundUseItemPacket : public BaseMessage<ServerboundUseItemPacket>
8 {
9 public:
10 static constexpr std::string_view packet_name = "Use Item";
11
13#if PROTOCOL_VERSION > 758 /* > 1.18.2 */
15#endif
16#if PROTOCOL_VERSION > 766 /* > 1.20.6 */
17 SERIALIZED_FIELD(YRot, float);
18 SERIALIZED_FIELD(XRot, float);
19#endif
20
22 };
23} //ProtocolCraft
static constexpr std::string_view packet_name