11#if PROTOCOL_VERSION > 769
13#elif PROTOCOL_VERSION > 765
15#elif PROTOCOL_VERSION > 578
17#elif PROTOCOL_VERSION > 498
30 virtual std::string
GetName()
const override;
41 virtual void SetMetadataValue(
const int index,
const std::any& value)
override;
44#if PROTOCOL_VERSION < 499
49#if PROTOCOL_VERSION > 578
50#if PROTOCOL_VERSION < 774
51 int GetDataRemainingAngerTime()
const;
56#if PROTOCOL_VERSION > 765
59#if PROTOCOL_VERSION > 769
63#if PROTOCOL_VERSION < 499
68#if PROTOCOL_VERSION > 578
69#if PROTOCOL_VERSION < 774
70 void SetDataRemainingAngerTime(
const int data_remaining_anger_time);
75#if PROTOCOL_VERSION > 765
78#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
virtual void SetMetadataValue(const int index, const std::any &value) override
static constexpr int hierarchy_metadata_count
void SetDataCollarColor(const int data_collar_color)
int GetDataVariantId() const
virtual double GetHeightImpl() const override
void SetDataAngerEndTime(const long long int data_anger_end_time)
double GetAttributeAttackDamageValue() const
void SetDataInterestedId(const bool data_interested_id)
static const std::array< std::string, metadata_count > metadata_names
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...