Botcraft 1.21.4
Loading...
Searching...
No Matches
PositionMoveRotation.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
3
5
6#include <array>
7
8namespace ProtocolCraft
9{
11 {
12 SERIALIZED_FIELD(Position, std::array<double, 3>);
13 SERIALIZED_FIELD(DeltaMovement, std::array<double, 3>);
14 SERIALIZED_FIELD(YRot, float);
15 SERIALIZED_FIELD(XRot, float);
16
18 };
19} // ProtocolCraft
20#endif
SERIALIZED_FIELD(DeltaMovement, std::array< double, 3 >)
SERIALIZED_FIELD(Position, std::array< double, 3 >)