Botcraft 1.21.8
Loading...
Searching...
No Matches
ItemAttributeModifiersDisplay.hpp
Go to the documentation of this file.
1#if PROTOCOL_VERSION > 770 /* > 1.21.5 */
2#pragma once
4
5namespace ProtocolCraft
6{
7 namespace Components
8 {
10 {
11 None = -1,
12 Default,
13 Hidden,
16 };
17
18 class ItemAttributeModifiersDisplayData;
19
32 }
33}
34#endif
ItemAttributeModifiersDisplay & SetType(const ItemAttributeModifiersDisplayType type_)
Definition Display.cpp:18
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Type, Internal::DiffType< ItemAttributeModifiersDisplayType, VarInt >)
SERIALIZED_FIELD_WITHOUT_GETTER_SETTER(Data, std::shared_ptr< ItemAttributeModifiersDisplayData >)
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