Botcraft 1.21.4
Loading...
Searching...
No Matches
SlotDisplay.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 767 /* > 1.21.1 */
2#pragma once
3
5
6#include <memory>
7
8namespace ProtocolCraft
9{
11 {
12 None = -1,
13 Empty,
14 AnyFuel,
15 Item,
17 Tag,
22 };
23
24 class SlotDisplayData;
25
39}
40#endif
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Type, Internal::DiffType< SlotDisplaysDataType, VarInt >)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Data, std::shared_ptr< SlotDisplayData >)
SlotDisplay & SetType(const SlotDisplaysDataType type)
Just a simple type wrapper that will store with T1 and serialize as T2 (can be used for Enum/VarInt f...
Definition Templates.hpp:72