Botcraft
1.21.5
Loading...
Searching...
No Matches
DataComponentTypePotionDurationScale.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 769
/* > 1.21.4 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
5
namespace
ProtocolCraft
6
{
7
namespace
Components
8
{
9
class
DataComponentTypePotionDurationScale
:
public
DataComponentType
10
{
11
SERIALIZED_FIELD
(Scale,
float
);
12
13
DECLARE_READ_WRITE_SERIALIZE
;
14
};
15
}
16
}
17
#endif
DataComponentType.hpp
ProtocolCraft::Components::DataComponentTypePotionDurationScale
Definition
DataComponentTypePotionDurationScale.hpp:10
ProtocolCraft::Components::DataComponentTypePotionDurationScale::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypePotionDurationScale.hpp:13
ProtocolCraft::Components::DataComponentTypePotionDurationScale::SERIALIZED_FIELD
SERIALIZED_FIELD(Scale, float)
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypePotionDurationScale.hpp
Generated by
1.9.8