5#if PROTOCOL_VERSION < 107
14 static constexpr std::string_view
packet_name =
"Use Item On";
16#if PROTOCOL_VERSION > 452
20#if PROTOCOL_VERSION < 107
26#if PROTOCOL_VERSION > 47 && PROTOCOL_VERSION < 477
29#if PROTOCOL_VERSION < 315
38#if PROTOCOL_VERSION > 452
41#if PROTOCOL_VERSION > 767
44#if PROTOCOL_VERSION > 758
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Sequence, VarInt)
SERIALIZED_FIELD(Location, NetworkPosition)
SERIALIZED_FIELD(WorldBorderHit, bool)
SERIALIZED_FIELD(Inside, bool)
DECLARE_READ_WRITE_SERIALIZE
SERIALIZED_FIELD(Direction, VarInt)
static constexpr std::string_view packet_name
SERIALIZED_FIELD(Hand, VarInt)
SERIALIZED_FIELD(CursorPositionZ, float)
SERIALIZED_FIELD(CursorPositionX, float)
SERIALIZED_FIELD(CursorPositionY, float)