9#if PROTOCOL_VERSION < 499
14#if PROTOCOL_VERSION > 578
15#if PROTOCOL_VERSION < 774
16 SetDataRemainingAngerTime(0);
21#if PROTOCOL_VERSION > 765
24#if PROTOCOL_VERSION > 769
31#if PROTOCOL_VERSION < 766
70#if PROTOCOL_VERSION < 499
75#if PROTOCOL_VERSION > 578
76#if PROTOCOL_VERSION < 774
77 output[
"metadata"][
"data_remaining_anger_time"] = GetDataRemainingAngerTime();
82#if PROTOCOL_VERSION > 765
85#if PROTOCOL_VERSION > 769
95#if PROTOCOL_VERSION < 499
112#if PROTOCOL_VERSION > 578
113#if PROTOCOL_VERSION < 774
114 int WolfEntity::GetDataRemainingAngerTime()
const
126#if PROTOCOL_VERSION > 765
133#if PROTOCOL_VERSION > 769
141#if PROTOCOL_VERSION < 499
158#if PROTOCOL_VERSION > 578
159#if PROTOCOL_VERSION < 774
160 void WolfEntity::SetDataRemainingAngerTime(
const int data_remaining_anger_time)
172#if PROTOCOL_VERSION > 765
179#if PROTOCOL_VERSION > 769
void SetMetadata(const int index, const std::any &value)
std::shared_mutex entity_mutex
std::vector< std::any > metadata
std::map< EntityAttribute::Type, EntityAttribute > attributes
void SetDataHealthId(const float data_health_id)
float GetDataHealthId() const
virtual ProtocolCraft::Json::Value Serialize() const override
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
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...
#define BOTCRAFT_ENTITY_METADATA_INDEX(name)