10#if PROTOCOL_VERSION < 766
16#if PROTOCOL_VERSION < 768
54#if PROTOCOL_VERSION < 766
55 output[
"metadata"][
"data_swag_id"] = GetDataSwagId();
68#if PROTOCOL_VERSION < 766
69 int LlamaEntity::GetDataSwagId()
const
86#if PROTOCOL_VERSION < 766
87 void LlamaEntity::SetDataSwagId(
const int data_swag_id)
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 EntityType GetClassType()
int GetDataVariantId() const
virtual std::string GetName() const override
static constexpr int metadata_count
void SetDataVariantId(const int data_variant_id)
static constexpr int hierarchy_metadata_count
void SetDataStrengthId(const int data_strength_id)
int GetDataStrengthId() const
virtual ProtocolCraft::Json::Value Serialize() const override
virtual EntityType GetType() const override
virtual double GetWidthImpl() const override
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)