1#if PROTOCOL_VERSION > 760
11#if PROTOCOL_VERSION < 762
20#if PROTOCOL_VERSION < 766
21 attributes.insert({ EntityAttribute::Type::HorseJumpStrength,
EntityAttribute(EntityAttribute::Type::HorseJumpStrength, 0.42) });
60 output[
"metadata"][
"dash"] =
GetDash();
virtual ProtocolCraft::Json::Value Serialize() const override
virtual EntityType GetType() const override
virtual double GetWidthImpl() const override
virtual double GetHeightImpl() const override
static std::string GetClassName()
virtual std::string GetName() const override
static constexpr int hierarchy_metadata_count
void SetDash(const bool dash)
long long int GetLastPoseChangeTick() const
void SetLastPoseChangeTick(const long long int last_pose_change_tick)
virtual ProtocolCraft::Json::Value Serialize() const override
static EntityType GetClassType()
static constexpr int metadata_count
void SetMetadata(const int index, const std::any &value)
std::vector< std::any > metadata
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)