Botcraft 26.3
Loading...
Searching...
No Matches
DataComponentTypePotDecorations.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
4
5#if PROTOCOL_VERSION < 777 /* < 26.3 */
6#include <vector>
7#else
9#include <optional>
10#endif
11
12namespace ProtocolCraft
13{
14 namespace Components
15 {
17 {
18#if PROTOCOL_VERSION < 777 /* < 26.3 */
19 SERIALIZED_FIELD(Sides, std::vector<VarInt>);
20#else
21 SERIALIZED_FIELD(Back, std::optional<Slot>);
22 SERIALIZED_FIELD(Left, std::optional<Slot>);
23 SERIALIZED_FIELD(Right, std::optional<Slot>);
24 SERIALIZED_FIELD(Front, std::optional<Slot>);
25#endif
26
28 };
29 }
30}
31#endif
#define SERIALIZED_FIELD(Name,...)