Botcraft 26.2
Loading...
Searching...
No Matches
DataComponentTypeBundleContents.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 765 /* > 1.20.4 */
2#pragma once
4#if PROTOCOL_VERSION < 775 /* < 26.1 */
6#else
8#endif
9
10#include <vector>
11
12namespace ProtocolCraft
13{
14 namespace Components
15 {
17 {
18#if PROTOCOL_VERSION < 775 /* < 26.1 */
19 SERIALIZED_FIELD(List, std::vector<Slot>);
20#else
21 SERIALIZED_FIELD(List, std::vector<ItemStackTemplate>);
22#endif
23
25 };
26 }
27}
28#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(List, std::vector< ItemStackTemplate >)