Botcraft 1.21.4
Loading...
Searching...
No Matches
MapDecoration.hpp
Go to the documentation of this file.
1#pragma once
2
4#if PROTOCOL_VERSION > 363 /* > 1.12.2 */
6#endif
7
8namespace ProtocolCraft
9{
11 {
12#if PROTOCOL_VERSION < 393 /* < 1.13 */
13 SERIALIZED_FIELD(RotAndType, char);
14#else
16#endif
19#if PROTOCOL_VERSION > 363 /* > 1.12.2 */
20 SERIALIZED_FIELD(Rot, char);
21 SERIALIZED_FIELD(DisplayName, std::optional<Chat>);
22#endif
23
25 };
26}
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(DisplayName, std::optional< Chat >)