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