3#if PROTOCOL_VERSION > 578
12#if PROTOCOL_VERSION > 578
20 std::string_view(
"data_id_fireworks_item"),
21#if PROTOCOL_VERSION > 404
22 std::string_view(
"data_attached_to_target"),
23 std::string_view(
"data_shot_at_angle"),
25 std::string_view(
"data_attached_to_target"),
30#if PROTOCOL_VERSION > 578
41 virtual std::string
GetName()
const override;
53#if PROTOCOL_VERSION > 404
61#if PROTOCOL_VERSION > 404
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
static std::string GetClassName()
virtual double GetHeightImpl() const override
ProtocolCraft::Slot GetDataIdFireworksItem() const
virtual ProtocolCraft::Json::Value Serialize() const override
std::optional< int > GetDataAttachedToTarget() const
bool GetDataShotAtAngle() const
virtual double GetWidthImpl() const override
void SetDataShotAtAngle(const bool data_shot_at_angle)
static constexpr int metadata_count
virtual ~FireworkRocketEntity()
static EntityType GetClassType()
virtual std::string GetName() const override
void SetDataIdFireworksItem(const ProtocolCraft::Slot &data_id_fireworks_item)
virtual EntityType GetType() const override
void SetDataAttachedToTarget(const std::optional< int > &data_attached_to_target)
static constexpr std::array metadata_names
static constexpr int hierarchy_metadata_count
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...