Botcraft 26.2
Loading...
Searching...
No Matches
DataComponentTypeItemContainerContents.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
10namespace ProtocolCraft
11{
12 namespace Components
13 {
15 {
16#if PROTOCOL_VERSION < 775 /* < 26.1 */
17 SERIALIZED_FIELD(Items, std::vector<Slot>);
18#else
19 SERIALIZED_FIELD(Items, std::vector<ItemStackTemplate>);
20#endif
21
23 };
24 }
25}
26#endif
#define SERIALIZED_FIELD(Name,...)
SERIALIZED_FIELD(Items, std::vector< ItemStackTemplate >)