Botcraft
1.21.5
Loading...
Searching...
No Matches
DataComponentTypeFireworkExplosion.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
5
namespace
ProtocolCraft
6
{
7
namespace
Components
8
{
9
class
DataComponentTypeFireworkExplosion
:
public
DataComponentType
10
{
11
SERIALIZED_FIELD
(Shape,
int
);
12
SERIALIZED_FIELD
(Colors, std::vector<int>);
13
SERIALIZED_FIELD
(FadeColors, std::vector<int>);
14
SERIALIZED_FIELD
(HasTrail,
bool
);
15
SERIALIZED_FIELD
(HasTwinkle,
bool
);
16
17
DECLARE_READ_WRITE_SERIALIZE
;
18
};
19
}
20
}
21
#endif
DataComponentType.hpp
ProtocolCraft::Components::DataComponentTypeFireworkExplosion
Definition
DataComponentTypeFireworkExplosion.hpp:10
ProtocolCraft::Components::DataComponentTypeFireworkExplosion::SERIALIZED_FIELD
SERIALIZED_FIELD(HasTrail, bool)
ProtocolCraft::Components::DataComponentTypeFireworkExplosion::SERIALIZED_FIELD
SERIALIZED_FIELD(FadeColors, std::vector< int >)
ProtocolCraft::Components::DataComponentTypeFireworkExplosion::SERIALIZED_FIELD
SERIALIZED_FIELD(HasTwinkle, bool)
ProtocolCraft::Components::DataComponentTypeFireworkExplosion::SERIALIZED_FIELD
SERIALIZED_FIELD(Shape, int)
ProtocolCraft::Components::DataComponentTypeFireworkExplosion::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypeFireworkExplosion.hpp:17
ProtocolCraft::Components::DataComponentTypeFireworkExplosion::SERIALIZED_FIELD
SERIALIZED_FIELD(Colors, std::vector< int >)
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeFireworkExplosion.hpp
Generated by
1.9.8