1#if PROTOCOL_VERSION > 770
virtual ProtocolCraft::Json::Value Serialize() const override
void SetMetadata(const int index, const std::any &value)
std::shared_mutex entity_mutex
std::vector< std::any > metadata
static constexpr int hierarchy_metadata_count
double GetAttributeFlyingSpeedValue() const
static EntityType GetClassType()
virtual std::string GetName() const override
virtual ~HappyGhastEntity()
virtual ProtocolCraft::Json::Value Serialize() const override
static constexpr int metadata_count
void SetIsLeashHolder(const int is_leahs_holder)
virtual double GetWidthImpl() const override
bool GetStaysStill() const
bool GetIsLeashHolder() const
virtual EntityType GetType() const override
virtual double GetHeightImpl() const override
static std::string GetClassName()
void SetStaysStill(const int stays_still)
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)