1#if PROTOCOL_VERSION > 758
10#if PROTOCOL_VERSION > 774
47#if PROTOCOL_VERSION > 774
virtual ProtocolCraft::Json::Value Serialize() const override
void SetMetadata(const int index, const std::any &value)
std::vector< std::any > metadata
std::map< EntityAttribute::Type, EntityAttribute > attributes
static std::string GetClassName()
static constexpr int hierarchy_metadata_count
bool GetAgeLocked() const
virtual double GetWidthImpl() const override
virtual std::string GetName() const override
static constexpr int metadata_count
void SetAgeLocked(const bool age_locked)
virtual ProtocolCraft::Json::Value Serialize() const override
virtual EntityType GetType() const override
static EntityType GetClassType()
virtual double GetHeightImpl() const override
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
#define BOTCRAFT_ENTITY_METADATA_INDEX(name)