Botcraft
1.21.4
Loading...
Searching...
No Matches
DataComponentTypeItemAttributeModifiers.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
#include "
protocolCraft/Types/Components/Subtypes/ItemAttributeModifiersEntry.hpp
"
5
6
#include <vector>
7
8
namespace
ProtocolCraft
9
{
10
namespace
Components
11
{
12
class
DataComponentTypeItemAttributeModifiers
:
public
DataComponentType
13
{
14
SERIALIZED_FIELD
(Modifiers, std::vector<ItemAttributeModifiersEntry>);
15
SERIALIZED_FIELD
(ShowInTooltip,
bool
);
16
17
DECLARE_READ_WRITE_SERIALIZE
;
18
};
19
}
20
}
21
#endif
DataComponentType.hpp
ItemAttributeModifiersEntry.hpp
ProtocolCraft::Components::DataComponentTypeItemAttributeModifiers
Definition
DataComponentTypeItemAttributeModifiers.hpp:13
ProtocolCraft::Components::DataComponentTypeItemAttributeModifiers::SERIALIZED_FIELD
SERIALIZED_FIELD(ShowInTooltip, bool)
ProtocolCraft::Components::DataComponentTypeItemAttributeModifiers::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypeItemAttributeModifiers.hpp:17
ProtocolCraft::Components::DataComponentTypeItemAttributeModifiers::SERIALIZED_FIELD
SERIALIZED_FIELD(Modifiers, std::vector< ItemAttributeModifiersEntry >)
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeItemAttributeModifiers.hpp
Generated by
1.9.8