Botcraft 26.1.2
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#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
18#endif
19 Item,
21 Tag,
22#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
24#endif
29 };
30
31 class SlotDisplayData;
32
46}
47#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