1#if PROTOCOL_VERSION > 340
10#if PROTOCOL_VERSION > 767
11#if PROTOCOL_VERSION < 769
47#if PROTOCOL_VERSION > 767
72#if PROTOCOL_VERSION < 769
98#if PROTOCOL_VERSION < 769
100 if (type ==
"medium")
104 else if (type ==
"small")
127#if PROTOCOL_VERSION < 769
139#if PROTOCOL_VERSION < 768
148#if PROTOCOL_VERSION < 768
virtual ProtocolCraft::Json::Value Serialize() const override
std::shared_mutex entity_mutex
std::vector< std::any > metadata
virtual void OnMetadataChangedImpl(const int index)
double GetScaleImpl() const
virtual ProtocolCraft::Json::Value Serialize() const override
void OnMetadataChangedImpl(const int index) override
static constexpr int metadata_count
static constexpr int hierarchy_metadata_count
static EntityType GetClassType()
virtual double GetHeightImpl() const override
int GetDataTypeImpl() const
virtual double GetWidthImpl() const override
virtual std::string GetName() const override
static std::string GetClassName()
void SetDataType(const int data_type)
virtual EntityType GetType() const override
Main class, basically a JsonVariant with extra utility functions it doesn't inherit JsonVariant direc...
#define BOTCRAFT_ENTITY_METADATA_INDEX(name)