11#if PROTOCOL_VERSION < 499
12 std::string_view(
"data_health_id"),
14 std::string_view(
"data_interested_id"),
15 std::string_view(
"data_collar_color"),
16#if PROTOCOL_VERSION > 578
17#if PROTOCOL_VERSION < 774
18 std::string_view(
"data_remaining_anger_time"),
20 std::string_view(
"data_anger_end_time"),
23#if PROTOCOL_VERSION > 765
24 std::string_view(
"data_variant_id"),
26#if PROTOCOL_VERSION > 769
27 std::string_view(
"data_sound_variant_id"),
39 virtual std::string
GetName()
const override;
50#if PROTOCOL_VERSION < 499
55#if PROTOCOL_VERSION > 578
56#if PROTOCOL_VERSION < 774
57 int GetDataRemainingAngerTime()
const;
62#if PROTOCOL_VERSION > 765
65#if PROTOCOL_VERSION > 769
69#if PROTOCOL_VERSION < 499
74#if PROTOCOL_VERSION > 578
75#if PROTOCOL_VERSION < 774
76 void SetDataRemainingAngerTime(
const int data_remaining_anger_time);
81#if PROTOCOL_VERSION > 765
84#if PROTOCOL_VERSION > 769
void SetDataHealthId(const float data_health_id)
float GetDataHealthId() const
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
static std::string GetClassName()
virtual double GetWidthImpl() const override
virtual EntityType GetType() const override
virtual ProtocolCraft::Json::Value Serialize() const override
void SetDataVariantId(const int data_variant_id)
static EntityType GetClassType()
virtual std::string GetName() const override
bool GetDataInterestedId() const
int GetDataSoundVariantId() const
int GetDataCollarColor() const
static constexpr int hierarchy_metadata_count
void SetDataCollarColor(const int data_collar_color)
int GetDataVariantId() const
virtual double GetHeightImpl() const override
static constexpr std::array metadata_names
void SetDataAngerEndTime(const long long int data_anger_end_time)
double GetAttributeAttackDamageValue() const
void SetDataInterestedId(const bool data_interested_id)
static constexpr int metadata_count
long long int GetDataAngerEndTime() const
void SetDataSoundVariantId(const int data_sound_variant_id)
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...