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