Botcraft 26.3
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
6
7#include <memory>
8
9namespace ProtocolCraft
10{
12 {
13 None = -1,
14 Empty,
15 AnyFuel,
16#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
19#endif
20 Item,
22 Tag,
23#if PROTOCOL_VERSION > 774 /* > 1.21.11 */
25#endif
30 };
31
32 class SlotDisplayData;
33
43}
44#endif
static std::shared_ptr< SlotDisplayData > CreateSlotDisplayData(const SlotDisplayDataType type)
SERIALIZED_DYNAMIC_FIELD(SlotDisplay, Type, Data, SlotDisplayData, SlotDisplay::CreateSlotDisplayData, Internal::DiffType< SlotDisplayDataType, VarInt >)
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