Botcraft
1.21.5
Loading...
Searching...
No Matches
DataComponentTypeUnbreakable.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
&& PROTOCOL_VERSION < 770
/* < 1.21.5 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
5
namespace
ProtocolCraft
6
{
7
namespace
Components
8
{
9
class
DataComponentTypeUnbreakable :
public
DataComponentType
10
{
11
SERIALIZED_FIELD
(ShowInTooltip,
bool
);
12
13
DECLARE_READ_WRITE_SERIALIZE
;
14
};
15
}
16
}
17
#endif
DECLARE_READ_WRITE_SERIALIZE
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
Definition
AutoSerializedMacros.hpp:123
SERIALIZED_FIELD
#define SERIALIZED_FIELD(Name,...)
Definition
AutoSerializedMacros.hpp:77
DataComponentType.hpp
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeUnbreakable.hpp
Generated by
1.9.8