Botcraft 1.21.10
Loading...
Searching...
No Matches
ClientboundSetEntityMotionPacket.hpp
Go to the documentation of this file.
1#pragma once
2
4#if PROTOCOL_VERSION > 772 /* > 1.21.9 */
6#endif
7
8namespace ProtocolCraft
9{
10 class ClientboundSetEntityMotionPacket : public BasePacket<ClientboundSetEntityMotionPacket>
11 {
12 public:
13 static constexpr std::string_view packet_name = "Set Entity Motion";
14
16#if PROTOCOL_VERSION < 773 /* < 1.21.9 */
17 SERIALIZED_FIELD(XA, short);
18 SERIALIZED_FIELD(YA, short);
19 SERIALIZED_FIELD(ZA, short);
20#else
22#endif
23
25 };
26} //ProtocolCraft
#define SERIALIZED_FIELD(Name,...)