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
4
5namespace ProtocolCraft
6{
7 namespace Components
8 {
9 class DataComponentTypeUnbreakable : public DataComponentType
10 {
11 SERIALIZED_FIELD(ShowInTooltip, bool);
12
14 };
15 }
16}
17#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)