1#if PROTOCOL_VERSION > 754
18#if PROTOCOL_VERSION > 765
virtual ProtocolCraft::Json::Value Serialize() const override
static constexpr int hierarchy_metadata_count
static constexpr int metadata_count
static std::string GetClassName()
bool GetDataPlayingDead() const
int GetDataVariant() const
void SetFromBucket(const bool from_bucket)
bool GetFromBucket() const
virtual double GetWidthImpl() const override
void SetDataPlayingDead(const bool data_playing_dead)
double GetAttributeAttackDamageValue() const
virtual EntityType GetType() const override
void SetDataVariant(const int data_variant)
static EntityType GetClassType()
virtual double GetHeightImpl() const override
virtual ProtocolCraft::Json::Value Serialize() const override
virtual std::string GetName() const override
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
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
#define BOTCRAFT_ENTITY_METADATA_INDEX(name)